Skip to content

pantoken / 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