UNPKG

@pandacss/studio

Version:

The automated token documentation for Panda CSS

15 lines (12 loc) 393 B
import { getPatternStyles, patternFns } from '../helpers.mjs'; import { css } from '../css/index.mjs'; const boxConfig = { transform(props) { return props; }} export const getBoxStyle = (styles = {}) => { const _styles = getPatternStyles(boxConfig, styles) return boxConfig.transform(_styles, patternFns) } export const box = (styles) => css(getBoxStyle(styles)) box.raw = getBoxStyle