Skip to content

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

Funzione: customColorRemapCss() ​

customColorRemapCss(options?): string

Beta

La regola di rimappatura [data-pantoken-color="custom"] senza le primitive derivate, per pagine che impostano --instui-primitive-color-custom-custom* da sole a runtime (per es. tramite un selettore di colore)).

Parametri ​

options? ​

CustomColorCssOptions = {}

CustomColorCssOptions.

Restituisce ​

string

La stringa delle regole CSS.