-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathindex.html
68 lines (67 loc) · 2.12 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + TS</title>
<script type="module">
import { createNightowl } from '/src/main.ts'
createNightowl({
defaultMode: 'dark',
toggleButtonMode: 'newState'
})
</script>
<style>
* {
font-family:
ui-sans-serif,
system-ui,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Roboto,
'Helvetica Neue',
Arial,
'Noto Sans',
sans-serif,
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
'Noto Color Emoji';
}
</style>
</head>
<body>
<header>
<h1 style="text-align: center">Nightowl Demo Site</h1>
<div
style="
background-color: white;
border: 1px solid #6666;
box-shadow:
0 4px 6px -1px rgb(0 0 0 / 0.1),
0 2px 4px -2px rgb(0 0 0 / 0.1);
padding: 10px 20px;
"
>
<p>A Card with some text</p>
<button
style="
padding: 5px 10px;
display: block;
border-radius: 5px;
background-color: rgb(2 132 199);
font-weight: bold;
font-size: 1.2rem;
border: none;
outline: unset;
cursor: pointer;
"
>
Fancy Button
</button>
</div>
</header>
</body>
</html>