Load stylesheets directly from HTML to avoid flashing wrong background color first.

This commit is contained in:
2026-02-05 15:39:51 +00:00
parent 871eb149ab
commit 3c5f8694b3
6 changed files with 3 additions and 5 deletions
+1
View File
@@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Auth Profile</title>
<script>(localStorage.getItem('paskia-theme')==='dark'||localStorage.getItem('paskia-theme')!=='light'&&matchMedia('(prefers-color-scheme:dark)').matches)&&document.documentElement.classList.add('dark')</script>
<link rel="stylesheet" href="/src/assets/style.css">
</head>
<body>
<div id="app"></div>