feat(theme): add provisional generic status error token

This commit is contained in:
DESKTOP-KPCP6AL\ㅅㅎ committed 2026-10-11 13:07:59 +09:00
1 parent 3ecc8c7402
commit 220973cf89
11 files changed
+69 -8

No files matched your search

+2
View File
@@ -10,6 +10,8 @@ export const runtimeThemeContract = {
"color.action.primary": { property: "--hm-sem-action-primary", defaultValue: runtimeThemeDefaults["--hm-sem-action-primary"], type: "color" },
"color.action.cancel": { property: "--hm-sem-action-cancel", defaultValue: runtimeThemeDefaults["--hm-sem-action-cancel"], type: "color" },
"color.action.destructive": { property: "--hm-sem-action-destructive", defaultValue: runtimeThemeDefaults["--hm-sem-action-destructive"], type: "color" },
// Provisional generic status role; existing component error/destructive mappings stay unchanged.
"color.status.error": { property: "--hm-sem-status-error", defaultValue: runtimeThemeDefaults["--hm-sem-status-error"], type: "color" },
"color.stroke.default": { property: "--hm-sem-stroke-default", defaultValue: runtimeThemeDefaults["--hm-sem-stroke-default"], type: "color" },
"color.stroke.input.default": { property: "--hm-sem-stroke-input-default", defaultValue: runtimeThemeDefaults["--hm-sem-stroke-input-default"], type: "color" },
"color.stroke.input.focus": { property: "--hm-sem-stroke-input-focus", defaultValue: runtimeThemeDefaults["--hm-sem-stroke-input-focus"], type: "color" },
@@ -9,6 +9,7 @@ export const runtimeThemeDefaults = {
"--hm-sem-action-primary": "#123328",
"--hm-sem-action-cancel": "#6e6759",
"--hm-sem-action-destructive": "#d32f2f",
"--hm-sem-status-error": "#b3261e",
"--hm-sem-stroke-default": "#9a9284",
"--hm-sem-stroke-input-default": "#dedbd2",
"--hm-sem-stroke-input-focus": "#266651",
+2
View File
@@ -41,6 +41,8 @@
--hm-sem-action-primary: var(--hm-color-primary);
--hm-sem-action-cancel: var(--hm-color-action-cancel);
--hm-sem-action-destructive: var(--hm-color-action-destructive);
/* Provisional generic status role, independent of component error/destructive aliases. */
--hm-sem-status-error: #b3261e;
--hm-sem-stroke-default: var(--hm-color-border-default);
--hm-sem-stroke-input-default: var(--hm-color-border-control);
--hm-sem-stroke-input-focus: var(--hm-color-border-focus);