Skip to content

Commit 6726f14

Browse files
committed
fix: in some themes, the chart tile had no contrast with the background
1 parent 644fb4c commit 6726f14

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
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
@@ -25,7 +25,7 @@
2525
}
2626

2727
@include ChartContainer {
28-
background-color: var(--color-base01);
28+
background-color: var(--color-base00);
2929

3030
&.pf-c-tile {
3131
padding-left: 1em;

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@ body.kui--patternfly4[kui-theme="PatternFly4 Dark"][kui-theme-style] {
6060
--color-latency-0: #73c5c5;
6161
--color-latency-1: #a2d9d9;
6262
--color-latency-2: #ef9234;
63-
64-
@include ChartContainer {
65-
background-color: var(--color-base00);
66-
}
6763
}
6864
}
6965

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ $fg: #f9f9f9;
2424
$bg: #121a25;
2525
$bg2: lighten($bg, 10%);
2626
$bg3: lighten($bg, 5%);
27+
$fg2: color.scale($bg, $lightness: 5%);
2728
$latency-0: #80b7b4;
2829
$latency-1: #02948e;
2930
$latency-2: color.scale(#d0981b, $lightness: 10%);

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ $fg: #ffffff;
2424
$fg3: #cbcbcb;
2525
$bg: #0e0e0e;
2626
$bg2: lighten($bg, 10%);
27+
$fg2: color.scale($bg, $lightness: 5%);
2728
$latency-0: #c5e6e3;
2829
$latency-1: #60b1aa;
2930
$latency-2: color.scale(#c83b22, $lightness: 20%);

0 commit comments

Comments
 (0)