Skip to content

Commit

Permalink
Replaced mid_grey with dark_grey
Browse files Browse the repository at this point in the history
Text using the $color_mid_grey variable wasn't passing the contrast test(3.11), even against #fff.
By using $color_dark_grey instead the contrast test is passing with 5.32. Still gets a muted effect.
  • Loading branch information
lucascumsille committed Aug 13, 2024
1 parent 82d6703 commit 6187d12
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions app/assets/stylesheets/responsive/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ div.correspondence {

font-weight: 600;
strong {
color: $color_mid_grey;
color: $color_dark_grey;
}
}

Expand Down Expand Up @@ -1217,7 +1217,7 @@ p.locale-list-trigger {
border-bottom: none;
background-color: rgba(0,0,0,0.1);
@include respond-min($main_menu-mobile_menu_cutoff) {
background-color: darken($color_mid_grey, 10%);
background-color: darken($color_dark_grey, 10%);
}
color: $color_white;

Expand Down Expand Up @@ -1259,7 +1259,7 @@ p.locale-list-trigger {
.latest-requests {
h4 {
font-size: 1.125em;
color: $color_mid_grey;
color: $color_dark_grey;
font-weight: normal;
margin-top: 0;
line-height: 1.5em;
Expand Down Expand Up @@ -1301,7 +1301,7 @@ p.locale-list-trigger {

.request-body__time-ago {
font-size: 0.875em;
color: $color_mid_grey;
color: $color_dark_grey;
margin-top: 0.25em;
}

Expand Down Expand Up @@ -1470,7 +1470,7 @@ p.locale-list-trigger {

.hiw__subtitle {
font-size: 1.125em;
color: $color_mid_grey;
color: $color_dark_grey;
font-weight: normal;
margin-top: 0;
line-height: 1.5em;
Expand Down Expand Up @@ -1876,7 +1876,7 @@ dd {

a, .no-entries {
padding: 0.25em 0.3em;
border: 1px dotted $color_mid_grey;
border: 1px dotted $color_dark_grey;
font-family: monospace;

}
Expand All @@ -1888,7 +1888,7 @@ dd {
}

.no-entries {
color: $color_mid_grey;
color: $color_dark_grey;
}
}
}
Expand Down

0 comments on commit 6187d12

Please sign in to comment.