Distinguish form field backgrounds from card surfaces

Introduce a --field design token (page background tone) used by inputs, textareas and select triggers, and raise the dark-mode card lightness so cards read as elevated surfaces with inset fields, following the shadcn convention.
This commit is contained in:
Steven RYDELL
2026-07-29 06:15:49 +02:00
parent a657ad1b93
commit eb57250409
5 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -398,7 +398,7 @@ function StringField({
value={strValue || '#000000'}
onChange={(e) => handleCommit(e.target.value)}
disabled={readOnly}
className="h-9 w-14 cursor-pointer rounded-md border border-input bg-transparent p-1"
className="h-9 w-14 cursor-pointer rounded-md border border-input bg-field p-1"
/>
<BufferedInput
value={strValue}