Skip to content

Commit 9f13e7a

Browse files
committed
fix: set correct colors for not applicable ono chartts
1 parent 971ad5a commit 9f13e7a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

confiture-web-app/src/components/ChartLegend.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@
4040
background-color: var(--background-action-high-error);
4141
}
4242
.legend-color.not-applicable {
43-
background-color: var(--border-plain-grey);
43+
background-color: var(--grey-200-850);
4444
}
4545
</style>

confiture-web-app/src/components/StackBarChart.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const chartDatasets = [
5454
{
5555
label: "Non applicable",
5656
data: props.data.map((d) => d.notApplicable.percentage),
57-
backgroundColor: getCssVarValue("--background-contrast-grey"),
57+
backgroundColor: getCssVarValue("--grey-200-850"),
5858
barThickness: 16,
5959
},
6060
];

confiture-web-app/src/composables/useChartColorsUpdate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function useChartColorsUpdate(
2828
const newColors = [
2929
getCssVarValue("--background-action-high-success"),
3030
getCssVarValue("--background-action-high-error"),
31-
getCssVarValue("--border-plain-grey"),
31+
getCssVarValue("--grey-200-850"),
3232
];
3333

3434
setNewColors(chart, newColors);

0 commit comments

Comments
 (0)