fromRoot() — tailwindcss Function Reference
Architecture documentation for the fromRoot() function in stylesheet.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 6df45c70_0c27_5b96_717a_5a24abadaaf4["fromRoot()"] b9897393_3e36_7806_d172_b9debcd215f6["Stylesheet"] 6df45c70_0c27_5b96_717a_5a24abadaaf4 -->|defined in| b9897393_3e36_7806_d172_b9debcd215f6 084f6f8b_fe90_a5cf_9cf6_6fcc92cc6163["migrate()"] 084f6f8b_fe90_a5cf_9cf6_6fcc92cc6163 -->|calls| 6df45c70_0c27_5b96_717a_5a24abadaaf4 63b86c2b_0ad5_a37d_460f_17612cfec071["split()"] 63b86c2b_0ad5_a37d_460f_17612cfec071 -->|calls| 6df45c70_0c27_5b96_717a_5a24abadaaf4 style 6df45c70_0c27_5b96_717a_5a24abadaaf4 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
Source
Frequently Asked Questions
What does fromRoot() do?
fromRoot() is a function in the tailwindcss codebase, defined in packages/@tailwindcss-upgrade/src/stylesheet.ts.
Where is fromRoot() defined?
fromRoot() is defined in packages/@tailwindcss-upgrade/src/stylesheet.ts at line 93.
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