Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/assets/stylesheets/components/_alert.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.usa-alert--info-important {
@include u-bg('accent-cool-darker');
color: color('white');
font-weight: 500;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because we only define 400 and 700 font weights, and due to how fallback weight behavior would choose the normal font weight, I wouldn't expect this change to have any effect, and in my testing it appears visually the same as if this line didn't exist at all.

If we wanted bold, I would expect...

Suggested change
font-weight: 500;
font-weight: bold;


&::before {
background-image: url('alert/info-white.svg');
Expand Down