Hover state color to be changed
Closed this issue · 5 comments
Please verify the version of auro-button you have installed
Please describe the bug
- Go to https://auro.alaskaair.com/components/auro/button#:~:text=element%20be%20used.-,Default,-Example
- Hover over the secondary button
- See transparent background
Reproducing the error on the docsite
This issue is reproducible on the Auro docsite
Expected behavior
The hover color should be a combination of a white background (auro-color-background-lightest) and the hover color (auro-color-ui-bkg-hover-on-light).
When hovering over the button, it should not become transparent.
What browsers are you seeing the problem on?
No response
Additional context
This issue is related to the back-to-top component.
Exit criteria
No response
We'll need to finalize the background color for each hover state for each secondary button.
for future reference: https://www.geeksforgeeks.org/css-combine-background-image-with-gradient-overlay/
for future reference: https://www.geeksforgeeks.org/css-combine-background-image-with-gradient-overlay/
This will not work because linear-gradient does not combine two colors into one solid color, but rather transitions from one color to another in a certain direction.
Moving this ticket as blocked, as it is a part of a PR that has another blocked ticket: