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

Function candidatesToCss

packages/tailwindcss/src/design-system.ts:146–150  ·  view source on GitHub ↗
(classes: string[])

Source from the content-addressed store, hash-verified

144 }
145
146 function candidatesToCss(classes: string[]): (string | null)[] {
147 return candidatesToAst(classes).map((nodes) => {
148 return nodes.length > 0 ? toCss(nodes) : null
149 })
150 }
151
152 let designSystem: DesignSystem = {
153 theme,

Callers

nothing calls this directly

Calls 2

toCssFunction · 0.90
candidatesToAstFunction · 0.85

Tested by

no test coverage detected