feat: migrate some more stuff to svelte-5, mainly app settings
Some checks failed
Deploy to GitHub Pages / build_site (push) Failing after 4s
Some checks failed
Deploy to GitHub Pages / build_site (push) Failing after 4s
This commit is contained in:
@ -47,9 +47,6 @@ html {
|
||||
--neutral-800: #111111;
|
||||
--neutral-900: #060606;
|
||||
|
||||
/* Secondary color */
|
||||
--secondary-color: #6c757d;
|
||||
|
||||
--layer-0: var(--neutral-900);
|
||||
--layer-1: var(--neutral-500);
|
||||
--layer-2: var(--neutral-400);
|
||||
|
@ -4,7 +4,7 @@
|
||||
id?: string;
|
||||
}
|
||||
|
||||
let { value = $bindable(), id = '' }: Props = $props();
|
||||
let { value = $bindable(false), id = '' }: Props = $props();
|
||||
$effect(() => {
|
||||
if (typeof value === 'string') {
|
||||
value = value === 'true';
|
||||
@ -98,4 +98,3 @@
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
@ -25,4 +25,3 @@
|
||||
border: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
Reference in New Issue
Block a user