Skip to content

CSS variables not being evaluated/highlighting #462

@cameralibre

Description

@cameralibre

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)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions