useValue

useValue is a custom hook that combines useBreakpointValue and useColorModeValue.

The current breakpoint is "base"
The current colorMode is "light"

Usage

import { useValue } from "@yamada-ui/react"
const color = useValue({ base: "red", md: "green" })