Home / Function/ __unstable__loadDesignSystem() — tailwindcss Function Reference

__unstable__loadDesignSystem() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  b7e9a1ed_cc0d_c436_1155_d872ad96268f["__unstable__loadDesignSystem()"]
  69d3ce9e_56db_8f40_5261_64f91b0dee31["compile.ts"]
  b7e9a1ed_cc0d_c436_1155_d872ad96268f -->|defined in| 69d3ce9e_56db_8f40_5261_64f91b0dee31
  0dec976b_4cf5_63bb_0d29_f560fe197a3b["loadModule()"]
  b7e9a1ed_cc0d_c436_1155_d872ad96268f -->|calls| 0dec976b_4cf5_63bb_0d29_f560fe197a3b
  4082819e_517a_9967_5eb7_0e9eda6bebdd["loadStylesheet()"]
  b7e9a1ed_cc0d_c436_1155_d872ad96268f -->|calls| 4082819e_517a_9967_5eb7_0e9eda6bebdd
  style b7e9a1ed_cc0d_c436_1155_d872ad96268f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/@tailwindcss-node/src/compile.ts lines 106–116

export async function __unstable__loadDesignSystem(css: string, { base }: { base: string }) {
  return ___unstable__loadDesignSystem(css, {
    base,
    async loadModule(id, base) {
      return loadModule(id, base, () => {})
    },
    async loadStylesheet(id, base) {
      return loadStylesheet(id, base, () => {})
    },
  })
}

Domain

Subdomains

Frequently Asked Questions

What does __unstable__loadDesignSystem() do?
__unstable__loadDesignSystem() is a function in the tailwindcss codebase, defined in packages/@tailwindcss-node/src/compile.ts.
Where is __unstable__loadDesignSystem() defined?
__unstable__loadDesignSystem() is defined in packages/@tailwindcss-node/src/compile.ts at line 106.
What does __unstable__loadDesignSystem() call?
__unstable__loadDesignSystem() calls 2 function(s): loadModule, loadStylesheet.

Analyze Your Own Codebase

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

Try Supermodel Free