Skip to content

Commit

Permalink
fix: change text color for outlined alerts (#2581)
Browse files Browse the repository at this point in the history
  • Loading branch information
rustem-nasyrov committed Oct 26, 2022
1 parent a5ddc3b commit 5662a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/components/va-alert/useAlertStyles.ts
Expand Up @@ -50,7 +50,7 @@ export const useAlertStyles = (props: AlertStyleProps) => {
const contentStyle = computed(() => {
return {
alignItems: props.center ? 'center' : '',
color: props.border ? getColor(getTextColor(background.value), undefined, true) : textColorComputed.value,
color: (props.border || props.outline) ? getColor(getTextColor(background.value), undefined, true) : textColorComputed.value,
}
})

Expand Down

0 comments on commit 5662a25

Please sign in to comment.