fix: incorrect colors

This commit is contained in:
Xylight committed 2024-04-14 13:33:52 -07:00
1 parent 508644400f
commit efa1fa65c1
2 files changed
+5 -4

No files matched your search

@@ -14,15 +14,16 @@
color="tertiary" color="tertiary"
{...$$restProps} {...$$restProps}
class="rounded-full w-10 h-10 flex-shrink-0 {isSelected class="rounded-full w-10 h-10 flex-shrink-0 {isSelected
? 'bg-slate-200 dark:bg-zinc-900' ? 'bg-slate-200 dark:bg-zinc-900 text-primary-900 dark:text-primary-100'
: ''} {$$props.class ?? ''}" : ''} {$$props.class ?? ''}"
size="custom" size="custom"
{href} {href}
rounding="pill" rounding="pill"
title={label} title={label}
style="transition-property: background-color, filter;"
> >
{#if icon} {#if icon}
<Icon src={icon} mini={isSelected} size="18" /> <Icon src={icon} solid={isSelected} size="18" />
{:else} {:else}
<slot {isSelected} name="icon" /> <slot {isSelected} name="icon" />
{/if} {/if}
+2 -2
View File
@@ -84,7 +84,7 @@
src={PencilSquare} src={PencilSquare}
mini mini
size="20" size="20"
class="absolute -bottom-1 -right-1 rounded-full bg-zinc-900 p-0.5" class="absolute -bottom-1 -right-1 rounded-full bg-slate-100 dark:bg-zinc-900 p-0.5"
/> />
{/if} {/if}
</div> </div>
@@ -100,7 +100,7 @@
src={Newspaper} src={Newspaper}
mini mini
size="20" size="20"
class="absolute -bottom-1 -right-1 rounded-full bg-zinc-900 p-0.5" class="absolute -bottom-1 -right-1 rounded-full bg-slate-100 dark:bg-zinc-900 p-0.5"
/> />
{/if} {/if}
</NavButton> </NavButton>