Home / Function/ createSignatureOptionsCache() — tailwindcss Function Reference

createSignatureOptionsCache() — tailwindcss Function Reference

Architecture documentation for the createSignatureOptionsCache() function in canonicalize-candidates.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  596a2cca_e1c6_1e65_de9c_7392df29ac1f["createSignatureOptionsCache()"]
  7d350d81_5de1_f9f3_5b2c_19ec8fd3c37e["canonicalize-candidates.ts"]
  596a2cca_e1c6_1e65_de9c_7392df29ac1f -->|defined in| 7d350d81_5de1_f9f3_5b2c_19ec8fd3c37e
  81ec8f98_1fb2_d7c3_dd65_3a9e51b3be39["prepareDesignSystemStorage()"]
  81ec8f98_1fb2_d7c3_dd65_3a9e51b3be39 -->|calls| 596a2cca_e1c6_1e65_de9c_7392df29ac1f
  style 596a2cca_e1c6_1e65_de9c_7392df29ac1f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/tailwindcss/src/canonicalize-candidates.ts lines 134–140

function createSignatureOptionsCache(): DesignSystem['storage'][typeof SIGNATURE_OPTIONS_KEY] {
  return new DefaultMap((rem: number | null) => {
    return new DefaultMap((features: SignatureFeatures) => {
      return { rem, features } satisfies SignatureOptions
    })
  })
}

Subdomains

Frequently Asked Questions

What does createSignatureOptionsCache() do?
createSignatureOptionsCache() is a function in the tailwindcss codebase, defined in packages/tailwindcss/src/canonicalize-candidates.ts.
Where is createSignatureOptionsCache() defined?
createSignatureOptionsCache() is defined in packages/tailwindcss/src/canonicalize-candidates.ts at line 134.
What calls createSignatureOptionsCache()?
createSignatureOptionsCache() is called by 1 function(s): prepareDesignSystemStorage.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free