MCPcopy Create free account
hub / github.com/chakra-ui/panda / transform

Method transform

packages/core/src/patterns.ts:61–65  ·  view source on GitHub ↗
(name: string, styles: Dict)

Source from the content-addressed store, hash-verified

59 }
60
61 transform(name: string, styles: Dict): Dict {
62 const pattern = this.patterns[name]
63 const _styles = getPatternStyles(pattern, styles)
64 return pattern?.transform?.(_styles, this.options.helpers) ?? {}
65 }
66
67 getNames(name: string): PatternNames {
68 const upperName = capitalize(name)

Callers

nothing calls this directly

Calls 1

getPatternStylesFunction · 0.90

Tested by

no test coverage detected