Skip to content

Commit e6135a9

Browse files
committed
fix: tooltip background is now var(--plot-background) to fix observablehq#2080
1 parent 17ed038 commit e6135a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ export function plot(options = {}) {
258258
// Warning: if you edit this, change defaultClassName.
259259
svg.append("style").text(
260260
`:where(.${className}) {
261-
--plot-background: white;
261+
background: var(--plot-background);
262262
display: block;
263263
height: auto;
264264
height: intrinsic;

0 commit comments

Comments
 (0)