Skip to content

Commit

Permalink
fix: tooltip background in dark and current themes
Browse files Browse the repository at this point in the history
  • Loading branch information
juba committed Feb 8, 2024
1 parent e75708c commit 27e2fb7
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/js/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,18 @@

.pyobsplot-plot.dark svg,
.pyobsplot-plot.dark figure {
--plot-background: black;
color: white;
background-color: black;
}

.pyobsplot-plot.dark [aria-label=tip][fill=white] {
fill: black;
}

.pyobsplot-plot.current svg,
.pyobsplot-plot.current figure {
--plot-background: transparent;
color: currentColor;
background-color: transparent;
}

.pyobsplot-plot.current [aria-label=tip][fill=white] {
fill: white;
color: black;
}

/* VSCode workarounds */
.cell-output-ipywidget-background:has(.p-Widget):has(.pyobsplot-plot.dark) {
background-color: black !important;
Expand Down

0 comments on commit 27e2fb7

Please sign in to comment.