diff --git a/src/js/utils/draw.js b/src/js/utils/draw.js index 00617e0..c834b7b 100644 --- a/src/js/utils/draw.js +++ b/src/js/utils/draw.js @@ -371,7 +371,7 @@ export function legendDot( export function makeText(className, x, y, content, options = {}) { let fontSize = options.fontSize || FONT_SIZE; let dy = options.dy !== undefined ? options.dy : fontSize / 2; - let fill = options.fill || FONT_FILL; + let fill = options.fill || "var(--charts-label-color)"; let textAnchor = options.textAnchor || "start"; return createSVG("text", { className: className,