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

Function getCategoryTextColorClass

frontend/src/utils/categoryColors.ts:13–15  ·  view source on GitHub ↗
(category: string)

Source from the content-addressed store, hash-verified

11}
12
13export function getCategoryTextColorClass(category: string): string {
14 return getComponentCategoryDescriptor(resolveCategory(category)).textColorClass;
15}
16
17export function getCategorySeparatorColor(category: string, isDarkMode: boolean): string {
18 const colors = getComponentCategoryDescriptor(resolveCategory(category)).separatorColor;

Callers 3

getCategoryTextColorFunction · 0.90
useCategoryColorsFunction · 0.85

Calls 2

resolveCategoryFunction · 0.85

Tested by

no test coverage detected