MCPcopy
hub / github.com/tailwindlabs/tailwindcss / resolveValue

Method resolveValue

packages/tailwindcss/src/theme.ts:237–243  ·  view source on GitHub ↗
(candidateValue: string | null, themeKeys: ThemeKey[])

Source from the content-addressed store, hash-verified

235 }
236
237 resolveValue(candidateValue: string | null, themeKeys: ThemeKey[]): string | null {
238 let themeKey = this.#resolveKey(candidateValue, themeKeys)
239
240 if (!themeKey) return null
241
242 return this.values.get(themeKey)!.value
243 }
244
245 resolveWith(
246 candidateValue: string,

Callers 4

optimizeAstFunction · 0.80
createVariantsFunction · 0.80
registerScreensConfigFunction · 0.80

Calls 2

#resolveKeyMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected