Skip to content

1-line bug (--plot-background: white;) #2081

Answered by Fil
ryancwalsh asked this question in Q&A
Discussion options

You must be logged in to vote

The corresponding selector is where(.plot) which has specificity 0, allowing you to override this color with, e.g.:

.plot {
    --plot-background: red;
}

or maybe more precisely:

.plot [aria-label=tip] {
    --plot-background: red;
}

You can wrap this in your dark mode definitions.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by mbostock
Comment options

You must be logged in to vote
2 replies
@mbostock
Comment options

@ryancwalsh
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #2080 on June 10, 2024 17:35.