Home / Type/ Colors Type — tailwindcss Architecture

Colors Type — tailwindcss Architecture

Architecture documentation for the Colors type/interface in flatten-color-palette.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  2eb2ca65_ea79_b398_24b1_91979db483af["Colors"]
  7ea5d6e8_c93c_0fe9_ee45_7db80046a7c5["flatten-color-palette.ts"]
  2eb2ca65_ea79_b398_24b1_91979db483af -->|defined in| 7ea5d6e8_c93c_0fe9_ee45_7db80046a7c5
  style 2eb2ca65_ea79_b398_24b1_91979db483af fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/tailwindcss/src/compat/flatten-color-palette.ts lines 3–5

type Colors = {
  [key: string | number]: string | Colors
}

Frequently Asked Questions

What is the Colors type?
Colors is a type/interface in the tailwindcss codebase, defined in packages/tailwindcss/src/compat/flatten-color-palette.ts.
Where is Colors defined?
Colors is defined in packages/tailwindcss/src/compat/flatten-color-palette.ts at line 3.

Analyze Your Own Codebase

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

Try Supermodel Free