Function: colorCssVariables() ​
ts
function colorCssVariables(css): Record<string, string>;Defined in: colorThemes.ts:543
The custom properties a person's colour CSS sets on the whole page: the declarations in its top-level :root and html rules, later ones winning. Rules for anything narrower recolour parts of the web interface, which a client drawing its own has no equivalent for.
Parameters ​
| Parameter | Type |
|---|---|
css | string | null | undefined |
Returns ​
Record<string, string>