-
Notifications
You must be signed in to change notification settings - Fork 201
Expand file tree
/
Copy pathindex.html
More file actions
45 lines (43 loc) · 1.19 KB
/
index.html
File metadata and controls
45 lines (43 loc) · 1.19 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
36
37
38
39
40
41
42
43
44
45
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Lime</title>
<style>
:root {
color-scheme: light;
}
html,
body,
#root {
width: 100%;
height: 100%;
min-height: 100%;
overflow: hidden;
}
body {
margin: 0;
background:
radial-gradient(circle at top, rgba(132, 204, 22, 0.12), transparent 32%),
linear-gradient(180deg, #f8fafc 0%, #ffffff 52%, #f8fafc 100%);
color: #0f172a;
}
</style>
</head>
<body>
<div id="root"></div>
<script src="./oem-runtime-config.js"></script>
<script>
/**
* styled-components 会在模块初始化时读取全局 SC_DISABLE_SPEEDY。
* Tauri 生产 WebView 下提前切到文本注入,避免 CSSOM 注入失效。
*/
var SC_DISABLE_SPEEDY =
window.location.protocol === "tauri:" ||
typeof window.__TAURI_INTERNALS__ !== "undefined";
</script>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>