Home / Function/ fromRoot() — tailwindcss Function Reference

fromRoot() — tailwindcss Function Reference

Architecture documentation for the fromRoot() function in stylesheet.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  8cff7398_1033_27cb_fa7c_04a0fe97eb95["fromRoot()"]
  98dfdcac_ec22_e7a5_912e_7d87eb45892c["migrate()"]
  98dfdcac_ec22_e7a5_912e_7d87eb45892c -->|calls| 8cff7398_1033_27cb_fa7c_04a0fe97eb95
  3c87f6be_b589_4551_d24f_76f864dd1904["split()"]
  3c87f6be_b589_4551_d24f_76f864dd1904 -->|calls| 8cff7398_1033_27cb_fa7c_04a0fe97eb95
  style 8cff7398_1033_27cb_fa7c_04a0fe97eb95 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/@tailwindcss-upgrade/src/stylesheet.ts lines 93–95

  static async fromRoot(root: postcss.Root, file?: string) {
    return new Stylesheet(root, file)
  }

Domain

Subdomains

Called By

Frequently Asked Questions

What does fromRoot() do?
fromRoot() is a function in the tailwindcss codebase.
What calls fromRoot()?
fromRoot() is called by 2 function(s): migrate, split.

Analyze Your Own Codebase

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

Try Supermodel Free