sveetch / django-palette

A Django+Vue.js app to build a palette with named color
4 stars 0 forks source link

Color name should be quoted in Sass outputs #9

Open sveetch opened 4 years ago

sveetch commented 4 years ago

As title say, every color name should be quoted in maps from Sass outputs since a name with - can cause trouble with Sass evaluation.

sveetch commented 4 years ago

This is in fact more critical since some implementation like dart-sass will raise a warning for EVERY usage of interpolation on color variable from a map where keys are unquoted.