github chakra-ui/panda @pandacss/token-dictionary@0.50.0

latest releases: @pandacss/token-dictionary@0.51.1, @pandacss/types@0.51.1, @pandacss/studio@0.51.1...
9 days ago

Minor Changes

  • ad89b90: Add support for semantic tokens in composite shadow blur, offsetX, offsetY and spread properties.

    This enables the use of semantic tokens in composite shadow properties.

    // panda.config.ts
    
    export default defineConfig({
      theme: {
        tokens: {
          // ...
          shadows: {
            sm: {
              value: {
                offsetX: '{spacing.3}',
                offsetY: '{spacing.3}',
                blur: '1rem',
                spread: '{spacing.3}',
                color: '{colors.red}',
              },
            },
          },
        },
      },
    })

Patch Changes

  • Updated dependencies [fea78c7]
  • Updated dependencies [ad89b90]
    • @pandacss/types@0.50.0
    • @pandacss/logger@0.50.0
    • @pandacss/shared@0.50.0

Don't miss a new panda release

NewReleases is sending notifications on new releases.