Skip to content

pantoken-root / custom-theme-colors

custom-theme-colors ​

Beta

@pantoken/plugin-custom-components — aşağı akış tüketicileri için özel bileşenler.

Tüm 13 renk ad alanı için kısıtlı :root[data-pantoken-color="…"] ve :root[data-pantoken-theme="canvasHighContrast"][data-pantoken-color="…"] kurallarını yayımlar (navy, blue, green, red, orange, grey, plum, violet, stone, sky, honey, sea, aurora).)

Örnek ​

ts
import { toCss } from "@pantoken/css";
import { byTheme } from "@pantoken/tokens";
import { customThemeColors } from "@pantoken/plugin-custom-theme-colors";

const css = toCss(byTheme("rebrand"), { plugins: [customThemeColors()] });

Arayüzler ​

Tür Takma Adları ​

Değişkenler ​

Fonksiyonlar ​

Başvurular ​

default ​

Yeniden adlandırır ve yeniden dışa aktarır customIcons