Initial commit: HMDesignSystem baseline

This commit is contained in:
shkim4 committed 2026-10-08 16:58:09 +09:00
commit b6a0a61103
486 files changed
+68432

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
/* Label mapping: typography and color only. Required star, Helper and Error message are consumer composition, not part of Label.
ui_viz has no standalone Label spec; the Field Label role is owned by Input / Textarea (docs/components/input.md §9, §10). */
:root, [data-hm-theme] {
/* ui_viz: docs/components/input.md §9 Field Label → label-md 14/20/500 (CANONICAL_OVERRIDE of the 13/700 Source); textarea.md §2 */
--hm-label-font-size: 14px;
--hm-label-line-height: 20px;
--hm-label-font-weight: 500;
/* ui_viz: docs/components/input.md §10, §16 — color.fg.secondary, Confirmed */
--hm-label-text: var(--hm-sem-fg-secondary);
}
[data-slot="label"] {
color: var(--hm-label-text);
font-size: var(--hm-label-font-size);
line-height: var(--hm-label-line-height);
font-weight: var(--hm-label-font-weight);
}