Home / Function/ DESIGN_SYSTEMS() — tailwindcss Function Reference

DESIGN_SYSTEMS() — tailwindcss Function Reference

Architecture documentation for the DESIGN_SYSTEMS() function in migrate-legacy-classes.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  4d1fd077_e7e8_987e_148f_3cb8ba9b588d["DESIGN_SYSTEMS()"]
  b221facd_4d62_d2ce_4a2c_e77999b7a5ae["migrate-legacy-classes.ts"]
  4d1fd077_e7e8_987e_148f_3cb8ba9b588d -->|defined in| b221facd_4d62_d2ce_4a2c_e77999b7a5ae
  style 4d1fd077_e7e8_987e_148f_3cb8ba9b588d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/@tailwindcss-upgrade/src/codemods/template/migrate-legacy-classes.ts lines 66–68

const DESIGN_SYSTEMS = new DefaultMap((base) => {
  return __unstable__loadDesignSystem('@import "tailwindcss";', { base })
})

Subdomains

Frequently Asked Questions

What does DESIGN_SYSTEMS() do?
DESIGN_SYSTEMS() is a function in the tailwindcss codebase, defined in packages/@tailwindcss-upgrade/src/codemods/template/migrate-legacy-classes.ts.
Where is DESIGN_SYSTEMS() defined?
DESIGN_SYSTEMS() is defined in packages/@tailwindcss-upgrade/src/codemods/template/migrate-legacy-classes.ts at line 66.

Analyze Your Own Codebase

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

Try Supermodel Free