Skip to content

Commit 3fd3f17

Browse files
committed
Add color-scheme meta tag for responsive dark mode
This adds responsive light or dark styling to various HTML elements natively. Currently this affects the button, file input, and scroll bars.
1 parent 6b06a1a commit 3fd3f17

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/web/src/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6+
<meta name="color-scheme" content="light dark" />
67
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
78
<title>Are The Types Wrong? - Tool for analyzing TypeScript types of npm packages</title>
89
<script type="module" src="./main.ts"></script>

0 commit comments

Comments
 (0)