Home / Type/ DataType Type — tailwindcss Architecture

DataType Type — tailwindcss Architecture

Architecture documentation for the DataType type/interface in infer-data-type.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  697bfa29_514f_900f_ae59_08b0e40d4683["DataType"]
  4897c375_1e8d_5304_b7d9_a6ba3f616103["infer-data-type.ts"]
  697bfa29_514f_900f_ae59_08b0e40d4683 -->|defined in| 4897c375_1e8d_5304_b7d9_a6ba3f616103
  style 697bfa29_514f_900f_ae59_08b0e40d4683 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/tailwindcss/src/utils/infer-data-type.ts lines 5–22

type DataType =
  | 'color'
  | 'length'
  | 'percentage'
  | 'ratio'
  | 'number'
  | 'integer'
  | 'url'
  | 'position'
  | 'bg-size'
  | 'line-width'
  | 'image'
  | 'family-name'
  | 'generic-name'
  | 'absolute-size'
  | 'relative-size'
  | 'angle'
  | 'vector'

Frequently Asked Questions

What is the DataType type?
DataType is a type/interface in the tailwindcss codebase, defined in packages/tailwindcss/src/utils/infer-data-type.ts.
Where is DataType defined?
DataType is defined in packages/tailwindcss/src/utils/infer-data-type.ts at line 5.

Analyze Your Own Codebase

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

Try Supermodel Free