1. 4
    Cycle Through Multiple Theme UI Color Modes
    1m 15s

Cycle Through Multiple Theme UI Color Modes

InstructorJohn Otander

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.

illustration for Theme UI

Course

Theme UI