Skip to content

Design System Audit: Audit for hardcoded colors #2114

@Aveline-art

Description

@Aveline-art

Dependency

Overview

We want to stop using hard-coded colors, and instead, use variables so future changes to colors in our color palette will be easier to implement on our website.

Action Items

  • Check our entire code base for hard-coded colors (as opposed to a color variable).
    • Check for all of the color types listed in the Resource section below.
    • If a color is hard-coded*, and is not currently a variable (see files below), add a comment on this issue noting:
      • its location, including
        • file
        • code snippets
      • the type of color (reds, oranges, blacks, etc)
      • suggested color variable name
    • Else:
      • change the hard-coded color to a variable instead

Resources/Instructions

*Hard-coded colors can be one of the following color types:

  • HTML color codes
  • Hex color codes
  • RGB
  • HSL values
  • HTML color names

Metadata

Metadata

Assignees

Labels

Complexity: SmallTake this type of issues after the successful merge of your second good first issueFeature: Refactor CSSPage is working fine - CSS needs changes to become consistent with other pagesrole: front endTasks for front end developerssize: 1ptCan be done in 4-6 hours

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions