parser-lib icon indicating copy to clipboard operation
parser-lib copied to clipboard

Add support for CSS variables

Open medikoo opened this issue 10 years ago • 9 comments

http://www.w3.org/TR/css-variables/

In current version parser doesn't tolerate it.

I need it on my side, and currently I work with customized version of parser that provides that.

I can help implement that feature, but first I would like to confirm wether you're open for that.

Let me know

medikoo avatar Jul 22 '14 10:07 medikoo

+1

:root {
  --vr-Color-documentBackground: var(--vr-Color-lightbluegrey);
}

This module cant parse both declaration name & value :(

MoOx avatar Aug 13 '14 14:08 MoOx

Any updates on this?

optikfluffel avatar Sep 10 '16 16:09 optikfluffel

Hi there, any chance for this one?

gabriellecrawford avatar Oct 14 '16 23:10 gabriellecrawford

Any updates on this?

ajaxorg/ace#3259

xylix avatar Jun 13 '17 09:06 xylix

Still not supporting this css feature?

esturrock avatar Aug 07 '20 19:08 esturrock

@medikoo Can you share the customized version of the parser that provides this functionality?

esturrock avatar Aug 07 '20 19:08 esturrock

@esturrock https://github.com/medikoo/csslint-next

medikoo avatar Aug 17 '20 07:08 medikoo

@medikoo Thank you for sharing! We would like to avoid replacing CSSLint if we can. The issue has also had us start exploring https://github.com/stylelint/stylelint as well, since it seems to be used and maintained a bit more. Either way, this is useful, thank you.

esturrock avatar Aug 17 '20 16:08 esturrock

Well.. its been ten years, still no CSS variables. Has there been any update on this issue?

misterjacket avatar May 07 '24 06:05 misterjacket