createSignatureOptions() — tailwindcss Function Reference
Architecture documentation for the createSignatureOptions() function in canonicalize-candidates.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 4f8241bf_79d2_9225_23f3_34c8a7157609["createSignatureOptions()"] b03e5261_3989_5eb9_7d45_392073ad41fd["migrateCached()"] b03e5261_3989_5eb9_7d45_392073ad41fd -->|calls| 4f8241bf_79d2_9225_23f3_34c8a7157609 0c93fc33_6ff1_7638_3219_621fdee3ade6["canonicalizeCandidates()"] 0c93fc33_6ff1_7638_3219_621fdee3ade6 -->|calls| 4f8241bf_79d2_9225_23f3_34c8a7157609 20406e7c_6ee8_4626_dbef_5b37708f4d30["prepareDesignSystemStorage()"] 4f8241bf_79d2_9225_23f3_34c8a7157609 -->|calls| 20406e7c_6ee8_4626_dbef_5b37708f4d30 4cd99e59_ac1e_2a1f_0946_33cc1afd2532["get()"] 4f8241bf_79d2_9225_23f3_34c8a7157609 -->|calls| 4cd99e59_ac1e_2a1f_0946_33cc1afd2532 style 4f8241bf_79d2_9225_23f3_34c8a7157609 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/tailwindcss/src/canonicalize-candidates.ts lines 142–153
export function createSignatureOptions(
baseDesignSystem: BaseDesignSystem,
options?: CanonicalizeOptions,
): SignatureOptions {
let features = SignatureFeatures.None
if (options?.collapse) features |= SignatureFeatures.ExpandProperties
if (options?.logicalToPhysical) features |= SignatureFeatures.LogicalToPhysical
let designSystem = prepareDesignSystemStorage(baseDesignSystem, options)
return designSystem.storage[SIGNATURE_OPTIONS_KEY].get(options?.rem ?? null).get(features)
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does createSignatureOptions() do?
createSignatureOptions() is a function in the tailwindcss codebase.
What does createSignatureOptions() call?
createSignatureOptions() calls 2 function(s): get, prepareDesignSystemStorage.
What calls createSignatureOptions()?
createSignatureOptions() is called by 2 function(s): canonicalizeCandidates, migrateCached.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free