Bluesky app fork with some witchin' additions 馃挮
at 06a8a7efc2946247d44adb982e2b2cb367fd7b64 6 lines 219 B view raw
1import {useTheme} from '#/lib/ThemeContext' 2 3export function useColorSchemeStyle<T>(lightStyle: T, darkStyle: T) { 4 const colorScheme = useTheme().colorScheme 5 return colorScheme === 'dark' ? darkStyle : lightStyle 6}