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

Variables don't use proper standard #39

Open
evaneliasyoung opened this issue Dec 25, 2017 · 1 comment
Open

Variables don't use proper standard #39

evaneliasyoung opened this issue Dec 25, 2017 · 1 comment

Comments

@evaneliasyoung
Copy link

Correct Syntax (CSSComb Complains)

:root {
   --doc-main-bg: #003366;  /* Complaint Here */
}
body {
   background-color: var(doc-main-bg);
}

Years-Old Syntax (CSSComb Approves, but doesn't work anymore)

:root {
   var-doc-main-bg: #003366;  /* All Good (Not Really) */
}
body {
   background-color: var(doc-main-bg);
}
@jchouse
Copy link
Owner

jchouse commented Jan 30, 2019

Core bug. Will be fixed csscomb/csscomb.js#595

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