UtilityDescription Type — tailwindcss Architecture
Architecture documentation for the UtilityDescription type/interface in utilities.ts from the tailwindcss codebase.
Entity Profile
Source Code
packages/tailwindcss/src/utilities.ts lines 377–386
type UtilityDescription = {
supportsNegative?: boolean
supportsFractions?: boolean
themeKeys?: ThemeKey[]
defaultValue?: string | null
staticValues?: Record<string, AstNode[]>
handleBareValue?: (value: NamedUtilityValue) => string | null
handleNegativeBareValue?: (value: NamedUtilityValue) => string | null
handle: (value: string, dataType: string | null) => AstNode[] | undefined
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free