getThemeCode() — ui Function Reference
Architecture documentation for the getThemeCode() function in theme-customizer.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD c7929dff_1e9f_5d91_5fbc_e37a6af8c60f["getThemeCode()"] 140c7d1e_fab6_452b_6086_5ea5d9731e35["theme-customizer.tsx"] c7929dff_1e9f_5d91_5fbc_e37a6af8c60f -->|defined in| 140c7d1e_fab6_452b_6086_5ea5d9731e35 08bc5253_3d27_47f2_fff0_98cd98b59931["CustomizerCode()"] 08bc5253_3d27_47f2_fff0_98cd98b59931 -->|calls| c7929dff_1e9f_5d91_5fbc_e37a6af8c60f style c7929dff_1e9f_5d91_5fbc_e37a6af8c60f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/components/theme-customizer.tsx lines 511–520
function getThemeCode(theme: BaseColor | undefined, radius: number) {
if (!theme) {
return ""
}
return template(BASE_STYLES_WITH_VARIABLES)({
colors: theme.cssVars,
radius: radius.toString(),
})
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does getThemeCode() do?
getThemeCode() is a function in the ui codebase, defined in deprecated/www/components/theme-customizer.tsx.
Where is getThemeCode() defined?
getThemeCode() is defined in deprecated/www/components/theme-customizer.tsx at line 511.
What calls getThemeCode()?
getThemeCode() is called by 1 function(s): CustomizerCode.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free