Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for deny list when using pluginStrictTokensScope #54

Open
k35o opened this issue May 17, 2024 · 2 comments · May be fixed by #58
Open

Request for deny list when using pluginStrictTokensScope #54

k35o opened this issue May 17, 2024 · 2 comments · May be fixed by #58

Comments

@k35o
Copy link
Contributor

k35o commented May 17, 2024

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
Copy link
Owner

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

@k35o k35o linked a pull request May 30, 2024 that will close this issue
@k35o
Copy link
Contributor Author

k35o commented May 30, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants