File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ /* Works on Firefox */
2
+ html {
3
+ scrollbar-color : $scroll-bar-thumb rgba (238 239 242 / 50% );
4
+ scrollbar-width : thin ;
5
+ }
6
+
7
+ /* Works on Chrome, Edge, and Safari */
8
+ body ::-webkit-scrollbar {
9
+ width : 3px ;
10
+ background : $scroll-bar ;
11
+ border-radius : 5px ;
12
+ opacity : 0.5 ;
13
+ }
14
+
15
+ body ::-webkit-scrollbar-thumb {
16
+ background : $scroll-bar-thumb ;
17
+ border-radius : 5px ;
18
+ }
Original file line number Diff line number Diff line change 3
3
@import " ./scaffolding.scss" ;
4
4
@import " ./typography.scss" ;
5
5
@import " ./animations.scss" ;
6
+ @import " ./scroll-bar.scss" ;
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ $green: #00ca99;
17
17
$background-color-grey : #f6f7f9 ;
18
18
$body-background : #f6f7f9 ;
19
19
$header-background : #000955 ;
20
+ $scroll-bar : #e6e8eb ;
21
+ $scroll-bar-thumb : #3563ad ;
20
22
$shadow-light : 0 4px 8px -2px rgb (0 85 255 / 16% );
21
23
$shadow : 0 2px 4px -2px rgb (0 44 132 / 6% );
22
24
$font-family : " Plus Jakarta Sans" , sans-serif ;
You can’t perform that action at this time.
0 commit comments