Skip to content

pantoken-root / layouts

layouts ​

เบต้า

@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

อินเทอร์เฟซ ​

ตัวแปร ​

ฟังก์ชัน ​