Skip to content

Commit

Permalink
fix(theme): fix legend page text color in dark mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
plainheart committed Oct 8, 2024
1 parent 869ec5e commit 4704cbc
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/theme/dark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ const theme = {
legend: {
textStyle: {
color: contrastColor
},
pageTextStyle: {
color: contrastColor
}
},
textStyle: {
Expand Down
28 changes: 27 additions & 1 deletion test/legend.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4704cbc

Please sign in to comment.