Convert theme to css variables

* Opt-in for light and dark color schemes
* Convert scss variables in _light.scss to css variables
* Add _dark.scss for dark color scheme
* Remove unused, theme-related variables
This commit is contained in:
Tom Najdek 2023-10-16 13:40:59 +02:00 committed by Dan Stillman
parent 03d10f7de7
commit c7286194f8
18 changed files with 189 additions and 257 deletions

View file

@ -96,8 +96,8 @@
box-sizing: border-box;
&.drop {
color: $shade-0 !important;
background: $shade-5 !important;
color: var(--material-background) !important;
background: var(--fill-secondary) !important;
* {
pointer-events: none !important;
@ -108,7 +108,7 @@
position: absolute;
width: 20%;
height: 1px;
background-color: $shade-5;
background-color: var(--fill-secondary);
pointer-events: none;
}