File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
apps/website/src/components/make-it-yours
packages/kit-styled/src/components/button Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -509,7 +509,13 @@ export default component$(() => {
509
509
</ div >
510
510
</ ModalContent >
511
511
512
- < ModalFooter class = " flex w-full justify-end gap-4" >
512
+ < ModalFooter class = " flex w-full justify-between gap-4" >
513
+ < Button
514
+ look = "ghost"
515
+ onClick$ = { ( ) => setTheme ( theme ?. includes ( 'dark' ) ? 'dark' : 'light' ) }
516
+ >
517
+ Reset
518
+ </ Button >
513
519
< CopyCssConfig />
514
520
</ ModalFooter >
515
521
< button onClick$ = { ( ) => ( showSig . value = false ) } class = "absolute right-6 top-7" >
Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ const buttonVariants = cva(
10
10
variants : {
11
11
look : {
12
12
primary :
13
- 'bg-primary text-primary-foreground hover:bg-primary/90 shadow-sm transition-all duration-100 active:press active:shadow-base' ,
13
+ 'bg-primary text-primary-foreground hover:bg-primary/90 shadow-sm transition-all duration-100 active:press active:shadow-base border-base ' ,
14
14
secondary :
15
- 'bg-secondary text-secondary-foreground hover:bg-secondary/90 shadow-sm transition-all duration-100 active:press active:shadow-base' ,
15
+ 'bg-secondary text-secondary-foreground hover:bg-secondary/90 shadow-sm transition-all duration-100 active:press active:shadow-base border-base ' ,
16
16
alert :
17
- 'bg-alert text-alert-foreground hover:bg-alert/90 shadow-sm transition-all duration-100 active:press active:shadow-base' ,
17
+ 'bg-alert text-alert-foreground hover:bg-alert/90 shadow-sm transition-all duration-100 active:press active:shadow-base border-base ' ,
18
18
outline :
19
19
'shadow-sm transition-all duration-100 active:press active:shadow-base bg-background text-foreground border hover:bg-accent' ,
20
20
ghost : 'text-accent-foreground hover:bg-accent' ,
You can’t perform that action at this time.
0 commit comments