Skip to content

centralize (some) CSS colors to the .theme-{light,dark} definitions

Warren Gifford requested to merge sqs/central-theme-css into main

Created by: sqs

We have 2 color themes: light and dark. To support additional themes, we need a central place for each theme's colors to be defined. This PR is a step in that direction.

Right now, most theme colors are defined in colors.scss. But not all. For example, form colors were defined in forms.scss. With this PR, they are now defined in colors.scss for each color theme.

This PR does not centralize all color definitions, but it does reach many of them.

There is no (intended) user-facing change from this PR (i.e., no UI colors will actually change; this is just a code refactor). (I will confirm that on Percy.)

Merge request reports

Loading