feat: publish sanitized custom.97 source
This commit is contained in:
1022 files changed
+69903
-19207
No files matched your search
+17
-1
@@ -2,7 +2,6 @@
|
||||
<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" />
|
||||
<meta name="google" content="notranslate" />
|
||||
|
||||
@@ -15,6 +14,23 @@
|
||||
/>
|
||||
|
||||
<meta name="theme-color" content="#fff" />
|
||||
<!-- Resolve the theme before first paint so the page never flashes light
|
||||
and one-shot detectors (e.g. Dark Reader) see the real theme.
|
||||
Keep in sync with ThemeProvider and THEME_STORAGE_KEYS.mode. -->
|
||||
<script>
|
||||
;(function () {
|
||||
var theme = 'system'
|
||||
try {
|
||||
theme = localStorage.getItem('newapi:theme:v1:mode') || 'system'
|
||||
} catch (e) {}
|
||||
if (theme !== 'dark' && theme !== 'light') {
|
||||
theme = window.matchMedia('(prefers-color-scheme: dark)').matches
|
||||
? 'dark'
|
||||
: 'light'
|
||||
}
|
||||
document.documentElement.classList.add(theme)
|
||||
})()
|
||||
</script>
|
||||
<!--umami-->
|
||||
<!--Google Analytics-->
|
||||
</head>
|
||||
|
||||
Reference in new issue
Block a user