ui: add styles for chip component on songs page

This commit is contained in:
2026-02-09 21:28:39 -08:00
parent a9008627a1
commit 28d6231f21
2 changed files with 43 additions and 16 deletions

View File

@@ -135,6 +135,30 @@
@apply inline-flex h-8 w-8 items-center justify-center rounded border;
}
.chip-group {
@apply flex flex-wrap items-stretch border border-input rounded-md overflow-hidden bg-background w-fit h-fit;
}
.chip-group legend {
@apply flex items-center px-3 py-1.5 text-sm font-semibold border-r border-input;
}
.chip {
@apply relative inline-flex items-center px-4 py-2 border-r border-input last:border-r-0 bg-background cursor-pointer text-sm font-medium transition-colors hover:bg-muted/50;
}
.chip input {
@apply appearance-none;
cursor: inherit;
}
.chip:has(input:checked) {
@apply bg-primary text-primary-foreground;
}
.chip input:checked + span {
@apply font-semibold;
}
}
@layer scn {