feat: add Separator Kbd and Chip components

This commit is contained in:
maoyingjie
2026-10-21 18:35:24 +08:00
parent 3d05fea7bd
commit 3515a47f5e
51 changed files with 2813 additions and 21 deletions
+32
View File
@@ -0,0 +1,32 @@
/* Adapted from HeroUI v3, ce90ea3. Copyright 2025 NextUI Inc.
* See third-party/HEROUI-LICENSE. Modified: hv- class prefix. */
/* Base separator with default horizontal orientation */
.hv-separator {
@apply shrink-0 rounded-sm border-t-0 border-b-0 bg-separator;
/* Default size - horizontal orientation */
@apply h-px w-full;
}
/* Orientation variants */
.hv-separator--horizontal {
@apply h-px w-full;
}
.hv-separator--vertical {
@apply h-auto min-h-2 w-px self-stretch;
}
/* Color variants */
.hv-separator--default {
@apply bg-separator;
}
.hv-separator--secondary {
@apply bg-separator-secondary;
}
.hv-separator--tertiary {
@apply bg-separator-tertiary;
}