CSS variable support for styling (via JS API)

This issue has been tracked since 2021-11-04.

use case: easy dark/light mode switch, or themes

const el = document.getElementById("myVizzu");
const styles = window.getComputedStyle(el);
styles.getPropertyValue("--plot-marker-label-position");
// style: { plot: { marker: { label: { position: "whatever"}}}}
More Details About Repo
Owner Name vizzuhq
Repo Name vizzu-lib
Full Name vizzuhq/vizzu-lib
Language JavaScript
Created Date 2021-06-07
Updated Date 2022-11-22
Star Count 1630
Watcher Count 19
Fork Count 65
Issue Count 17

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date