improve color picker UI

This commit is contained in:
pa
2026-01-22 21:50:28 +09:00
parent 0a0af0db75
commit 24d45d5967
3 changed files with 32 additions and 11 deletions

View File

@@ -59,8 +59,8 @@
<Popover>
<PopoverTrigger as-child>
<Button variant="outline" size="sm" class="flex items-center gap-2 px-2" :disabled="disabled">
<span class="h-4 w-4 rounded border" :style="{ backgroundColor: safeValue }" />
<span class="font-mono text-xs opacity-80">
<span class="h-4 w-4 rounded" :style="{ backgroundColor: safeValue }" />
<span class="text-xs opacity-80">
{{ displayText }}
</span>