Home / Function/ isIgnoredThemeKey() — tailwindcss Function Reference

isIgnoredThemeKey() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  678fff87_ea5f_81ce_f4c8_aba1e92f475b["isIgnoredThemeKey()"]
  3d6e204b_1a08_95c4_b252_89c58ff8ac22["keysInNamespaces()"]
  3d6e204b_1a08_95c4_b252_89c58ff8ac22 -->|calls| 678fff87_ea5f_81ce_f4c8_aba1e92f475b
  34006e43_988b_b22f_7808_6d387d527db3["candidateValue()"]
  34006e43_988b_b22f_7808_6d387d527db3 -->|calls| 678fff87_ea5f_81ce_f4c8_aba1e92f475b
  060c1795_30ba_0381_42f1_be224df086e8["get()"]
  678fff87_ea5f_81ce_f4c8_aba1e92f475b -->|calls| 060c1795_30ba_0381_42f1_be224df086e8
  style 678fff87_ea5f_81ce_f4c8_aba1e92f475b 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}-`),
  )
}

Subdomains

Calls

Frequently Asked Questions

What does isIgnoredThemeKey() do?
isIgnoredThemeKey() is a function in the tailwindcss codebase.
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