@@ -6,6 +6,20 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet" />
|
||||
<link rel="icon" href="/assets/yz/logo.png" />
|
||||
<title>影擎</title>
|
||||
<script>
|
||||
(function () {
|
||||
try {
|
||||
var key = "yingqing-appearance";
|
||||
var raw = localStorage.getItem(key) || "system";
|
||||
var theme = raw;
|
||||
if (raw !== "light" && raw !== "dark") {
|
||||
theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
||||
}
|
||||
document.documentElement.setAttribute("data-theme", theme);
|
||||
document.documentElement.style.colorScheme = theme;
|
||||
} catch (e) {}
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
Reference in New Issue
Block a user