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
  4a270655_bb7f_3c2a_8098_6e1f1490868b["createSignatureOptionsCache()"]
  f6c14bbb_2e42_58cc_18f1_c89a243da9c0["canonicalize-candidates.ts"]
  4a270655_bb7f_3c2a_8098_6e1f1490868b -->|defined in| f6c14bbb_2e42_58cc_18f1_c89a243da9c0
  26169039_1fd2_e320_1f63_11ec10a6fc52["prepareDesignSystemStorage()"]
  26169039_1fd2_e320_1f63_11ec10a6fc52 -->|calls| 4a270655_bb7f_3c2a_8098_6e1f1490868b
  style 4a270655_bb7f_3c2a_8098_6e1f1490868b 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
    })
  })
}

Domain

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