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

Fix CSS duplicate definitions #4874

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

raviks789
Copy link
Contributor

Use Call::fromCall() in Visitor::visitCall() irrespective of CSS calling function name (var, fade etc.).

And in Call::compile() in case we have CSS var() function calls and the keyword value of the function call prefixed by
-- and color property name prefixed by @ are same, then avoid generation of duplicate CSS definitions.

fixes #4847

In `Call::compile()` in case we have CSS var() function calls and the keyword value of the function call prefixed by `--`
and color property name prefixed by `@` are same, then avoid generation of duplicate CSS definitions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Duplicated CSS variable definitions
1 participant