@@ -3,18 +3,18 @@ import { cn } from '@qwik-ui/utils';
3
3
import { cva , type VariantProps } from 'class-variance-authority' ;
4
4
5
5
export const buttonVariants = cva (
6
- 'inline-flex items-center justify-center rounded text-sm font-medium focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50' ,
6
+ 'inline-flex items-center justify-center rounded text-sm font-medium transition-all duration-100 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50' ,
7
7
{
8
8
variants : {
9
9
look : {
10
10
primary :
11
- 'border-base bg-primary text-primary-foreground shadow-sm transition-all duration-100 hover:bg-primary/90 active:shadow-base active:press' ,
11
+ 'border-base bg-primary text-primary-foreground shadow-sm hover:bg-primary/90 active:shadow-base active:press' ,
12
12
secondary :
13
- 'border-base bg-secondary text-secondary-foreground shadow-sm transition-all duration-100 hover:bg-secondary/90 active:shadow-base active:press' ,
13
+ 'border-base bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/90 active:shadow-base active:press' ,
14
14
alert :
15
- 'border-base bg-alert text-alert-foreground shadow-sm transition-all duration-100 hover:bg-alert/90 active:shadow-base active:press' ,
15
+ 'border-base bg-alert text-alert-foreground shadow-sm hover:bg-alert/90 active:shadow-base active:press' ,
16
16
outline :
17
- 'border bg-background text-foreground shadow-sm transition-all duration-100 hover:bg-accent active:shadow-base active:press' ,
17
+ 'border bg-background text-foreground shadow-sm hover:bg-accent active:shadow-base active:press' ,
18
18
ghost : 'text-accent-foreground hover:bg-accent' ,
19
19
link : 'text-foreground hover:bg-transparent hover:text-foreground/80 hover:underline hover:underline-offset-2' ,
20
20
} ,
0 commit comments