mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 09:04:01 +08:00
c937afc75e
A first step to adding automatic dark mode color scheme switching. Adds a new SCSS file at `color_definitions.scss` that serves to output all SCSS color variables as CSS custom properties. And replaces all SCSS color variables with the new CSS custom properties throughout the stylesheets. This is an alpha feature at this point, can only be enabled via console using the `default_dark_mode_color_scheme_id` site setting.
12 lines
238 B
SCSS
12 lines
238 B
SCSS
.d-icon.d-icon-d-regular,
|
|
.d-icon.d-icon-d-muted,
|
|
.d-icon.d-icon-d-watching-first,
|
|
.d-icon.d-icon-d-watching-first-post {
|
|
color: var(--primary-high);
|
|
}
|
|
|
|
.d-icon.d-icon-d-tracking,
|
|
.d-icon.d-icon-d-watching {
|
|
color: var(--tertiary);
|
|
}
|