printUnprefixedCandidate() — tailwindcss Function Reference
Architecture documentation for the printUnprefixedCandidate() function in canonicalize-candidates.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 4ecd38ab_ffd3_a327_598e_f401f4635827["printUnprefixedCandidate()"] 01e4e3ab_c239_9968_db7d_75f3fe76fa96["deprecatedUtilities()"] 01e4e3ab_c239_9968_db7d_75f3fe76fa96 -->|calls| 4ecd38ab_ffd3_a327_598e_f401f4635827 4c29981d_a61a_00fb_b3b5_5a69228c4fff["printCandidate()"] 4ecd38ab_ffd3_a327_598e_f401f4635827 -->|calls| 4c29981d_a61a_00fb_b3b5_5a69228c4fff style 4ecd38ab_ffd3_a327_598e_f401f4635827 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/tailwindcss/src/canonicalize-candidates.ts lines 926–932
function printUnprefixedCandidate(designSystem: DesignSystem, candidate: Candidate) {
let candidateString = designSystem.printCandidate(candidate)
return designSystem.theme.prefix && candidateString.startsWith(`${designSystem.theme.prefix}:`)
? candidateString.slice(designSystem.theme.prefix.length + 1)
: candidateString
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does printUnprefixedCandidate() do?
printUnprefixedCandidate() is a function in the tailwindcss codebase.
What does printUnprefixedCandidate() call?
printUnprefixedCandidate() calls 1 function(s): printCandidate.
What calls printUnprefixedCandidate()?
printUnprefixedCandidate() is called by 1 function(s): deprecatedUtilities.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free