
rules.scsslint.ColorKeyword.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-web-frontend-scss Show documentation
Show all versions of sonar-web-frontend-scss Show documentation
Consume reports generated by scsslint for code quality. Also consume reports for code duplication (either simian or cpd). The information generated by reports are added in Sonar
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.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy