mirror of
https://github.com/DocNR/POWR.git
synced 2025-04-23 01:01:27 +00:00
12 lines
324 B
TypeScript
12 lines
324 B
TypeScript
// hooks/useColorScheme.ts
|
|
import { useAppearance } from '@/contexts/AppearanceContext';
|
|
import { ThemeColors, ColorScheme, ThemeName } from '@/types/theme';
|
|
|
|
export function useColorScheme(): {
|
|
colorScheme: ColorScheme;
|
|
theme: ThemeName;
|
|
colors: ThemeColors;
|
|
} {
|
|
const context = useAppearance();
|
|
return context;
|
|
} |