atom / language-css

CSS package for Atom

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for custom properties

colinmeinke opened this issue · comments

As a syntax theme author I would love support for CSS custom properties which allows the following syntax in CSS:

:root {
  --bg-color: rgb( 255, 255, 255 );
}

body {
  background-color: var( --bg-color );
}

It would be great to get the variable class for --bg-color so I can style consistently between CSS, Sass and Less.

Fixed by #99.
Thanks for clearing out the issue list @Alhadis.

I'd say #51 can be closed too, because with the exception of nested selectors, there's seriously nothing else to be done.