Skip to content

Add linter rules to prohibit hardcoded CSS colors #11224

@williamjallen

Description

@williamjallen

One of the most common review comments I have for CSS files is a reminder that colors from colors.css are preferred over hardcoded colors. A combination of the color-named and color-no-hex Stylelint rules will allow this task to be automated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions