Something went wrong. Try again.
Bluesky app fork with some witchin' additions 馃挮 forked from jollywhoppers.com/witchsky.app
Something went wrong. Try again.
219 B 路 6 lines
TypeScript
at main
1234567import {useTheme} from '#/lib/ThemeContext'
export function useColorSchemeStyle<T>(lightStyle: T, darkStyle: T) { const colorScheme = useTheme().colorScheme return colorScheme === 'dark' ? darkStyle : lightStyle}