This commit is contained in:
Timothy Jaeryang Baek committed 2026-11-20 14:43:49 +04:00
1 parent 2f70a0248a
commit 76339161b0
469 files changed
+4845 -4822

No files matched your search

@@ -25,19 +25,19 @@
<Tooltip as="span" content={control.description} allowHTML={false}>
<button
type="button"
class="cursor-help text-gray-700 underline decoration-dotted decoration-gray-400/70 underline-offset-4 dark:text-gray-100 dark:decoration-gray-500"
class="cursor-help text-base-700 underline decoration-dotted decoration-base-400/70 underline-offset-4 dark:text-base-100 dark:decoration-base-500"
>
{control.label}
</button>
</Tooltip>
{:else}
<span class="text-gray-700 dark:text-gray-100">{control.label}</span>
<span class="text-base-700 dark:text-base-100">{control.label}</span>
{/if}
<span class="min-w-0 flex-1 truncate text-gray-500 dark:text-gray-400">{label}</span>
<span class="min-w-0 flex-1 truncate text-base-500 dark:text-base-400">{label}</span>
</div>
<div class="space-y-1">
<div
class="flex justify-between gap-2 text-[0.6875rem] text-gray-500 dark:text-gray-400"
class="flex justify-between gap-2 text-[0.6875rem] text-base-500 dark:text-base-400"
aria-hidden="true"
>
<span class="truncate">{options[0]?.[1].label}</span>
@@ -46,7 +46,7 @@
<div class="relative flex h-5 items-center">
<div class="pointer-events-none absolute inset-x-2.5 flex justify-between" aria-hidden="true">
{#each options as [key] (key)}
<span class="size-0.5 rounded-full bg-gray-400 dark:bg-gray-500"></span>
<span class="size-0.5 rounded-full bg-base-400 dark:bg-base-500"></span>
{/each}
</div>
<input
@@ -58,7 +58,7 @@
{disabled}
aria-label={control.label}
aria-valuetext={label}
class="control-slider h-5 w-full border-y border-transparent bg-clip-padding cursor-pointer appearance-none rounded-md bg-gray-100 outline-offset-2 focus-visible:outline focus-visible:outline-2 focus-visible:outline-gray-400 disabled:cursor-wait [--slider-fill:var(--color-gray-500)] dark:bg-gray-800 dark:[--slider-fill:var(--color-gray-600)]"
class="control-slider h-5 w-full border-y border-transparent bg-clip-padding cursor-pointer appearance-none rounded-md bg-base-100 outline-offset-2 focus-visible:outline focus-visible:outline-2 focus-visible:outline-base-400 disabled:cursor-wait [--slider-fill:var(--color-base-500)] dark:bg-base-800 dark:[--slider-fill:var(--color-base-600)]"
style:background-image={`linear-gradient(to right, var(--slider-fill) ${progress}%, transparent ${progress}%)`}
on:input={() => (editing = true)}
on:change={() => {
@@ -75,7 +75,7 @@
type="button"
disabled={disabled || !value}
on:click={() => dispatch('change', '')}
class="text-[0.6875rem] text-gray-500 transition enabled:hover:text-gray-900 dark:text-gray-400 dark:enabled:hover:text-gray-100"
class="text-[0.6875rem] text-base-500 transition enabled:hover:text-base-900 dark:text-base-400 dark:enabled:hover:text-base-100"
>
{$i18n.t('Default')}{#if control.options[control.default ?? '']?.label}{' · '}{control.options[
control.default ?? ''