Cycle Through Multiple Theme UI Color Modes

Share this video with your friends

Send Tweet

If you want to offer more than two color modes in your Theme UI-based site you can create a button that can activate all color modes. In this lesson we'll add two new color modes, for a total of four, and then use the useThemeUI hook to create an array of color modes to cycle through.