Skip to content

Commit

Permalink
Merge pull request #20396 from apache/fix/legend-page-text-color-in-d…
Browse files Browse the repository at this point in the history
…ark-theme

fix(theme): fix legend page text color in dark mode
  • Loading branch information
Ovilia authored Oct 8, 2024
2 parents 869ec5e + 4704cbc commit b33058e
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 b33058e

Please sign in to comment.