Skip to content

Commit 50ee154

Browse files
Updated the light theme to have a lighter scrollbar (#590)
1 parent ffb90bb commit 50ee154

File tree

7 files changed

+18
-8
lines changed

7 files changed

+18
-8
lines changed

src/theme/book.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
344344
background: #fafafa;
345345
}
346346
.light .sidebar::-webkit-scrollbar-thumb {
347-
background: #364149;
347+
background: #ccc;
348348
}
349349
.light .chapter li {
350350
color: #aaa;
@@ -474,7 +474,7 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
474474
background: #fff;
475475
}
476476
.light ::-webkit-scrollbar-thumb {
477-
background: #333;
477+
background: #ccc;
478478
}
479479
.coal {
480480
color: #98a3ad;
@@ -640,7 +640,7 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
640640
background: #141617;
641641
}
642642
.coal ::-webkit-scrollbar-thumb {
643-
background: #98a3ad;
643+
background: #a1adb8;
644644
}
645645
.navy {
646646
color: #bcbdd0;
@@ -806,7 +806,7 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
806806
background: #161923;
807807
}
808808
.navy ::-webkit-scrollbar-thumb {
809-
background: #bcbdd0;
809+
background: #c8c9db;
810810
}
811811
.rust {
812812
color: #262625;
@@ -972,7 +972,7 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
972972
background: #e1e1db;
973973
}
974974
.rust ::-webkit-scrollbar-thumb {
975-
background: #262625;
975+
background: #c8c9db;
976976
}
977977
.ayu {
978978
color: #c5c5c5;
@@ -1138,7 +1138,7 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
11381138
background: #0f1419;
11391139
}
11401140
.ayu ::-webkit-scrollbar-thumb {
1141-
background: #c5c5c5;
1141+
background: #c8c9db;
11421142
}
11431143
@media only print {
11441144
#sidebar,

src/theme/stylus/themes/ayu.styl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ $sidebar-non-existant = #5c6773
99
$sidebar-active = #ffb454
1010
$sidebar-spacer = #2d334f
1111

12+
$scrollbar = $sidebar-fg
13+
1214
$icons = #737480
1315
$icons-hover = #b7b9cc
1416

src/theme/stylus/themes/base.styl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
}
3939

4040
&::-webkit-scrollbar-thumb {
41-
background: $sidebar-fg;
41+
background: $scrollbar;
4242
}
4343
}
4444

@@ -186,6 +186,6 @@
186186
}
187187

188188
::-webkit-scrollbar-thumb {
189-
background: $fg;
189+
background: $scrollbar;
190190
}
191191
}

src/theme/stylus/themes/coal.styl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ $sidebar-non-existant = #505254
99
$sidebar-active = #3473ad
1010
$sidebar-spacer = #393939
1111

12+
$scrollbar = $sidebar-fg
13+
1214
$icons = #43484d
1315
$icons-hover = #b3c0cc
1416

src/theme/stylus/themes/light.styl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ $sidebar-non-existant = #aaaaaa
99
$sidebar-active = #008cff
1010
$sidebar-spacer = #f4f4f4
1111

12+
$scrollbar = #cccccc
13+
1214
$icons = #cccccc
1315
$icons-hover = #333333
1416

src/theme/stylus/themes/navy.styl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ $sidebar-non-existant = #505274
99
$sidebar-active = #2b79a2
1010
$sidebar-spacer = #2d334f
1111

12+
$scrollbar = $sidebar-fg
13+
1214
$icons = #737480
1315
$icons-hover = #b7b9cc
1416

src/theme/stylus/themes/rust.styl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ $sidebar-non-existant = #505254
99
$sidebar-active = #e69f67
1010
$sidebar-spacer = #45373a
1111

12+
$scrollbar = $sidebar-fg
13+
1214
$icons = #737480
1315
$icons-hover = #262625
1416

0 commit comments

Comments
 (0)