Skip to content

pantoken-root / layouts

layouts ​

Bêta

@pantoken/plugin-layouts — enregistrements de composition de mise en page pour les consommateurs en aval.

Exemple ​

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

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

Interfaces ​

Variables ​

Fonctions ​