Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pandacss/preset-panda

Package Overview
Dependencies
Maintainers
1
Versions
694
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pandacss/preset-panda - npm Package Versions

1
70

0.0.0-dev-20240812145328

Diff

segunadebayo
published 0.0.0-dev-20240810221208 •

segunadebayo
published 0.0.0-dev-20240810183704 •

segunadebayo
published 0.0.0-dev-20240810131118 •

segunadebayo
published 0.45.0 •

Changelog

Source

[0.45.0] - 2024-08-06

Fixed

  • Fix issue where composite border token with width: 1px renders 1pxpx in CSS
  • Fix issue where divideY and divideColor utilities, used together in a recipe, doesn't generate the correct css.

Added

Add support resolving DEFAULT in textStyles and layerStyles, just like tokens.

export default defineConfig({
  theme: {
    textStyles: {
      display: {
        // 'display'
        DEFAULT: {
          value: {
            fontSize: '1.5rem',
            fontWeight: 'bold',
          },
        },
        // 'display.large'
        large: {
          value: {
            fontSize: '2rem',
            fontWeight: 'bold',
          },
        },
      },
    },
  },
})

In case, you can use textStyles: display to reference the DEFAULT display value.

css({ textStyle: 'display' })

Changed

Remove base from css or pattern style objects. The base keyword is only supported in recipes or conditional styles.

Before

hstack({
  // ❌ doesn't work
  base: {
    background: 'red.400',
    p: '11',
  },
  display: 'flex',
  flexDirection: 'column',
})

After

hstack({
  // ✅ works
  background: 'red.400',
  p: '11',
  display: 'flex',
  flexDirection: 'column',
})
segunadebayo
published 0.0.0-dev-20240804095701 •

segunadebayo
published 0.0.0-dev-20240730123712 •

segunadebayo
published 0.0.0-dev-20240730122032 •

segunadebayo
published 0.0.0-dev-20240730101302 •

segunadebayo
published 0.0.0-dev-20240727164156 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc