Skip to content

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

ฟังก์ชัน: customColorRemapCss() ​

customColorRemapCss(options?): string

เบต้า

กฎการแม็ปซ้ำ [data-pantoken-color="custom"] โดยไม่รวม primitive ที่ได้มา สำหรับหน้าเพจที่ตั้งค่า --instui-primitive-color-custom-custom* ด้วยตัวเองขณะรันไทม์ (เช่น จากตัวเลือกสี)).

พารามิเตอร์ ​

options? ​

CustomColorCssOptions = {}

CustomColorCssOptions.

คืนค่า ​

string

สตริงกฎ CSS.