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

Method constructor

packages/core/src/static-css.ts:36–42  ·  view source on GitHub ↗
(private context: StaticCssContext)

Source from the content-addressed store, hash-verified

34 private wildcardCache = new Map<string, (string | number)[]>()
35
36 constructor(private context: StaticCssContext) {
37 this.encoder = context.encoder
38 this.decoder = context.decoder
39
40 this.breakpointKeys = Object.keys(context.config.theme?.breakpoints ?? {})
41 this.conditionKeys = Object.keys(context.config.conditions ?? {})
42 }
43
44 clone() {
45 this.encoder = this.encoder.clone()

Callers

nothing calls this directly

Calls 1

keysMethod · 0.80

Tested by

no test coverage detected