@@ -24,8 +24,7 @@ export const getButtonSizeClasses = (size: ButtonSize = 'md') => {
2424
2525export const getButtonTypeClasses = ( type : ButtonType = 'primary' ) => {
2626 const baseByType = {
27- primary :
28- 'bg-neutral-900 border-none text-white dark-theme:bg-white dark-theme:text-neutral-900' ,
27+ primary : 'bg-base-foreground border-none text-base-background' ,
2928 secondary : cn (
3029 'bg-secondary-background border-none text-base-foreground hover:bg-secondary-background-hover'
3130 ) ,
@@ -41,10 +40,8 @@ export const getButtonTypeClasses = (type: ButtonType = 'primary') => {
4140
4241export const getBorderButtonTypeClasses = ( type : ButtonType = 'primary' ) => {
4342 const baseByType = {
44- primary :
45- 'bg-neutral-900 text-white dark-theme:bg-white dark-theme:text-neutral-900' ,
46- secondary :
47- 'bg-white text-neutral-950 dark-theme:bg-zinc-700 dark-theme:text-white' ,
43+ primary : 'bg-base-background text-base-foreground' ,
44+ secondary : 'bg-secondary-background text-base-foreground' ,
4845 transparent : cn (
4946 'bg-transparent text-base-foreground hover:bg-secondary-background-hover'
5047 ) ,
@@ -53,10 +50,9 @@ export const getBorderButtonTypeClasses = (type: ButtonType = 'primary') => {
5350 } as const
5451
5552 const borderByType = {
56- primary : 'border border-solid border-white dark-theme:border-neutral-900' ,
57- secondary : 'border border-solid border-neutral-950 dark-theme:border-white' ,
58- transparent :
59- 'border border-solid border-neutral-950 dark-theme:border-white' ,
53+ primary : 'border border-solid border-base-background' ,
54+ secondary : 'border border-solid border-base-foreground' ,
55+ transparent : 'border border-solid border-base-foreground' ,
6056 accent : 'border border-solid border-primary-background'
6157 } as const
6258
0 commit comments