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