Skip to content

Commit

Permalink
fix(core): text color on warning background
Browse files Browse the repository at this point in the history
- set text on warning status backgrounds to appropriate color

Signed-off-by: Cory Rylan <splintercode.cb@gmail.com>
  • Loading branch information
coryrylan committed Dec 9, 2021
1 parent 07c0a6a commit 5a901eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/alert/alert.element.scss
Expand Up @@ -122,7 +122,7 @@ cds-internal-close-button {

:host([_type='default'][status='warning']),
:host([_type='banner'][status='warning']) {
--color: #{$cds-global-color-black};
--color: #{$cds-global-color-construction-900};

cds-alert-actions {
--action-hover-text-color: var(--color);
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/badge/badge.element.scss
Expand Up @@ -51,7 +51,7 @@

:host([status='warning']) {
--background: #{$cds-alias-status-warning-shade};
--color: #{$cds-global-color-black};
--color: #{$cds-global-color-construction-900};
}

:host([status='danger']) {
Expand Down

0 comments on commit 5a901eb

Please sign in to comment.