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
  06c6dd05_b0b2_a179_b957_39eb1c5e2066["createSignatureOptionsCache()"]
  20406e7c_6ee8_4626_dbef_5b37708f4d30["prepareDesignSystemStorage()"]
  20406e7c_6ee8_4626_dbef_5b37708f4d30 -->|calls| 06c6dd05_b0b2_a179_b957_39eb1c5e2066
  style 06c6dd05_b0b2_a179_b957_39eb1c5e2066 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.
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