github chakra-ui/panda @pandacss/types@1.5.0

12 hours ago

Minor Changes

  • 91c65ff: 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'],
        },
      },
    })

Don't miss a new panda release

NewReleases is sending notifications on new releases.