Skip to content

pantoken / custom-components

custom-components

Beta

@pantoken/plugin-custom-components — ngā waahanga ritenga mō ngā kaiwhakamahi heke iho.

Tauira

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

Ngā Atanga

Ngā Mahi

Ngā Tohutoro

default

Huri ingoa ka kaweake anō customComponents