rules.scsslint.ColorKeyword.html Maven / Gradle / Ivy
Details
Prefer hexadecimal color codes over color keywords.
Bad: color keyword
color: green;
Good: hexadecimal color
color: #0f0;
Color keywords look like variables but are not variables. See the
ColorVariable linter for more justification on why you should
always refer to colors via variables.