-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
35 lines (35 loc) · 1.99 KB
/
index.html
File metadata and controls
35 lines (35 loc) · 1.99 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<title>Vuetify0</title>
<link rel="preconnect" href="https://cdn.vuetifyjs.com" crossorigin>
<link rel="icon" type="image/png" href="/0.png">
<style>
/* Critical inline CSS — styles Shiki and logos before external CSS loads.
The inline script above always sets data-theme, so these selectors are
guaranteed to match. External CSS (App.vue) overrides Shiki vars to use
--v0-surface once loaded. */
.shiki {
background-color: var(--shiki-light-bg, #fff);
border-radius: 0.5rem;
}
[data-theme]:not([data-theme="light"]):not([data-theme="odyssey"]):not([data-theme="tailwind-light"]):not([data-theme="material-3-light"]):not([data-theme="ant-design-light"]):not([data-theme="radix-light"]) .shiki {
background-color: var(--shiki-dark-bg, #0d1117);
}
.shiki span { color: var(--shiki-light) }
[data-theme]:not([data-theme="light"]):not([data-theme="odyssey"]):not([data-theme="tailwind-light"]):not([data-theme="material-3-light"]):not([data-theme="ant-design-light"]):not([data-theme="radix-light"]) .shiki span {
color: var(--shiki-dark);
}
/* Logo light/dark visibility before Vue hydrates */
.logo-dark { display: none }
[data-theme]:not([data-theme="light"]):not([data-theme="odyssey"]):not([data-theme="tailwind-light"]):not([data-theme="material-3-light"]):not([data-theme="ant-design-light"]):not([data-theme="radix-light"]) .logo-light { display: none }
[data-theme]:not([data-theme="light"]):not([data-theme="odyssey"]):not([data-theme="tailwind-light"]):not([data-theme="material-3-light"]):not([data-theme="ant-design-light"]):not([data-theme="radix-light"]) .logo-dark { display: inline }
</style>
</head>
<body>
<div id="app"></div>
<script type="module" src="./src/main.ts"></script>
</body>
</html>