diff --git a/src/lib/components/FinancialChart.svelte b/src/lib/components/FinancialChart.svelte index 55716059..181ee454 100644 --- a/src/lib/components/FinancialChart.svelte +++ b/src/lib/components/FinancialChart.svelte @@ -2,6 +2,7 @@ import highcharts from "$lib/highcharts.ts"; import { abbreviateNumber } from "$lib/utils"; import Lazy from "svelte-lazy"; + import { mode } from "mode-watcher"; import { onMount } from "svelte"; export let data; @@ -20,8 +21,8 @@ return { chart: { type: "column", - backgroundColor: "#09090B", - plotBackgroundColor: "#09090B", + backgroundColor: $mode === "light" ? "#fff" : "#09090B", + plotBackgroundColor: $mode === "light" ? "#fff" : "#09090B", height: 360, animation: false, }, @@ -47,19 +48,19 @@ title: { text: `