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

Function resolve

packages/tailwindcss/src/utilities.ts:301–307  ·  view source on GitHub ↗
(themeKeys: ThemeKey[])

Source from the content-addressed store, hash-verified

299 */
300 function suggest(classRoot: string, defns: () => SuggestionDefinition[]) {
301 function* resolve(themeKeys: ThemeKey[]) {
302 for (let value of theme.keysInNamespaces(themeKeys)) {
303 yield value.replace(LEGACY_NUMERIC_KEY, (_, a, b) => {
304 return `${a}.${b}`
305 })
306 }
307 }
308
309 let suggestedFractions = [
310 '1/2',

Callers 6

suggestFunction · 0.70
packFunction · 0.50
execFunction · 0.50
getRandomPortFunction · 0.50
next.test.tsFile · 0.50
index.test.tsFile · 0.50

Calls 1

keysInNamespacesMethod · 0.80

Tested by

no test coverage detected