Add 'frontend/' from commit '63381d9f2a4829e09d9ba6f29608bbaa2eb38601'
git-subtree-dir: frontend git-subtree-mainline:79bc04aaa7git-subtree-split:63381d9f2a
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>RADIUS Admin</title>
|
||||
<!-- Critical: paint the correct background before the app CSS loads (avoids flash). -->
|
||||
<style>
|
||||
html { background: oklch(1 0 0); color-scheme: light; }
|
||||
html.dark { background: oklch(0.145 0 0); color-scheme: dark; }
|
||||
</style>
|
||||
<script>
|
||||
// Apply saved (or system) theme before first paint.
|
||||
(function () {
|
||||
var t = localStorage.getItem('radui.theme')
|
||||
if (t === 'dark' || (!t && matchMedia('(prefers-color-scheme: dark)').matches)) {
|
||||
document.documentElement.classList.add('dark')
|
||||
}
|
||||
})()
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script type="module" src="/src/main.tsx"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user