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

To support css var #257

Open
letitfly opened this issue Jul 3, 2021 · 1 comment
Open

To support css var #257

letitfly opened this issue Jul 3, 2021 · 1 comment

Comments

@letitfly
Copy link

letitfly commented Jul 3, 2021

color: var(--color);

causes error:
ERROR CSSVariable: Missing token for production ident: ('CHAR', '-', 155, 12)
ERROR CSSVariable: Missing token for production end FUNC ")"
ERROR PropertyValue: No match: ('CHAR', ')', 155, 19)
ERROR PropertyValue: Unknown syntax or no value: var(--color)
ERROR CSSStyleDeclaration: Syntax Error in Property: color: var(--color)

css var may not be useful in a email, but I am using it as a general css inline tool. thanks

@peterbe
Copy link
Owner

peterbe commented Jul 6, 2021

I suspect that's a limitation of cssutils which isn't getting much love and attention these days.

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

2 participants