Skip to content

Commit 2a5b65c

Browse files
authored
Add color-scheme meta tag (#8044)
Specifying `color-scheme` will theme the browser native elements that would otherwise not be automatically themed, such as scrollbars. `"dark light"` is a special value that respects the operating system preferences.
1 parent 2cf2b93 commit 2a5b65c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sites/kit.svelte.dev/src/app.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width" />
66
<meta name="theme-color" content="#ff3e00" />
7+
<meta name="color-scheme" content="dark light" />
78

89
<link rel="manifest" href="/manifest.json" />
910
<link rel="icon" type="image/png" href="/favicon.png" />

0 commit comments

Comments
 (0)