Skip to content

Conversation

segunadebayo
Copy link
Member

@segunadebayo segunadebayo commented Sep 1, 2025

📝 Description

Add support for controlling the color palette generation via theme.colorPalette property.

// Disable color palette generation completely
export default defineConfig({
  theme: {
    colorPalette: {
      enabled: false,
    },
  },
})

// Include only specific colors
export default defineConfig({
  theme: {
    colorPalette: {
      include: ['gray', 'blue', 'red'],
    },
  },
})

// Exclude specific colors
export default defineConfig({
  theme: {
    colorPalette: {
      exclude: ['yellow', 'orange'],
    },
  },
})

⛳️ Current behavior (updates)

Color Palette is always generated

🚀 New behavior

Granular control over the colorPalette feature (opt out or configure)

💣 Is this a breaking change (Yes/No):

No

📝 Additional Information

Copy link

changeset-bot bot commented Sep 1, 2025

🦋 Changeset detected

Latest commit: 61c020f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 20 packages
Name Type
@pandacss/types Minor
@pandacss/token-dictionary Minor
@pandacss/core Minor
@pandacss/config Minor
@pandacss/generator Minor
@pandacss/dev Minor
@pandacss/logger Minor
@pandacss/node Minor
@pandacss/parser Minor
@pandacss/preset-atlaskit Minor
@pandacss/preset-base Minor
@pandacss/preset-open-props Minor
@pandacss/preset-panda Minor
@pandacss/reporter Minor
@pandacss/studio Minor
@pandacss/astro-plugin-studio Minor
@pandacss/postcss Minor
@pandacss/extractor Minor
@pandacss/is-valid-prop Minor
@pandacss/shared Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Sep 1, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
panda-docs Ready Ready Preview Sep 1, 2025 6:32pm
panda-playground Ready Ready Preview Sep 1, 2025 6:32pm
panda-studio Ready Ready Preview Sep 1, 2025 6:32pm

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 this pull request may close these issues.

1 participant