useThemePicker

API Reference

Use Theme Picker

View Source

A hook that provides the current color mode and a function to set the color mode.