Home / Type/ Polyfills Type — tailwindcss Architecture

Polyfills Type — tailwindcss Architecture

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

packages/tailwindcss/src/index.ts lines 41–52

export const enum Polyfills {
  None = 0,

  // Control if fallbacks for `@property` rules are emitted
  AtProperty = 1 << 0,

  // Control if `color-mix(…)` fallbacks are inserted
  ColorMix = 1 << 1,

  // Enable all
  All = AtProperty | ColorMix,
}

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free