Skip to content

Commit 51b7a09

Browse files
committed
fix: checkbox
1 parent 37f4b00 commit 51b7a09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

infrastructure/control-panel/src/lib/ui/Checkbox/Checkbox.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
1919
const cBase = $derived(`
2020
h-4 w-4 rounded-[3px] border-2 transition-all flex items-center justify-center
21-
${restProps.disabled ? 'border-gray-500' : checked ? 'border-primary-600' : 'border-gray-300'}
21+
${restProps.disabled ? 'border-black-100' : checked ? 'border-primary' : 'border-black-100'}
2222
dark:bg-transparent
2323
`);
2424
</script>
@@ -46,6 +46,6 @@
4646
onclick={() => inputElement?.click()}
4747
>
4848
{#if checked}
49-
<span class="bg-gradient-primary block h-2 w-2 rounded-[1px]"></span>
49+
<span class="bg-primary block h-2 w-2 rounded-[1px]"></span>
5050
{/if}
5151
</span>

0 commit comments

Comments
 (0)