Skip to content

Commit

Permalink
fix: color outline correctly in dark theme (#414)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
joelostblom authored Oct 17, 2022
1 parent a3b47f4 commit 45fff68
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/theme-dark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ const medColor = '#888';

const darkTheme: Config = {
background: '#333',


view: {
stroke: medColor,
},

title: {
color: lightColor,
subtitleColor: lightColor,
Expand Down

0 comments on commit 45fff68

Please sign in to comment.