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

+20
View File
@@ -0,0 +1,20 @@
/* Skeleton mapping. ui-viz has no Skeleton spec (inventory name only), so these are current HM values. The pulse is the shadcn
`animate-pulse` (no HM Motion rule exists); reduced-motion users get a still placeholder.
The default look lives in `@layer components` so a consumer's utility classes (`rounded-full`, `bg-*`) still override it:
Skeleton shape is meant to be set through `className`. */
:root, [data-hm-theme] {
--hm-skeleton-background: var(--hm-sem-palette-warm-neutral-light);
--hm-skeleton-radius: var(--hm-radius-control-md);
}
@layer components {
[data-slot="skeleton"] {
background: var(--hm-skeleton-background);
border-radius: var(--hm-skeleton-radius);
}
}
@media (prefers-reduced-motion: reduce) {
[data-slot="skeleton"] {
animation: none;
}
}