@minch/bentolio 0.9.7 → 0.9.8
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.
|
@@ -14,9 +14,10 @@
|
|
|
14
14
|
<button
|
|
15
15
|
aria-label="Color Mode"
|
|
16
16
|
:class="[
|
|
17
|
-
'w-10 h-10 flex items-center justify-center text-xl border border-zinc-200 dark:border-zinc-700 bg-zinc-50/50 dark:bg-zinc-800/25 hover:bg-zinc-200 dark:hover:bg-zinc-700
|
|
17
|
+
'w-10 h-10 flex items-center justify-center text-xl border border-zinc-200 dark:border-zinc-700 bg-zinc-50/50 dark:bg-zinc-800/25 hover:bg-zinc-200 dark:hover:bg-zinc-700 text-zinc-950 dark:text-zinc-300 focus-visible:global-focus',
|
|
18
18
|
{ 'rounded-lg': roundedItems }
|
|
19
19
|
]"
|
|
20
|
+
title="Toggle Color Mode"
|
|
20
21
|
@click="onClick">
|
|
21
22
|
<ColorScheme placeholder="...">
|
|
22
23
|
<Icon v-if="colorMode.preference === 'dark'" name="ph:sun-duotone" />
|
package/nuxt.config.ts
CHANGED
|
@@ -43,7 +43,9 @@ export default defineNuxtConfig({
|
|
|
43
43
|
|
|
44
44
|
icon: {
|
|
45
45
|
mode: "svg",
|
|
46
|
-
|
|
46
|
+
clientBundle: {
|
|
47
|
+
scan: true
|
|
48
|
+
}
|
|
47
49
|
},
|
|
48
50
|
|
|
49
51
|
modules: [
|
|
@@ -54,7 +56,7 @@ export default defineNuxtConfig({
|
|
|
54
56
|
],
|
|
55
57
|
|
|
56
58
|
routeRules: {
|
|
57
|
-
"
|
|
59
|
+
"/**": { prerender: true }
|
|
58
60
|
},
|
|
59
61
|
|
|
60
62
|
vite: {
|