css-vars-ponyfill react theme
import cssVars from "css-vars-ponyfill";
cssVars({
variables: {
"--nav-txt-color": theme.navTxtColor,
"--nav-bg-color": theme.navBgColor,
"--primary-txt-color": theme.primaryTxtColor,
"--secondary-txt-color": theme.secondaryTxtColor,
"--primary-bg": theme.primaryBg,
"--card-bg": theme.cardBg,
"--card-txt": theme.cardTxt,
"--btn-txt": theme.btnTxt,
"--btn-bg": theme.btnBG,
"--btn-border": theme.btnBorder,
"--btn-txt-focus": theme.btnTxtFocus,
"--btn-bg-focus": theme.btnBgFocus,
"--graph-color": theme.graphColor,
"--icon-color": theme.iconColor
}
});