Files
HMDesign/packages/ui/src/theme/separator.css
T

18 lines
711 B
CSS

/* Separator mapping — current HM values. ui-viz has no standalone Separator (only per-component divider values), so this is a plain 1px line.
The color is a divider tone (the same pale warm neutral the HM input / Dialog outlines use) referenced from the Primitive; no Semantic exists for it yet. */
:root, [data-hm-theme] {
--hm-separator-thickness: 1px;
--hm-separator-color: var(--hm-sem-stroke-input-default);
}
[data-slot="separator"] {
background: var(--hm-separator-color);
}
[data-slot="separator"][data-orientation="horizontal"] {
height: var(--hm-separator-thickness);
}
[data-slot="separator"][data-orientation="vertical"] {
width: var(--hm-separator-thickness);
min-height: 1em;
}