themes() — ui Function Reference
Architecture documentation for the themes() function in _legacy-themes.ts from the ui codebase.
Entity Profile
Dependency Diagram
graph TD e7735d93_8866_0e6e_4bce_6ca6fff2c76d["themes()"] 0a68cb16_fbec_f0ff_62cc_7de51e5795a4["_legacy-themes.ts"] e7735d93_8866_0e6e_4bce_6ca6fff2c76d -->|defined in| 0a68cb16_fbec_f0ff_62cc_7de51e5795a4 style e7735d93_8866_0e6e_4bce_6ca6fff2c76d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/_legacy-themes.ts lines 3–10
export const themes = Object.keys(baseColorsV4).map((color) => {
return {
name: `theme-${color}`,
type: "registry:theme",
cssVars: baseColorsV4[color as keyof typeof baseColorsV4],
dependencies: [],
}
})
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does themes() do?
themes() is a function in the ui codebase, defined in apps/v4/registry/_legacy-themes.ts.
Where is themes() defined?
themes() is defined in apps/v4/registry/_legacy-themes.ts at line 3.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free