github chakra-ui/panda @pandacss/preset-base@1.7.3

latest releases: @pandacss/preset-open-props@1.7.3, @pandacss/shared@1.7.3, @pandacss/reporter@1.7.3...
7 hours ago

Patch Changes

  • ac2fb5c: Gradient Utilities: Fixed token() and brace syntax not working in bgGradient, bgLinear, and
    textGradient utilities.

    Before this fix, using token references in gradient values would not expand correctly:

    // ❌ Before: token references were ignored
    css({ bgGradient: 'linear-gradient({colors.red.200}, {colors.blue.300})' })
    // Output: background-image: linear-gradient(var(--gradient-stops))
    
    // ✅ After: token references are properly expanded
    css({ bgGradient: 'linear-gradient({colors.red.200}, {colors.blue.300})' })
    // Output: background-image: linear-gradient(var(--colors-red-200), var(--colors-blue-300))

    Both token() function syntax and brace syntax {...} now work correctly in gradient utilities.

    • @pandacss/types@1.7.3

Don't miss a new panda release

NewReleases is sending notifications on new releases.