astahmer / pandabox

a toolbox for Panda CSS
https://pandabox.vercel.app/
48 stars 3 forks source link

Request for deny list when using pluginStrictTokensScope #54

Open k35o opened 4 months ago

k35o commented 4 months ago

I want to set up deny list when I set up categories in pluginStrictTokensScope.

example.

import { defineConfig } from '@pandacss/dev'
import { pluginStrictTokensScope } from '@pandabox/panda-plugins'

export default defineConfig({
  // ...
  strictTokens: true,
  // can also be used together with
  // strictPropertyValues: true,
  //
  plugins: [
    pluginStrictTokensScope({ excludeCategories: ['colors', 'spacing'] }),
  ],
})
astahmer commented 4 months ago

hey, yeah that makes sense, would you like to send a PR ?

k35o commented 4 months ago

Yes! I've created a PR in #58. Could you please review it?