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
  ec24f183_c831_b663_6c85_1d33238066d6["__unstable__loadDesignSystem()"]
  aee9f739_9a7b_d15f_6c82_a35dce42a8e6["loadModule()"]
  ec24f183_c831_b663_6c85_1d33238066d6 -->|calls| aee9f739_9a7b_d15f_6c82_a35dce42a8e6
  f5ce10d2_e1ca_17b6_3caf_b29c52fe681b["loadStylesheet()"]
  ec24f183_c831_b663_6c85_1d33238066d6 -->|calls| f5ce10d2_e1ca_17b6_3caf_b29c52fe681b
  style ec24f183_c831_b663_6c85_1d33238066d6 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, () => {})
    },
  })
}

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