Skip to content

Commit

Permalink
fix: reverting app-level orange alerts to intended color (#3612)
Browse files Browse the repository at this point in the history
• During the SASS variable cleanup, I made updates to the orange color palette that broke the a11y contrast of app-level alerts
• This change fixes that regression

Tested in:
✔︎ Chrome
✔︎ Firefox

Fixes #3604

Signed-off-by: Scott Mathis <[email protected]>
  • Loading branch information
mathisscott authored Jul 11, 2019
1 parent 61155a2 commit a4b63da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file modified gemini/screens/alert/app-level-static/default/chrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/clr-angular/emphasis/alert/_variables.alert.scss
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ $clr-app-alert-info-close-icon-hover-opacity: $clr-app-alert-close-icon-hover-op

// App Warning type
// Usage: ./_alert.clarity.scss
$clr-app-alert-warning-bg-color: $clr-color-warning-800 !default;
// TODO-UX: why is the next color not in our color palettes?
$clr-app-alert-warning-bg-color: #c25400 !default;
$clr-app-alert-warning-icon-color: $clr-app-alert-close-icon-color !default;
$clr-app-alert-warning-border-color: none !default;
$clr-app-alert-warning-font-color: $clr-app-level-alert-color !default;
Expand Down

0 comments on commit a4b63da

Please sign in to comment.