Skip to content

Releases: chakra-ui/panda

@pandacss/[email protected]

27 Dec 20:10
c4b8348
Compare
Choose a tag to compare

Minor Changes

  • fea78c7: Adds support for static analysis of used tokens and recipe variants. It helps to get a birds-eye view of how
    your design system is used and answers the following questions:

    • What tokens are most used?
    • What recipe variants are most used?
    • How many hardcoded values vs tokens do we have?
    panda analyze --scope=<token|recipe>

    Still work in progress but we're excited to get your feedback!

  • 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}',
              },
            },
          },
        },
      },
    })

@pandacss/[email protected]

27 Dec 20:10
c4b8348
Compare
Choose a tag to compare

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

@pandacss/[email protected]

27 Dec 20:10
c4b8348
Compare
Choose a tag to compare

Patch Changes

@pandacss/[email protected]

27 Dec 20:10
c4b8348
Compare
Choose a tag to compare

@pandacss/[email protected]

27 Dec 20:10
c4b8348
Compare
Choose a tag to compare

Minor Changes

  • fea78c7: Adds support for static analysis of used tokens and recipe variants. It helps to get a birds-eye view of how
    your design system is used and answers the following questions:

    • What tokens are most used?
    • What recipe variants are most used?
    • How many hardcoded values vs tokens do we have?
    panda analyze --scope=<token|recipe>

    Still work in progress but we're excited to get your feedback!

Patch Changes

@pandacss/[email protected]

27 Dec 20:10
c4b8348
Compare
Choose a tag to compare

Patch Changes

@pandacss/[email protected]

27 Dec 20:10
c4b8348
Compare
Choose a tag to compare

Patch Changes

@pandacss/[email protected]

27 Dec 20:10
c4b8348
Compare
Choose a tag to compare

Patch Changes

@pandacss/[email protected]

27 Dec 20:10
c4b8348
Compare
Choose a tag to compare

Patch Changes

@pandacss/[email protected]

27 Dec 20:10
c4b8348
Compare
Choose a tag to compare

Patch Changes