Skip to content

Commit e3867e3

Browse files
authored
fix(primitives): fix default text color for alert primitive (#3126)
1 parent 145d0b5 commit e3867e3

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/many-cats-allow.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@aws-amplify/ui": patch
3+
"@aws-amplify/ui-react": patch
4+
---
5+
6+
fix(primitives): fix default text color for alert primitive

packages/ui/src/theme/css/component/alert.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.amplify-alert {
22
align-items: var(--amplify-components-alert-align-items);
33
background-color: var(--amplify-components-alert-background-color);
4+
color: var(--amplify-components-alert-color);
45
justify-content: var(--amplify-components-alert-justify-content);
56
padding-block: var(--amplify-components-alert-padding-block);
67
padding-inline: var(--amplify-components-alert-padding-inline);

0 commit comments

Comments
 (0)