Skip to content

pantoken / custom-components

custom-components

Bèta

@pantoken/plugin-custom-components — aangepaste componenten voor downstream-gebruikers.

Voorbeeld

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

Interfaces

Functies

Referenties

default

Hernoemt en her-exporteert customComponents