File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
packages/kit-styled/src/components/badge Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -3,16 +3,14 @@ import { cn } from '@qwik-ui/utils';
3
3
import { cva , type VariantProps } from 'class-variance-authority' ;
4
4
5
5
const badgeVariants = cva (
6
- 'inline-flex items-center rounded-base border px-2.5 py-0.5 text-xs font-semibold transition-colors shadow-sm focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2' ,
6
+ 'inline-flex items-center rounded-base px-2.5 py-0.5 text-xs font-semibold transition-colors shadow-sm focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2' ,
7
7
{
8
8
variants : {
9
9
look : {
10
- primary :
11
- 'border-transparent bg-primary text-primary-foreground hover:bg-primary/80' ,
12
- secondary :
13
- 'border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80' ,
14
- alert : 'border-transparent bg-alert text-alert-foreground hover:bg-alert/80' ,
15
- outline : 'text-foreground' ,
10
+ primary : 'bg-primary text-primary-foreground hover:bg-primary/80' ,
11
+ secondary : 'bg-secondary text-secondary-foreground hover:bg-secondary/80' ,
12
+ alert : 'bg-alert text-alert-foreground hover:bg-alert/80' ,
13
+ outline : 'border text-foreground' ,
16
14
} ,
17
15
} ,
18
16
defaultVariants : {
You can’t perform that action at this time.
0 commit comments