diff --git a/src/js/styles.css b/src/js/styles.css index 3e6838d..494f0fa 100644 --- a/src/js/styles.css +++ b/src/js/styles.css @@ -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;