Skip to content

pantoken / layouts

layouts

Beta(測試)

@pantoken/plugin-layouts — 供下游消費者使用的佈局組合記錄。

範例

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

介面

變數

函式