Repository navigation
Commit 5cf3e89
authored
fix: improve root color. closes: #4294
- apply the same background in both rootcolor and rootscrollgutter
- removed fallback to --color-base-100 in rootcolor because it is set in the same included file
- if rootcolor is not included then --root-bg is not set so by default background will be transparent, and when we have scroll gutter the scrollbar will be gray
- if rootscrollgutter is not included then we will not have grey on scroll gutter
This is not a fix for the issue, it's just a better separation of concerns between the 2 files
The issue is self-inflicted by setting the bg color in the base layer instead of a higher priority layer.
ref #42941 parent 97eb5f0 commit 5cf3e89
2 files changed
Lines changed: 4 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 16 | | |
21 | 17 | | |
22 | 18 | | |
| |||
0 commit comments