Skip to content

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

Interfaces

Type Aliases

Variables

Functions

References

default

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