-
-
Notifications
You must be signed in to change notification settings - Fork 32
Description
Description
The support for PackageDev themes and color schemes is great - it's what I most often use this plugin for. Would it be possible to add previews for the simple "var(some_color_variable)" syntax?
For example, in a color scheme, I define a variable and then use it for a global:
{
"variables": {
"blue": "#0042FF"
},
"globals": {
"selection": "var(blue)"
}
}The color preview shows up next to the #0042FF as it should, but I would like that same preview to show up next to var(blue). I don't use any of the color() mod function options, but I imagine those that do would probably like to see previews of those, too (if possible, given they're implemented within Sublime and not exposed via the API, that I know of). However, even if you can't do that or it would take a long time, I should think it would be fairly straightforward to highlight var(). Unless the variables themselves are made using color()...