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
  a1fd01c1_0fb9_2557_6ee0_a660cb46e83b["__unstable__loadDesignSystem()"]
  23bd4e2f_c62c_a942_7014_8486569053ee["index.ts"]
  a1fd01c1_0fb9_2557_6ee0_a660cb46e83b -->|defined in| 23bd4e2f_c62c_a942_7014_8486569053ee
  f7f9b3da_5977_1aa6_3bcb_bfc607af4e8f["parseCss()"]
  a1fd01c1_0fb9_2557_6ee0_a660cb46e83b -->|calls| f7f9b3da_5977_1aa6_3bcb_bfc607af4e8f
  9d7d664d_b6fd_88fd_8800_4b530c33a95b["parse()"]
  a1fd01c1_0fb9_2557_6ee0_a660cb46e83b -->|calls| 9d7d664d_b6fd_88fd_8800_4b530c33a95b
  style a1fd01c1_0fb9_2557_6ee0_a660cb46e83b 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