kanna-code 0.35.2 → 0.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,12 +13,7 @@
13
13
  <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
14
14
  <script>
15
15
  (() => {
16
- const storageKey = "lever-theme"
17
- const stored = window.localStorage.getItem(storageKey)
18
- const preference = stored === "light" || stored === "dark" || stored === "system" ? stored : "system"
19
- const resolved = preference === "system"
20
- ? (window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light")
21
- : preference
16
+ const resolved = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"
22
17
  const themeColor = resolved === "dark" ? "rgb(33, 34, 35)" : "rgb(255, 255, 255)"
23
18
 
24
19
  document.documentElement.classList.toggle("dark", resolved === "dark")
@@ -30,7 +25,7 @@
30
25
  })()
31
26
  </script>
32
27
  <title>Kanna</title>
33
- <script type="module" crossorigin src="/assets/index-BfaPrPZL.js"></script>
28
+ <script type="module" crossorigin src="/assets/index-DEXZB-Si.js"></script>
34
29
  <link rel="stylesheet" crossorigin href="/assets/index-DMZaICf7.css">
35
30
  </head>
36
31
  <body>