Skip to content

useColorMode

function useColorMode(): UseColorModeReturn;

Hook to access and manipulate the current color mode (light or dark) of the theme.

UseColorModeReturn

Docs https://caspeco.github.io/casper-ui-library/guides/dark-mode/