import { useColorSchemeContext } from "./ColorSchemeContext" ; export function useColorSchemeValue ( lightColor , darkColor ) { const { colorScheme } = useColorSchemeContext ( ) ; return colorScheme === "dark" ? darkColor : lightColor ; }