@pantoken/plugin-stacking
v1.0.7
Published
pantoken plugin: named z-index depths (deepest, below, above, topmost) as --instui-stacking-* tokens, from InstUI's view stacking scale (the .instui-stack-* utility classes live in @pantoken/components).
Downloads
1,084
Readme
@pantoken/plugin-stacking
Named z-index depths from InstUI's view stacking scale — deepest, below, above, topmost — as
--instui-stacking-* tokens. The matching .instui-stack-* utility classes now live in
@pantoken/components' own stacking utility — this plugin only bakes the tokens for consumers
using the lower-level @pantoken/css/@pantoken/tokens pipeline directly.
import { buildTokens } from "@pantoken/core/build";
import { stacking } from "@pantoken/plugin-stacking";
const tokens = buildTokens({ theme: "rebrand", plugins: [stacking()] });
// → includes --instui-stacking-topmost: …