This commit is contained in:
Ruben Fiszel
2025-09-27 22:17:49 +00:00
parent 1b112855f5
commit 20fbcc781c
2 changed files with 3 additions and 5 deletions
@@ -57,7 +57,6 @@
? 'hover:text-secondary data-[state=on]:text-secondary text-tertiary'
: 'hover:text-primary data-[state=on]:text-primary text-secondary',
'data-[state=on]:bg-surface data-[state=off]:border-transparent data-[state=on]:border-gray-300 dark:data-[state=on]:border-gray-500',
'text-hint',
'bg-surface-secondary hover:bg-surface-hover',
disabled ? '!shadow-none' : '',
className
@@ -71,7 +70,6 @@
size={small ? 12 : 14}
{...iconProps}
class={twMerge(
'text-gray-400',
selectedColor
? 'group-data-[state=on]:text-[var(--selected-color)]'
: 'group-data-[state=on]:text-nord-950 dark:group-data-[state=on]:text-nord-900',
@@ -587,7 +587,7 @@
tooltip="Running"
class="whitespace-nowrap"
icon={CirclePlay}
iconProps={{ color: success === 'running' ? 'blue' : 'gray' }}
iconProps={{ color: success === 'running' ? 'blue' : undefined }}
{item}
/>
<ToggleButton
@@ -595,7 +595,7 @@
tooltip="Success"
class="whitespace-nowrap"
icon={CircleCheck}
iconProps={{ color: success === 'success' ? 'green' : 'gray' }}
iconProps={{ color: success === 'success' ? 'green' : undefined }}
{item}
/>
<ToggleButton
@@ -603,7 +603,7 @@
tooltip="Failure"
class="whitespace-nowrap"
icon={CircleAlert}
iconProps={{ color: success === 'failure' ? 'red' : 'gray' }}
iconProps={{ color: success === 'failure' ? 'red' : undefined }}
{item}
/>
{#if success == 'waiting'}