We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
!important
When I include the !important declaration in a property value, it gets removed during the processing. Below is the CSS where this issue occurs:
section { background: light-dark(white, black) !important; }
will be processed to:
@media (prefers-color-scheme:dark) { :where(html:not(.is-light)) section { background: black } } :where(html.is-dark) section { background: black } @media (prefers-color-scheme:light) { :where(html:not(.is-dark)) section { background: white } } :where(html.is-light) section { background: white }
I believe the !important declaration should be preserved after transformation to ensure the intended styles remain prioritized.
The text was updated successfully, but these errors were encountered:
Sure. Can you send PR? I am busy on another project right now.
Sorry, something went wrong.
OK. I will give it a try when I have some free time.
Successfully merging a pull request may close this issue.
When I include the
!important
declaration in a property value, it gets removed during the processing. Below is the CSS where this issue occurs:will be processed to:
I believe the
!important
declaration should be preserved after transformation to ensure the intended styles remain prioritized.The text was updated successfully, but these errors were encountered: