Skip to content

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

函数: customColorRemapCss() ​

customColorRemapCss(options?): string

Beta

[data-pantoken-color="custom"] 重映射规则(不含派生原语),适用于在运行时自行设置 --instui-primitive-color-custom-custom* 的页面(例如来自颜色选择器) 。

参数 ​

options? ​

CustomColorCssOptions = {}

CustomColorCssOptions.

返回值 ​

string

CSS 规则字符串。