isValidThemePrimitive() — tailwindcss Function Reference
Architecture documentation for the isValidThemePrimitive() function in apply-config-to-theme.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD ad4acb79_6726_ed2b_53ee_1b0f68700924["isValidThemePrimitive()"] 3e33c90a_e618_0b36_8589_88cf333c1482["themeableValues()"] 3e33c90a_e618_0b36_8589_88cf333c1482 -->|calls| ad4acb79_6726_ed2b_53ee_1b0f68700924 style ad4acb79_6726_ed2b_53ee_1b0f68700924 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/tailwindcss/src/compat/apply-config-to-theme.ts lines 242–244
function isValidThemePrimitive(value: unknown) {
return typeof value === 'number' || typeof value === 'string'
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does isValidThemePrimitive() do?
isValidThemePrimitive() is a function in the tailwindcss codebase.
What calls isValidThemePrimitive()?
isValidThemePrimitive() is called by 1 function(s): themeableValues.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free