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