Skip to content

pantoken-root / 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

接口 ​

变量 ​

函数 ​