Home / Function/ designSystems() — tailwindcss Function Reference

designSystems() — tailwindcss Function Reference

Architecture documentation for the designSystems() function in migrate.test.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  73d279b6_fb3d_4d9c_2dd0_f6fc43edba09["designSystems()"]
  3bb17500_8ba9_373d_5ec9_b868ffe18dea["migrate.test.ts"]
  73d279b6_fb3d_4d9c_2dd0_f6fc43edba09 -->|defined in| 3bb17500_8ba9_373d_5ec9_b868ffe18dea
  style 73d279b6_fb3d_4d9c_2dd0_f6fc43edba09 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/@tailwindcss-upgrade/src/codemods/template/migrate.test.ts lines 8–12

const designSystems = new DefaultMap((base: string) => {
  return new DefaultMap((input: string) => {
    return __unstable__loadDesignSystem(input, { base })
  })
})

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free