-
-
Notifications
You must be signed in to change notification settings - Fork 298
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
Custom variant don't work anymore #305
Comments
Facing same issue |
Yes, I am also facing the same issue and had to use. Important to make it work. |
Please look at #297 |
I think we are talking about two different things, I found that code in the documentation and it was working before version 1.0.0. Now it doesn't work anymore so I think there is a regression/bug. In this commit you can see that "!important" was added in the default colours: |
I agree with @joepsyko. If I go the documentation Any specific reason for marking this important ?
|
I have tested locally, but reverting https://github.com/iamhosseindhv/notistack/pull/297/files#diff-4ac32a78649ca5bdd8e0ba38b7006a1e and removing Happy to quickly publish a patch if anyone investigates and comes up with a PR. But for now overriding using |
However, I'm facing the same issue where my new styles are not taking effect due to the !important flag in the snackbarItem styles:
you can see an example here: |
This is regression and can be fixed by adding |
Could it be added to the documentation ? |
As of |
The following code was working before version 1.0.0.
To make it work I have to add "!important" after the colour property:
Is this a bug?
The text was updated successfully, but these errors were encountered: