Home / Type/ Root Type — tailwindcss Architecture

Root Type — tailwindcss Architecture

Architecture documentation for the Root type/interface in index.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  b2023bb0_0e27_9600_404e_f47190d811ae["Root"]
  5af9cd3c_2cf4_9dee_376e_fc39122d865a["index.ts"]
  b2023bb0_0e27_9600_404e_f47190d811ae -->|defined in| 5af9cd3c_2cf4_9dee_376e_fc39122d865a
  style b2023bb0_0e27_9600_404e_f47190d811ae fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/tailwindcss/src/index.ts lines 106–114

type Root =
  // Unknown root
  | null

  // Explicitly no root specified via `source(none)`
  | 'none'

  // Specified via `source(…)`, relative to the `base`
  | { base: string; pattern: string }

Frequently Asked Questions

What is the Root type?
Root is a type/interface in the tailwindcss codebase, defined in packages/tailwindcss/src/index.ts.
Where is Root defined?
Root is defined in packages/tailwindcss/src/index.ts at line 106.

Analyze Your Own Codebase

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

Try Supermodel Free