Home / Function/ isIgnoredThemeKey() — tailwindcss Function Reference

isIgnoredThemeKey() — tailwindcss Function Reference

Architecture documentation for the isIgnoredThemeKey() function in theme.ts from the tailwindcss codebase.

Function typescript Oxide PreProcessors calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  c57fb6e1_ab34_85bb_bfd1_d983c6dca814["isIgnoredThemeKey()"]
  e28cd4a7_4e1a_e79b_76f1_86c479c6640d["theme.ts"]
  c57fb6e1_ab34_85bb_bfd1_d983c6dca814 -->|defined in| e28cd4a7_4e1a_e79b_76f1_86c479c6640d
  e92f4f42_1861_fe27_1d37_feb4a5f1e9ad["keysInNamespaces()"]
  e92f4f42_1861_fe27_1d37_feb4a5f1e9ad -->|calls| c57fb6e1_ab34_85bb_bfd1_d983c6dca814
  4dd03b32_d6c0_17e9_28a2_23655bd4448e["candidateValue()"]
  4dd03b32_d6c0_17e9_28a2_23655bd4448e -->|calls| c57fb6e1_ab34_85bb_bfd1_d983c6dca814
  c6703f6a_b776_5326_6e96_8faaab8a851f["get()"]
  c57fb6e1_ab34_85bb_bfd1_d983c6dca814 -->|calls| c6703f6a_b776_5326_6e96_8faaab8a851f
  style c57fb6e1_ab34_85bb_bfd1_d983c6dca814 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/tailwindcss/src/theme.ts lines 35–39

function isIgnoredThemeKey(themeKey: ThemeKey, namespace: ThemeKey) {
  return (ignoredThemeKeyMap.get(namespace) ?? []).some(
    (ignoredThemeKey) => themeKey === ignoredThemeKey || themeKey.startsWith(`${ignoredThemeKey}-`),
  )
}

Domain

Subdomains

Calls

Frequently Asked Questions

What does isIgnoredThemeKey() do?
isIgnoredThemeKey() is a function in the tailwindcss codebase, defined in packages/tailwindcss/src/theme.ts.
Where is isIgnoredThemeKey() defined?
isIgnoredThemeKey() is defined in packages/tailwindcss/src/theme.ts at line 35.
What does isIgnoredThemeKey() call?
isIgnoredThemeKey() calls 1 function(s): get.
What calls isIgnoredThemeKey()?
isIgnoredThemeKey() is called by 2 function(s): candidateValue, keysInNamespaces.

Analyze Your Own Codebase

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

Try Supermodel Free