MCPcopy
hub / github.com/tailwindlabs/tailwindcss / isIgnoredThemeKey

Function isIgnoredThemeKey

packages/tailwindcss/src/theme.ts:35–39  ·  view source on GitHub ↗
(themeKey: ThemeKey, namespace: ThemeKey)

Source from the content-addressed store, hash-verified

33])
34
35function isIgnoredThemeKey(themeKey: ThemeKey, namespace: ThemeKey) {
36 return (ignoredThemeKeyMap.get(namespace) ?? []).some(
37 (ignoredThemeKey) => themeKey === ignoredThemeKey || themeKey.startsWith(`${ignoredThemeKey}-`),
38 )
39}
40
41export class Theme {
42 public prefix: string | null = null

Callers 2

keysInNamespacesMethod · 0.85
#resolveKeyMethod · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected