Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6be5701

Browse files
authored
fix: Make dark scroll bar in dark theme
1 parent 6d470d2 commit 6be5701

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/src/assets/scss/tokens/themes.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ html[data-theme="light"] {
135135
}
136136

137137
html[data-theme="dark"] {
138+
color-scheme: dark;
139+
138140
--body-background-color: var(--color-neutral-900);
139141
--body-text-color: var(--color-neutral-300);
140142
--headings-color: #fff;

0 commit comments

Comments
 (0)