Home / Function/ __unstable__loadDesignSystem() — tailwindcss Function Reference

__unstable__loadDesignSystem() — tailwindcss Function Reference

Architecture documentation for the __unstable__loadDesignSystem() function in index.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  28a4a0ba_405e_2b1a_b1d1_5f3944486a8f["__unstable__loadDesignSystem()"]
  5af9cd3c_2cf4_9dee_376e_fc39122d865a["index.ts"]
  28a4a0ba_405e_2b1a_b1d1_5f3944486a8f -->|defined in| 5af9cd3c_2cf4_9dee_376e_fc39122d865a
  3970218d_3d6c_e455_87cc_45b4a094f0e9["parseCss()"]
  28a4a0ba_405e_2b1a_b1d1_5f3944486a8f -->|calls| 3970218d_3d6c_e455_87cc_45b4a094f0e9
  b8a15b09_3dfb_7181_b1f8_368422e178e4["parse()"]
  28a4a0ba_405e_2b1a_b1d1_5f3944486a8f -->|calls| b8a15b09_3dfb_7181_b1f8_368422e178e4
  style 28a4a0ba_405e_2b1a_b1d1_5f3944486a8f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/tailwindcss/src/index.ts lines 857–860

export async function __unstable__loadDesignSystem(css: string, opts: CompileOptions = {}) {
  let result = await parseCss(CSS.parse(css, { from: opts.from }), opts)
  return result.designSystem
}

Domain

Subdomains

Frequently Asked Questions

What does __unstable__loadDesignSystem() do?
__unstable__loadDesignSystem() is a function in the tailwindcss codebase, defined in packages/tailwindcss/src/index.ts.
Where is __unstable__loadDesignSystem() defined?
__unstable__loadDesignSystem() is defined in packages/tailwindcss/src/index.ts at line 857.
What does __unstable__loadDesignSystem() call?
__unstable__loadDesignSystem() calls 2 function(s): parse, parseCss.

Analyze Your Own Codebase

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

Try Supermodel Free