astahmer / pandabox

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

Request for deny list when using pluginStrictTokensScope #54

Open k35o opened 6 months ago

k35o commented 6 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 5 months ago

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

k35o commented 5 months ago

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