Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Doesn't accept CSS variables #80

Closed
hugopeek opened this issue Jun 17, 2023 · 0 comments · Fixed by #81
Closed

Doesn't accept CSS variables #80

hugopeek opened this issue Jun 17, 2023 · 0 comments · Fixed by #81
Labels

Comments

@hugopeek
Copy link
Contributor

Describe the bug

The linter doesn't seem to accept CSS variables.

To Reproduce

Introduce a CSS variable:

:root {
  --border-radius: 3px;
}

This throws an error:

Unknown CSS property "--border-radius" (line: 1980, char: 20)

Expected behavior

CSS variables are valid CSS.

https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants