Skip to content

Commit 899516f

Browse files
committed
fix: primary button in light mode
1 parent 3a13fbf commit 899516f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/components/Button/Base.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ defineExpose({
3737
'text-xs px-2 py-0.5': size === 'small',
3838
'bg-transparent text-fg hover:enabled:(bg-fg/30) focus-visible:enabled:(bg-fg/30)':
3939
variant === 'secondary',
40-
'text-black bg-fg hover:enabled:(bg-fg/50) focus-visible:enabled:(bg-fg/50)':
40+
'text-bg bg-fg hover:enabled:(bg-fg/50) focus-visible:enabled:(bg-fg/50)':
4141
variant === 'primary',
4242
}"
4343
:type="props.type"

app/components/Link/Base.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const isButtonMedium = computed(() => props.size === 'medium' && props.variant !
8383
'text-xs px-2 py-0.5': isButtonSmall,
8484
'bg-transparent text-fg hover:(bg-fg/30) focus-visible:(bg-fg/30)':
8585
variant === 'button-secondary',
86-
'text-black bg-fg hover:(bg-fg/50) focus-visible:(bg-fg/50)': variant === 'button-primary',
86+
'text-bg bg-fg hover:(bg-fg/50) focus-visible:(bg-fg/50)': variant === 'button-primary',
8787
}"
8888
:to="to"
8989
:href="to"

0 commit comments

Comments
 (0)