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
  b2976d63_3348_b8f4_d342_2174b7e6e981["Root"]
  23bd4e2f_c62c_a942_7014_8486569053ee["index.ts"]
  b2976d63_3348_b8f4_d342_2174b7e6e981 -->|defined in| 23bd4e2f_c62c_a942_7014_8486569053ee
  style b2976d63_3348_b8f4_d342_2174b7e6e981 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