-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (32 loc) · 1.49 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<head>
<meta charset="utf-8" />
<title>zsh-console-icons</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=3.0">
<meta name="color-scheme" content="light dark">
<!-- Light and Dark Mode -->
<meta name="theme-color" media="(prefers-color-scheme:dark)" content="#000000">
<meta name="theme-color" media="(prefers-color-scheme:light)" content="#FFAB40">
<!-- High Contrast Mode -->
<meta name="theme-color" media="(prefers-color-scheme:dark) and (forced-colors: active)" content="#FFAB40">
<meta name="theme-color" media="(prefers-color-scheme:light) and (forced-colors: active)" content="#000000">
<style>
html {
font-family: system-ui;
}
</style>
</head>
<body>
<h1>Automatic day-night 🌃 switch</h1>
<p>This icon will automatically change colors based on the selected operating system theme.</p>
<p>To test the color switch, open <b>Chrome Developer Tools</b> and the <b>Rendering</b> tab. There you can
change
the current <code>prefers-color-scheme</code> manually.
<a href="https://github.com/patbec/zsh-console-icons#automatic-day-night--switch">Open README</a>
</p>
<img src="zsh-console-auto.svg" width="64">
<img src="zsh-console-auto.svg" width="128">
<img src="zsh-console-auto.svg" width="256">
<img src="zsh-console-auto.svg" width="512">
<img src="zsh-console-auto.svg" width="1024">
</body>