colorForIntegration() — astro Function Reference
Architecture documentation for the colorForIntegration() function in icons.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD fca9c48f_6af2_622f_cdf1_cfd45f9168fd["colorForIntegration()"] 9038303f_ab7f_4de5_58f6_bbab3a318f46["icons.ts"] fca9c48f_6af2_622f_cdf1_cfd45f9168fd -->|defined in| 9038303f_ab7f_4de5_58f6_bbab3a318f46 4fd6962b_8896_d71b_8708_24cf922f4af1["randomFromArray()"] fca9c48f_6af2_622f_cdf1_cfd45f9168fd -->|calls| 4fd6962b_8896_d71b_8708_24cf922f4af1 style fca9c48f_6af2_622f_cdf1_cfd45f9168fd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/runtime/client/dev-toolbar/apps/utils/icons.ts lines 41–43
export function colorForIntegration() {
return randomFromArray(iconColors);
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does colorForIntegration() do?
colorForIntegration() is a function in the astro codebase, defined in packages/astro/src/runtime/client/dev-toolbar/apps/utils/icons.ts.
Where is colorForIntegration() defined?
colorForIntegration() is defined in packages/astro/src/runtime/client/dev-toolbar/apps/utils/icons.ts at line 41.
What does colorForIntegration() call?
colorForIntegration() calls 1 function(s): randomFromArray.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free