Skip to content

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

Fonksiyon: customThemeColorsCss() ​

customThemeColorsCss(tokens?, options?): string

Beta

Tüm özel tema renk seçenekleri için primitf renk ölçeği adımlarını yeniden eşleyerek CSS kuralları üretir (--instui-primitive-color-navy-* and --instui-primitive-color-blue-*), açıkça adlandırılmış mavi vurgu tokenlerini koruyarak .

Parametreler ​

tokens? ​

salt okunur Token[]

Primitif adım renk aramaları için isteğe bağlı token dizisi veya harita.

options? ​

CustomThemeColorsCssOptions = {}

CustomThemeColorsCssOptions.

Döndürür ​

string

CSS kuralları dizesi.