mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 15:53:45 +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.
26 lines
373 B
SCSS
26 lines
373 B
SCSS
.lightbox .meta,
|
|
.lightbox:hover .meta {
|
|
opacity: 0.7;
|
|
transition: none;
|
|
}
|
|
|
|
.meta {
|
|
align-items: center;
|
|
background: var(--secondary);
|
|
color: var(--primary-high);
|
|
height: 25px;
|
|
width: 25px;
|
|
bottom: 0;
|
|
right: 0;
|
|
|
|
.filename,
|
|
.informations,
|
|
.d-icon-far-image {
|
|
display: none;
|
|
}
|
|
|
|
.d-icon-discourse-expand {
|
|
color: var(--primary-high);
|
|
}
|
|
}
|