Coner Murphy

My Blog

Here are all my latest writings; web development, online business, content creation, and more...

Stay up to date

Get exclusive content and be notified of my content before anyone else by subscribing to my newsletter below.

How to make a flicker-free dark theme toggle with Next.js, TailwindCSS, and `next-themes`

7 Jun 2022

How to make a flicker-free dark theme toggle with Next.js, TailwindCSS, and `next-themes`

Here's how to build a dark/light theme toggle in Next.js using TailwindCSS and the next-themes npm package to make it load and transition flicker-free.

Testimonials

Don’t take my word for it.

  • After working with Coner on several occasions, I've found that he's a thoughtful collaborator with excellent communication skills. I know that when I bring him onto a project, I can rely on a carefully researched and planned final product.

    Grace Miller

    Grace Miller

    Content Strategist @ Prismic

  • Coner is a strong technical writer when writing about frontend development. He is consistent and thorough, presenting concepts in an easily-digestible format. He takes feedback constructively to improve his work and continuously strives to be a better technical writer.

    Emily Kochanek Ketner

    Emily Kochanek Ketner

    Content Marketing Manager @ LogRocket