Gets a CSS variable.
// Fetch --accent variable, or use `yellow` if not found.getCssVariable(`accent`, `yellow`); Copy
// Fetch --accent variable, or use `yellow` if not found.getCssVariable(`accent`, `yellow`);
Name of variable. Leading '--' is unnecessary
Fallback colour if not found
Optional
Element to search variable from
Colour or fallback.
Gets a CSS variable.