abe33 / atom-pigments

An Atom package to display colors in project and files.
MIT License
524 stars 68 forks source link

CSS variables not being evaluated/highlighting #462

Open cameralibre opened 3 years ago

cameralibre commented 3 years ago

I use Pigments in SVG files, and while the colors are highlighted in CSS variable declarations, they are not highlighted when the variable is used: svg

I checked to see if it was just a problem with inline properties, or just SVG, but it also occurs in HTML: html

When I run Pigments: Reload on an open project I get the following:

Found:

90 path(s)
0 variables(s) including 0 color(s)

(there are a whole lot of color variables in this project)

From having a look through the issues, it seems that this is working for most other people - is there a setting that I should check on? I think I still have mostly the defaults though.


Pigments version: 0.40.6 Atom version: 1.53.0 OS: elementary OS 5.17 (Built on Ubuntu 18.04.4 LTS)

cameralibre commented 3 years ago

oh, I just found an existing issue which this is a duplicate of: #283 It was closed in 2018, assumed fixed.