48a1bd47b3
The point of this PR is to make it easier to implement scrollbars (#683). With this PR, the themes move from a body tag-based system (e.g. `body.theme-scarlet`) to a system where they simply declare global CSS and we use CSS specificity order to give us the right theme.
25 lines
734 B
SCSS
25 lines
734 B
SCSS
$main-theme-color: hotpink;
|
|
//$main-theme-color: hotpink;
|
|
$main-bg-color: #28252E;
|
|
$body-bg-color: darken($main-bg-color, 5%);
|
|
$anchor-color: $main-theme-color;
|
|
$main-text-color: #FFF;
|
|
$border-color: lighten($body-bg-color, 10%);
|
|
$secondary-text-color: white;
|
|
$toast-border: #fafafa;
|
|
$toast-bg: #333;
|
|
$focus-outline: lighten($main-theme-color, 50%);
|
|
$compose-background: lighten($main-theme-color, 52%);
|
|
|
|
@import "_base.scss";
|
|
@import "_dark.scss";
|
|
|
|
:root {
|
|
--nav-bg: #{lighten($body-bg-color, 10%)};
|
|
--nav-a-selected-bg: #{lighten($body-bg-color, 25%)};
|
|
--nav-a-bg-hover: #{lighten($body-bg-color, 25%)};
|
|
--nav-a-selected-bg-hover: #{lighten($body-bg-color, 40%)};
|
|
|
|
--button-primary-bg: #{darken($main-theme-color, 5%)};
|
|
}
|