themeColorNameToCssVariable() — ui Function Reference
Architecture documentation for the themeColorNameToCssVariable() function in charts.ts from the ui codebase.
Entity Profile
Dependency Diagram
graph TD bf9bf16c_3cae_ef9c_4697_abe1d3054fa6["themeColorNameToCssVariable()"] f36c1b1b_55ff_a09c_0316_7e92721eddeb["charts.ts"] bf9bf16c_3cae_ef9c_4697_abe1d3054fa6 -->|defined in| f36c1b1b_55ff_a09c_0316_7e92721eddeb ab773696_1f89_265e_8d08_15c4c404e7be["themeColorsToCssVariables()"] ab773696_1f89_265e_8d08_15c4c404e7be -->|calls| bf9bf16c_3cae_ef9c_4697_abe1d3054fa6 style bf9bf16c_3cae_ef9c_4697_abe1d3054fa6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/lib/charts.ts lines 23–25
export function themeColorNameToCssVariable(name: string) {
return `--${name.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase()}`
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does themeColorNameToCssVariable() do?
themeColorNameToCssVariable() is a function in the ui codebase, defined in deprecated/www/lib/charts.ts.
Where is themeColorNameToCssVariable() defined?
themeColorNameToCssVariable() is defined in deprecated/www/lib/charts.ts at line 23.
What calls themeColorNameToCssVariable()?
themeColorNameToCssVariable() is called by 1 function(s): themeColorsToCssVariables.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free