mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-16 05:36:00 +02:00
add waveform playerbar slider
This commit is contained in:
@@ -224,3 +224,9 @@ export const useSetColorScheme = () => {
|
||||
|
||||
return { setColorScheme };
|
||||
};
|
||||
|
||||
export const useColorScheme = () => {
|
||||
const { colorScheme } = useMantineColorScheme();
|
||||
|
||||
return colorScheme === 'dark' ? 'dark' : 'light';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user