Skip to content

pantoken-root / custom-theme-colors

custom-theme-colors ​

Beta

@pantoken/plugin-custom-components — مكونات مخصصة للمستهلكين اللاحقين.

يصدر قواعد مُحددة النطاق :root[data-pantoken-color="…"] و :root[data-pantoken-theme="canvasHighContrast"][data-pantoken-color="…"]

لجميع مساحات أسماء الألوان الـ13 (navy, blue, green, red, orange, grey, plum, violet, stone, sky, honey, sea, aurora).)

Example ​

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()] });

الواجهات ​

الأسماء المستعارة للنوع ​

المتغيرات ​

الدوال ​

References ​

default ​

يعيد تسمية ويُعيد تصدير customIcons