Skip to content

Commit 9e2f672

Browse files
committed
fix: a few color contrast fixes for dashboard charts
1 parent 854e957 commit 9e2f672

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

plugins/plugin-codeflare/web/scss/components/Dashboard/Charts.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
padding-left: 1em;
3232
padding-right: 1em;
3333
--pf-c-tile__title--Color: var(--color-text-01);
34-
--pf-c-tile--before--BorderColor: var(--color-table-border3);
34+
--pf-c-tile--before--BorderColor: var(--color-base00);
3535
}
3636
}

plugins/plugin-codeflare/web/scss/themes/Mirage.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ $fg: #f9f9f9;
2424
$bg: #121a25;
2525
$bg2: lighten($bg, 10%);
2626
$bg3: lighten($bg, 5%);
27-
$latency-0: #02948e;
28-
$latency-1: #80b7b4;
27+
$latency-0: #80b7b4;
28+
$latency-1: #02948e;
2929
$latency-2: color.scale(#d0981b, $lightness: 10%);
3030
$latency-3: #e6e6e7;
3131
$latency-4: #726b73;

plugins/plugin-codeflare/web/scss/themes/Onyx.scss

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17+
@use "sass:color";
1718
@import "fonts";
1819
@import "common";
1920

@@ -23,14 +24,14 @@ $fg: #ffffff;
2324
$fg3: #cbcbcb;
2425
$bg: #0e0e0e;
2526
$bg2: lighten($bg, 10%);
26-
$latency-0: #60b1aa;
27-
$latency-1: #c5e6e3;
28-
$latency-2: #c83b22;
27+
$latency-0: #c5e6e3;
28+
$latency-1: #60b1aa;
29+
$latency-2: color.scale(#c83b22, $lightness: 20%);
2930
$latency-3: #f2bba3;
3031
$latency-4: #d76344;
3132
$latency-5: #929292;
3233

33-
$color-red: $latency-2;
34-
$color-cyan: $latency-1;
34+
$color-red: #c83b22;
35+
$color-cyan: $latency-0;
3536

3637
@include Theme($Theme);

plugins/plugin-codeflare/web/scss/themes/Tuatara.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ $fg2: color.scale($bg, $lightness: 3%);
2626
$fg3: color.scale($fg, $saturation: -80%, $lightness: -40%);
2727
$fg4: color.scale($fg, $lightness: -10%);
2828
$bg2: color.scale($bg, $lightness: -3%);
29-
$latency-0: color.scale(#9dd5dd, $saturation: -10%);
30-
$latency-1: color.scale(color.adjust(#9dd5dd, $hue: -40deg), $saturation: 50%, $lightness: 50%);
31-
$latency-2: color.scale(#e58f5e, $lightness: -10%);
29+
$latency-0: color.scale(color.adjust(#9dd5dd, $hue: -40deg), $saturation: 50%, $lightness: 50%);
30+
$latency-1: color.scale(#9dd5dd, $saturation: -10%);
31+
$latency-2: color.scale(#e58f5e, $lightness: -5%);
3232
$latency-3: #d5dd9d;
3333
$latency-4: #e8cd8f;
3434
$latency-5: #9db5dd;

0 commit comments

Comments
 (0)