5 lines
444 B
JavaScript
5 lines
444 B
JavaScript
|
/**
|
||
|
* @internal These variables should not appear in the :root stylesheet when the `defaultMode="dark"`
|
||
|
*/
|
||
|
const excludeVariablesFromRoot = cssVarPrefix => [...[...Array(24)].map((_, index) => `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}overlays-${index + 1}`), `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}palette-AppBar-darkBg`, `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}palette-AppBar-darkColor`];
|
||
|
export default excludeVariablesFromRoot;
|