Published on September 19, 2021

Tutorial: Making A Dark Mode Toggle In WordPress With Alpine.js And Oxygen

In this tutorial video, learn the basics of adding a dark mode toggle to your site using Alpine.js along with a Code Block in Oxygen.

You can find the code from the video here: https://gist.github.com/Spellhammer/e2e10505bae92e885aa5e43abf1c4ba2.

The Oxygen Team
Updated on: September 19, 2021

You'll build incredible websites with Oxygen

Get started with Oxygen today and unlock incredible value.

Get Oxygen

30-day money back gurantee

Try Oxygen risk-free. If youโ€™re not satisfied, get a full refund within 30 days.

Unlimited site license

Use Oxygen on as many personal or client projects as you want โ€” no limits.

Fast, world-class support

Our experienced team is eager to assist you with technical questions.

Use on client websites

Build and deliver professional-grade websites for your clients with no extra fees.