Dark mode
Learn how to switch from light to dark mode in the shadcn/ui kit for Figma.
Instructions
One of the most powerful features of variables in the shadcn/ui kit for Figma is the ability to add modes to your variable collections. This allows you to effortlessly switch designs between different contexts, such as light and dark modes, with just a single click.
The shadcn/ui kit for Figma comes pre-configured with both light and dark mode variables in the “3. Theme” variables collection. This means you can instantly transform your entire design from a light theme to a dark theme (and vice versa) without manually adjusting individual elements.
- Select any page or frame in your Figma design.
- Look for the "Change variables mode" icon in the Layer panel.
- Click on this icon to reveal a dropdown menu.
- Choose "Color modes" from the options.
- Select either “3. Mode” > "Light" or “3. Mode” > "Dark" to instantly apply the change.
Up next
Website Project (Lesson 2)
Welcome to your second Practice Lesson! In this session, we'll update the variables to transform your project from a default shadcn/ui design into a unique and beautiful custom project.