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
  884346d7_e979_a8f8_f76d_59714fcaf2e0["__unstable__loadDesignSystem()"]
  b620f573_84b9_a33a_291f_6bb912350445["loadModule()"]
  884346d7_e979_a8f8_f76d_59714fcaf2e0 -->|calls| b620f573_84b9_a33a_291f_6bb912350445
  a5aea4d0_1dac_50e2_ef33_dcb8fe56d71a["loadStylesheet()"]
  884346d7_e979_a8f8_f76d_59714fcaf2e0 -->|calls| a5aea4d0_1dac_50e2_ef33_dcb8fe56d71a
  style 884346d7_e979_a8f8_f76d_59714fcaf2e0 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.
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