Something went wrong. Try again.
Personal iOS fork of Witchsky (itself a fork of Bluesky social-app).
Something went wrong. Try again.
1234567import {useTheme} from '#/lib/ThemeContext'
export function useColorSchemeStyle<T>(lightStyle: T, darkStyle: T) { const colorScheme = useTheme().colorScheme return colorScheme === 'dark' ? darkStyle : lightStyle}