mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-20 08:01:35 +00:00
nit UI
This commit is contained in:
@@ -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'}
|
||||
|
||||
Reference in New Issue
Block a user