Skip to content

pantoken-root / custom-components

custom-components ​

בטא

@pantoken/plugin-custom-components — רכיבים מותאמים לצרכנים במורד.

דוגמה ​

ts
import { toCss } from "@pantoken/css";
import { byTheme } from "@pantoken/tokens";
import { customComponents } from "@pantoken/plugin-custom-components";

const css = toCss(byTheme("rebrand"), { plugins: [customComponents()] });
// appends all custom-component rules to the token sheet

ממשקים ​

פונקציות ​

הפניות ​

default ​

משנה שם ומייצא מחדש customComponents