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

css variables are highlighted incorrectly #44

Open
arctan2 opened this issue Aug 9, 2023 · 1 comment
Open

css variables are highlighted incorrectly #44

arctan2 opened this issue Aug 9, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@arctan2
Copy link

arctan2 commented Aug 9, 2023

The issue is that the local variables are not being highlighted properly.

And another weird thing is that the named colors are given low priority for some reason. Like in above picture I have set --bg: white but the vars are blue. In the below picture --bg: rgb(255, 255, 255) is given more priority than white

Please fix this issue

@brenoprata10
Copy link
Owner

This component does not know what is CSS. Everything is handled by lua patterns(lua regex), therefore it won't support 100% of the cases. I will see what i can do to at least make overriding variables supported. If i have time to it hahahah :p

@brenoprata10 brenoprata10 added the bug Something isn't working label Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants