Home / Type/ Features Type — tailwindcss Architecture

Features Type — tailwindcss Architecture

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

packages/tailwindcss/src/index.ts lines 116–139

export const enum Features {
  None = 0,

  // `@apply` was used
  AtApply = 1 << 0,

  // `@import` was used
  AtImport = 1 << 1,

  // `@plugin` or `@config` was used
  JsPluginCompat = 1 << 2,

  // `theme(…)` was used
  ThemeFunction = 1 << 3,

  // `@tailwind utilities` was used
  Utilities = 1 << 4,

  // `@variant` was used
  Variants = 1 << 5,

  // `@theme` was used
  AtTheme = 1 << 6,
}

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free