added multiple theme selector, compltely removed dark mode checkbox in settings
This commit is contained in:
@@ -8,16 +8,9 @@
|
||||
html {
|
||||
height: 100vh;
|
||||
|
||||
--main-background: #ffffff;
|
||||
--secondary-background: #eeeeee;
|
||||
--main-text: #333333;
|
||||
--main-text-inverted: #eeeeee;
|
||||
--main-scroll: #555;
|
||||
--panels-background: #222324;
|
||||
--panels-text: #ffffff;
|
||||
--panels-scroll: #2a2c2c;
|
||||
--accent-color: #0a84ff;
|
||||
--accent-text: #ffffff;
|
||||
--tag-background: #0062c4;
|
||||
--tag-text: #ffffff;
|
||||
--toast-background: #000000dd;
|
||||
@@ -28,6 +21,16 @@ html {
|
||||
--explicit-separator: 0.3125em;
|
||||
}
|
||||
|
||||
html[data-theme='light'] {
|
||||
--main-background: #ffffff;
|
||||
--secondary-background: #eeeeee;
|
||||
--main-text: #333333;
|
||||
--main-text-inverted: #eeeeee;
|
||||
--panels-background: #222324;
|
||||
--panels-text: #ffffff;
|
||||
--accent-text: #ffffff;
|
||||
}
|
||||
|
||||
html[data-theme='dark'] {
|
||||
--main-background: #141414;
|
||||
--secondary-background: #242424;
|
||||
|
||||
@@ -47,11 +47,20 @@
|
||||
padding: 9px;
|
||||
}
|
||||
|
||||
#sidebar .side_icon::selection {
|
||||
background: none;
|
||||
}
|
||||
|
||||
.side_icon--theme {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
#sidebar .main_tablinks.active .side_icon {
|
||||
color: var(--accent-color);
|
||||
}
|
||||
|
||||
/* Theme selector */
|
||||
|
||||
#theme_selector {
|
||||
margin-top: 20px;
|
||||
display: flex;
|
||||
@@ -74,27 +83,27 @@
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
#theme_togglers .theme_toggler {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
.theme_toggler {
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
border-radius: 1000px;
|
||||
border: 1px solid var(--accent-color);
|
||||
border: 1px solid var(--separator);
|
||||
cursor: pointer;
|
||||
transition: border 200ms ease-in-out;
|
||||
}
|
||||
|
||||
#theme_togglers .theme_toggler.active {
|
||||
.theme_toggler--active {
|
||||
border-width: 3px;
|
||||
}
|
||||
|
||||
#theme_togglers .theme_toggler#light {
|
||||
.theme_toggler[data-theme-variant='light'] {
|
||||
background: white;
|
||||
}
|
||||
|
||||
#theme_togglers .theme_toggler#dark {
|
||||
.theme_toggler[data-theme-variant='dark'] {
|
||||
background: #141414;
|
||||
}
|
||||
|
||||
#sidebar .theme_selector_icon {
|
||||
transform: rotate(45deg);
|
||||
.theme_toggler[data-theme-variant='purple'] {
|
||||
background: #460ead;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user