Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
fix(Alert): improve visiblity for some alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
lukicenturi committed Jun 19, 2024
1 parent 2542698 commit 8c88ef1
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/components/alerts/Alert.vue
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,19 @@ const slots = useSlots();
}
}
}
@if index((warning, success, info), $color) {
&.#{$color} {
&.filled {
.icon,
.texts,
.action,
.close {
@apply text-rui-light-text #{!important};
}
}
}
}
}
&.outlined {
Expand Down Expand Up @@ -196,7 +209,7 @@ const slots = useSlots();
.texts,
.action,
.close {
@apply text-white #{!important};
@apply text-rui-dark-text #{!important};
}
}
Expand Down

0 comments on commit 8c88ef1

Please sign in to comment.