(category: string)
| 7 | import { useThemeStore } from '@/store/themeStore'; |
| 8 | |
| 9 | function resolveCategory(category: string): ComponentCategory { |
| 10 | return normalizeComponentCategory(category) ?? DEFAULT_COMPONENT_CATEGORY; |
| 11 | } |
| 12 | |
| 13 | export function getCategoryTextColorClass(category: string): string { |
| 14 | return getComponentCategoryDescriptor(resolveCategory(category)).textColorClass; |
no test coverage detected