Skip to content

pantoken-root / layouts

layouts ​

Beta

@pantoken/plugin-layouts — catatan komposisi tata letak untuk konsumen hilir.

Contoh ​

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

Antarmuka ​

Variabel ​

Fungsi ​