From 45fff6897e2fb1bcc5678b75dec9bddff6979f08 Mon Sep 17 00:00:00 2001 From: Joel Ostblom Date: Mon, 17 Oct 2022 08:11:56 -0700 Subject: [PATCH] fix: color outline correctly in dark theme (#414) For the default light theme, the color of the chart outline is the same as the color of the gridlines: ![image](https://user-images.githubusercontent.com/4560057/195416031-55868c63-f51c-4fda-b318-2df9c0ae13fd.png) But for dark charts it is instead the same as the axis line: ![image](https://user-images.githubusercontent.com/4560057/195416167-c518d9b5-8484-4a8f-81f2-f73f342cbe9c.png) This PR sets it to be the same in dark mode as well --- src/theme-dark.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/theme-dark.ts b/src/theme-dark.ts index 99c0e5e8..4ee580f3 100644 --- a/src/theme-dark.ts +++ b/src/theme-dark.ts @@ -5,7 +5,11 @@ const medColor = '#888'; const darkTheme: Config = { background: '#333', - + + view: { + stroke: medColor, + }, + title: { color: lightColor, subtitleColor: lightColor,