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

Custom properties not working with some elements #61

Open
guilhermeocosta opened this issue Jul 9, 2020 · 4 comments
Open

Custom properties not working with some elements #61

guilhermeocosta opened this issue Jul 9, 2020 · 4 comments

Comments

@guilhermeocosta
Copy link

guilhermeocosta commented Jul 9, 2020

Description
After updating from v3 to v4, some elements is not receiving proper styles from the custom properties, but looking at the Developer Tools, the two elements of the example are receiving the values from custom properties in the same way, but for some reason it's not rendered properly.

Example 1: The big blue button "Próximo" is receiving
Screen Shot 2020-07-09 at 6 20 52 PM

Example 2: The tab should have a border-bottom in the same blue color as the button (I've outlined the element to be easier to find it in the UI)

Screen Shot 2020-07-09 at 6 21 40 PM

Version
4.1.0

Any guesses on this? What should I do to test it better?

Thanks in advance

@nuxodin
Copy link
Owner

nuxodin commented Jul 9, 2020

Thanks for your feedback.
Can it be that it always concerns !important?

@guilhermeocosta
Copy link
Author

I do use postcss-important because of the nature of this specific application. I will try to disable it to test, thanks for the quick answer.

@guilhermeocosta
Copy link
Author

Yes, the !important was messing with the specificity. Is there a way to the applied values respects the !important flag? It's stripping it away in the execution

@coliff
Copy link
Collaborator

coliff commented Feb 8, 2021

heya @guilhermeocosta can you please test the proposed fix in #63 (files)

If you could post back here with any feedback on that it'd be appreciated!

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

3 participants