github chakra-ui/panda @pandacss/shared@0.5.0

latest releases: @pandacss/types@0.49.0, @pandacss/token-dictionary@0.49.0, @pandacss/generator@0.49.0...
18 months ago

Minor Changes

  • ead9eaa: Add support for tagged template literal version.

    This features is pure css approach to writing styles, and can be a great way to migrate from styled-components and
    emotion.

    Set the syntax option to template-literal in the panda config to enable this feature.

    // panda.config.ts
    export default defineConfig({
      //...
      syntax: 'template-literal',
    })

    For existing projects, you might need to run the panda codegen --clean

    You can also use the --syntax option to specify the syntax type when using the CLI.

    panda init -p --syntax template-literal

    To get autocomplete for token variables, consider using the
    CSS Var Autocomplete extension.

Patch Changes

  • 60df9bd: Fix issue where escaping classname doesn't work when class starts with number.

Don't miss a new panda release

NewReleases is sending notifications on new releases.