Skip to content

pantoken-root / plugins/pantoken/custom-theme-colors/src / customColorRemapCss

Function: customColorRemapCss() ​

customColorRemapCss(options?): string

Beta

The [data-pantoken-color="custom"] remap rule without the derived primitives, for pages that set --instui-primitive-color-custom-custom* themselves at runtime (e.g. from a colour picker).

Parameters ​

options? ​

CustomColorCssOptions = {}

CustomColorCssOptions.

Returns ​

string

The CSS rules string.