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
  2f9822aa_e9e9_92da_e7f7_336e6801d6e3["designSystems()"]
  930146af_7164_8be9_737f_e83f06ce8ce8["migrate.test.ts"]
  2f9822aa_e9e9_92da_e7f7_336e6801d6e3 -->|defined in| 930146af_7164_8be9_737f_e83f06ce8ce8
  style 2f9822aa_e9e9_92da_e7f7_336e6801d6e3 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