createBareQuad() — tailwindcss Function Reference
Architecture documentation for the createBareQuad() function in expand-declaration.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD e7846010_3017_06f0_5919_90c2433b5f6e["createBareQuad()"] 6c2aaf9b_7368_de6a_ef70_f36c503a6ca1["createPrefixedQuad()"] 6c2aaf9b_7368_de6a_ef70_f36c503a6ca1 -->|calls| e7846010_3017_06f0_5919_90c2433b5f6e style e7846010_3017_06f0_5919_90c2433b5f6e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/tailwindcss/src/expand-declaration.ts lines 16–23
function createBareQuad(t = 'top', r = 'right', b = 'bottom', l = 'left'): Record<number, [prop: string, index: number][]> {
return {
1: [[t, 0], [r, 0], [b, 0], [l, 0]],
2: [[t, 0], [r, 1], [b, 0], [l, 1]],
3: [[t, 0], [r, 1], [b, 2], [l, 1]],
4: [[t, 0], [r, 1], [b, 2], [l, 3]],
} as const;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does createBareQuad() do?
createBareQuad() is a function in the tailwindcss codebase.
What calls createBareQuad()?
createBareQuad() is called by 1 function(s): createPrefixedQuad.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free