createPrefixedQuad() — tailwindcss Function Reference
Architecture documentation for the createPrefixedQuad() function in expand-declaration.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD a72f5fc7_6650_e0df_1a23_01d6017d4997["createPrefixedQuad()"] 8e85a534_6601_c513_9452_8a311dc16b8f["expand-declaration.ts"] a72f5fc7_6650_e0df_1a23_01d6017d4997 -->|defined in| 8e85a534_6601_c513_9452_8a311dc16b8f 44586453_06ad_f8f8_1f7b_9af4c11c5847["createBareQuad()"] a72f5fc7_6650_e0df_1a23_01d6017d4997 -->|calls| 44586453_06ad_f8f8_1f7b_9af4c11c5847 style a72f5fc7_6650_e0df_1a23_01d6017d4997 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/tailwindcss/src/expand-declaration.ts lines 5–13
function createPrefixedQuad(
prefix: string,
t = 'top',
r = 'right',
b = 'bottom',
l = 'left',
): Record<number, [prop: string, index: number][]> {
return createBareQuad(`${prefix}-${t}`, `${prefix}-${r}`, `${prefix}-${b}`, `${prefix}-${l}`)
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does createPrefixedQuad() do?
createPrefixedQuad() is a function in the tailwindcss codebase, defined in packages/tailwindcss/src/expand-declaration.ts.
Where is createPrefixedQuad() defined?
createPrefixedQuad() is defined in packages/tailwindcss/src/expand-declaration.ts at line 5.
What does createPrefixedQuad() call?
createPrefixedQuad() calls 1 function(s): createBareQuad.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free