ui fix
This commit is contained in:
parent
94c9f848fc
commit
f9e1dfe92a
8
package-lock.json
generated
8
package-lock.json
generated
@ -50,7 +50,7 @@
|
|||||||
"lucide-svelte": "^0.438.0",
|
"lucide-svelte": "^0.438.0",
|
||||||
"luxon": "^3.5.0",
|
"luxon": "^3.5.0",
|
||||||
"memoize-one": "^6.0.0",
|
"memoize-one": "^6.0.0",
|
||||||
"mode-watcher": "^0.5.1",
|
"mode-watcher": "^0.5.0",
|
||||||
"object-to-formdata": "^4.5.1",
|
"object-to-formdata": "^4.5.1",
|
||||||
"parse5": "^7.1.2",
|
"parse5": "^7.1.2",
|
||||||
"pocketbase": "^0.25.2",
|
"pocketbase": "^0.25.2",
|
||||||
@ -6921,9 +6921,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/mode-watcher": {
|
"node_modules/mode-watcher": {
|
||||||
"version": "0.5.1",
|
"version": "0.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/mode-watcher/-/mode-watcher-0.5.1.tgz",
|
"resolved": "https://registry.npmjs.org/mode-watcher/-/mode-watcher-0.5.0.tgz",
|
||||||
"integrity": "sha512-adEC6T7TMX/kzQlaO/MtiQOSFekZfQu4MC+lXyoceQG+U5sKpJWZ4yKXqw846ExIuWJgedkOIPqAYYRk/xHm+w==",
|
"integrity": "sha512-5E6fh/aXhAVv+U+DbeM0hCmskQE9u7WSmvnCRijJB/MJu7HtB73sjiCaZ9n1M8QHmzLrBFo8XBAUcWXkDm8Z9A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
|||||||
@ -50,7 +50,7 @@
|
|||||||
"lucide-svelte": "^0.438.0",
|
"lucide-svelte": "^0.438.0",
|
||||||
"luxon": "^3.5.0",
|
"luxon": "^3.5.0",
|
||||||
"memoize-one": "^6.0.0",
|
"memoize-one": "^6.0.0",
|
||||||
"mode-watcher": "^0.5.1",
|
"mode-watcher": "^0.5.0",
|
||||||
"object-to-formdata": "^4.5.1",
|
"object-to-formdata": "^4.5.1",
|
||||||
"parse5": "^7.1.2",
|
"parse5": "^7.1.2",
|
||||||
"pocketbase": "^0.25.2",
|
"pocketbase": "^0.25.2",
|
||||||
|
|||||||
@ -7,6 +7,7 @@
|
|||||||
<link rel="manifest" href="%sveltekit.assets%/manifest.json" />
|
<link rel="manifest" href="%sveltekit.assets%/manifest.json" />
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
|
||||||
%sveltekit.head%
|
%sveltekit.head%
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|||||||
@ -168,7 +168,7 @@
|
|||||||
gridLineWidth: 1,
|
gridLineWidth: 1,
|
||||||
gridLineColor: $mode === "light" ? "#d1d5dc" : "#111827",
|
gridLineColor: $mode === "light" ? "#d1d5dc" : "#111827",
|
||||||
labels: {
|
labels: {
|
||||||
style: { color: "white" },
|
style: { color: $mode === "light" ? "black" : "white" },
|
||||||
formatter: function () {
|
formatter: function () {
|
||||||
return abbreviateNumber(this.value);
|
return abbreviateNumber(this.value);
|
||||||
},
|
},
|
||||||
|
|||||||
@ -193,7 +193,7 @@
|
|||||||
gridLineWidth: 1,
|
gridLineWidth: 1,
|
||||||
gridLineColor: $mode === "light" ? "#d1d5dc" : "#111827",
|
gridLineColor: $mode === "light" ? "#d1d5dc" : "#111827",
|
||||||
labels: {
|
labels: {
|
||||||
style: { color: "white" },
|
style: { color: $mode === "light" ? "black" : "white" },
|
||||||
formatter: function () {
|
formatter: function () {
|
||||||
return abbreviateNumber(this.value);
|
return abbreviateNumber(this.value);
|
||||||
},
|
},
|
||||||
|
|||||||
@ -272,6 +272,10 @@
|
|||||||
</script>
|
</script>
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
|
<ModeWatcher defaultMode={data?.themeMode} />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="app text-muted dark:text-white {$page?.url?.pathname === '/' ? 'bg-[#000]' : ''}">
|
<div class="app text-muted dark:text-white {$page?.url?.pathname === '/' ? 'bg-[#000]' : ''}">
|
||||||
<div class="flex min-h-screen w-full flex-col bg-white dark:bg-default">
|
<div class="flex min-h-screen w-full flex-col bg-white dark:bg-default">
|
||||||
<div class="w-full">
|
<div class="w-full">
|
||||||
@ -1231,7 +1235,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<slot />
|
<slot />
|
||||||
<ModeWatcher defaultMode={data?.themeMode} disableTransitions={true}/>
|
|
||||||
<Toaster position="top-center" />
|
<Toaster position="top-center" />
|
||||||
{#if Cookie && $showCookieConsent === true}
|
{#if Cookie && $showCookieConsent === true}
|
||||||
<Cookie />
|
<Cookie />
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user