Skip to content

Commit

Permalink
style: Add high constrast border to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitcheljager committed Jan 12, 2025
1 parent 02de976 commit 7cfb49f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/javascript/scss/elements/_warning.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
text-align: center;
color: white;

@include high-contrast() {
border: 2px solid currentColor;
}

&--alert {
background: $green;
}
Expand Down

0 comments on commit 7cfb49f

Please sign in to comment.