forked from mirrors/bookwyrm
Fixes scrollbar colors in dark mode
This commit is contained in:
parent
0666a2d02f
commit
23ff58a62b
3 changed files with 16 additions and 0 deletions
|
@ -36,6 +36,18 @@ body {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
width: 12px;
|
||||||
|
height: 12px;
|
||||||
|
}
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
background: $scrollbar-thumb;
|
||||||
|
border-radius: 0.5em;
|
||||||
|
}
|
||||||
|
::-webkit-scrollbar-track {
|
||||||
|
background: $scrollbar-track;
|
||||||
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
border: none;
|
border: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -28,6 +28,8 @@ $background-body: rgb(24, 27, 28);
|
||||||
$background-secondary: rgb(28, 30, 32);
|
$background-secondary: rgb(28, 30, 32);
|
||||||
$background-tertiary: rgb(32, 34, 36);
|
$background-tertiary: rgb(32, 34, 36);
|
||||||
$modal-background-background-color: rgba($black, 0.8);
|
$modal-background-background-color: rgba($black, 0.8);
|
||||||
|
$scrollbar-track: $background-secondary;
|
||||||
|
$scrollbar-thumb: $light;
|
||||||
|
|
||||||
/* highlight colors */
|
/* highlight colors */
|
||||||
$primary-highlight: $primary;
|
$primary-highlight: $primary;
|
||||||
|
|
|
@ -19,6 +19,8 @@ $scheme-main: $white-bis;
|
||||||
$background-body: $white;
|
$background-body: $white;
|
||||||
$background-secondary: $white-ter;
|
$background-secondary: $white-ter;
|
||||||
$background-tertiary: $white-bis;
|
$background-tertiary: $white-bis;
|
||||||
|
$scrollbar-track: $background-secondary;
|
||||||
|
$scrollbar-thumb: $grey-lighter;
|
||||||
|
|
||||||
/* highlight colors */
|
/* highlight colors */
|
||||||
$primary-highlight: $primary-light;
|
$primary-highlight: $primary-light;
|
||||||
|
|
Loading…
Reference in a new issue