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
+30
View File
@@ -0,0 +1,30 @@
/* Adapted from HeroUI v3, ce90ea3. Copyright 2025 NextUI Inc.
* See third-party/HEROUI-LICENSE. Modified: hv- class prefix. */
/* Base styles */
.hv-kbd {
@apply inline-flex h-6 items-center space-x-0.5 rounded-lg bg-default px-2 text-center font-sans text-sm font-medium whitespace-nowrap text-muted rtl:space-x-reverse;
word-spacing: -0.25rem;
}
/* Key abbreviation styles */
.hv-kbd__abbr {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
text-decoration: none;
}
/* Content wrapper */
.hv-kbd__content {
display: flex;
justify-content: center;
align-items: center;
}
/* Variant styles */
.hv-kbd--light {
@apply bg-transparent;
}