Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

styles not getting applied for hover state #74

Closed
sunel-pyt opened this issue May 29, 2022 · 1 comment
Closed

styles not getting applied for hover state #74

sunel-pyt opened this issue May 29, 2022 · 1 comment

Comments

@sunel-pyt
Copy link

sunel-pyt commented May 29, 2022

Describe the bug

<Button theme="dark" hoverStyle={{ backgroundColor: '$green04' }}>Plain</Button>

adding hover style to the button is not getting applied only below if getting applied

background-color: var(--backgroundHover) !important;

To Reproduce
add custom color and add it to the hover style

Environment (please complete the following information):

  • OS: Mac
  • Browser chrome
  • Version latest
@sunel-pyt sunel-pyt changed the title styles not getting applied due to !important getting applied styles not getting applied for hover state May 30, 2022
@natew
Copy link
Member

natew commented Jun 2, 2022

Thanks, good catch this reverted two weeks ago in the big atomic CSS upgrade. Fixed in beta 46 (622a9a2).

@natew natew closed this as completed Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants