@pandabox/panda-plugins@0.0.2
github-actions
released this
24 Feb 23:49
·
63 commits
to main
since this release
Patch Changes
-
8471320: Add
pluginMinimalSetup
/pluginStrictTokensScope
/pluginRemoveFeatures
/pluginRemoveNegativeSpacing
@pandabox/panda-plugins
strict-tokens-scope
- EnforcestrictTokens
only for a set ofTokenCategory
or style propsremove-negative-spacing
- Removes negative spacing tokensremove-features
- Removes features from thestyled-system
minimal-setup
- Removes the built-in presets and allow removing features from thestyled-system
Installation
pnpm add -D @pandabox/panda-plugins
Usage
import { defineConfig } from "@pandacss/dev"; import { pluginStrictTokensScope, pluginRemoveNegativeSpacing, pluginRemoveFeatures, } from "@pandabox/panda-plugins"; export default defineConfig({ // ... strictTokens: true, // can also be used together with // strictPropertyValues: true, // plugins: [ pluginStrictTokensScope({ categories: ["colors", "spacing"] }), pluginRemoveFeatures({ features: ["no-jsx", "no-cva"] }), pluginRemoveNegativeSpacing({ spacingTokenType: true, tokenType: true }), ], });