The scrollbar module changes the default browser scrollbar style.
Module | github.com/hbstack/scrollbar |
---|---|
Repository | ⭐ Please consider giving a star if your like it. |
Stars | |
Version | |
Used by | |
Requirements | |
License | |
Usage | See how to use modules. |
Parameter | Type | Default | Description |
---|---|---|---|
height | string | 12px | The height of scrollbar. |
width | string | 12px | The width of scrollbar. |
track_bg | string | #f8f9fa | The background color of track. |
thumb_bg | string | #909294 | The background color of thumb. |
corner_bg | string | #909294 | The background color of corner. |
hugo.toml
1[params]
2 [params.hb]
3 [params.hb.scrollbar]
4 corner_bg = '#909294'
5 height = '12px'
6 thumb_bg = '#909294'
7 track_bg = '#f8f9fa'
8 width = '12px'
hugo.yaml
1params:
2 hb:
3 scrollbar:
4 corner_bg: '#909294'
5 height: 12px
6 thumb_bg: '#909294'
7 track_bg: '#f8f9fa'
8 width: 12px
hugo.json
1{
2 "params": {
3 "hb": {
4 "scrollbar": {
5 "corner_bg": "#909294",
6 "height": "12px",
7 "thumb_bg": "#909294",
8 "track_bg": "#f8f9fa",
9 "width": "12px"
10 }
11 }
12 }
13}