MCPcopy Create free account
hub / github.com/ShipSecAI/studio / getCategorySeparatorColor

Function getCategorySeparatorColor

frontend/src/utils/categoryColors.ts:17–20  ·  view source on GitHub ↗
(category: string, isDarkMode: boolean)

Source from the content-addressed store, hash-verified

15}
16
17export function getCategorySeparatorColor(category: string, isDarkMode: boolean): string {
18 const colors = getComponentCategoryDescriptor(resolveCategory(category)).separatorColor;
19 return isDarkMode ? colors.dark : colors.light;
20}
21
22export function getCategoryHeaderBackgroundColor(category: string, isDarkMode: boolean): string {
23 const colors = getComponentCategoryDescriptor(resolveCategory(category)).headerBackgroundColor;

Callers 4

getCategoryAccentColorFunction · 0.90
getSeparatorColorFunction · 0.90
useCategoryColorsFunction · 0.85

Calls 2

resolveCategoryFunction · 0.85

Tested by

no test coverage detected