Skip to content

Commit

Permalink
fix: Accessibility - change color for WCAG AA (#19472)
Browse files Browse the repository at this point in the history
* fix: Accessibility - change color for WCAG AA

Signed-off-by: julieng <[email protected]>

* fix: #ffffff to #fff to comply with stylelint

Signed-off-by: julieng <[email protected]>

* Factoring in #19249

Signed-off-by: julieng <[email protected]>

---------

Signed-off-by: julieng <[email protected]>
  • Loading branch information
SphinxKnight authored Oct 25, 2023
1 parent adb066c commit d3907f6
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,28 @@
}

.label-critical {
background:red;
color:#621501;
background:#ff4d2e;
color:#000;
}


.label-danger {
background:#e64524!important;
color:#621501!important;
background:#ff8f3d!important;
color:#000!important;
}

.label-medium {
background-color: orange;
color:#621501;
background-color: #ffce66;
color:#000;
}

.label-low {
background: #007CBB;
color:#cab6b1;
background: #fff1ad;
color:#000;
}

.label-none {
background-color: grey;
color:#bad7ba;
background-color: #2ec0ff;
color:#000;
}

.no-border {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,31 +64,29 @@ $row-height: 48px;
align-items: center;
}


.label-critical {
background:red;
color:#621501;
background:#ff4d2e;
color:#000;
}


.label-danger {
background:#e64524!important;
color:#621501!important;
background:#ff8f3d!important;
color:#000!important;
}

.label-medium {
background-color: orange;
color:#621501;
background-color: #ffce66;
color:#000;
}

.label-low {
background: #007CBB;
color:#cab6b1;
background: #fff1ad;
color:#000;
}

.label-none {
background-color: grey;
color:#bad7ba;
background-color: #2ec0ff;
color:#000;
}

.no-border {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,28 @@
}

.label-critical {
background:red;
color:#621501;
background:#ff4d2e;
color:#000;
}


.label-danger {
background:#e64524!important;
color:#621501!important;
background:#ff8f3d!important;
color:#000!important;
}

.label-medium {
background-color: orange;
color:#621501;
background-color: #ffce66;
color:#000;
}

.label-low {
background: #007CBB;
color:#cab6b1;
background: #fff1ad;
color:#000;
}

.label-none {
background-color: grey;
color:#bad7ba;
background-color: #2ec0ff;
color:#000;
}

.no-border {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,23 @@ $twenty-two-pixel: 18px;
}

.bar-block-critical {
background-color: red;
background-color: #ff4d2e;
}

.bar-block-high {
background-color: #e64524;
background-color: #ff8f3d;
}

.bar-block-medium {
background-color: orange;
background-color: #ffce66;
}

.bar-block-low {
background-color: #007CBB;
background-color: #fff1ad;
}

.bar-block-none {
background-color: green;
background-color: #2ec0ff;
}

.bar-block-unknown {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,29 +157,28 @@ hr{
}

.label-critical {
background:red;
color:#621501;
background:#ff4d2e;
color:#000;
}


.label-danger {
background:#e64524!important;
color:#621501!important;
background:#ff8f3d!important;
color:#000!important;
}

.label-medium {
background-color: orange;
color:#621501;
background-color: #ffce66;
color:#000;
}

.label-low {
background: #007CBB;
color:#cab6b1;
background: #fff1ad;
color:#000;
}

.label-none {
background-color: grey;
color:#bad7ba;
background-color: #2ec0ff;
color:#000;
}

.no-border {
Expand Down

0 comments on commit d3907f6

Please sign in to comment.