The Startup
Published in

The Startup


Why Dark Mode Is Hard

And How You Can Implement It On Your React Website

Photo by Andre Benz

I love me some dark mode.

Hence, when I build websites for my projects these days, I make sure to include it.

It’s generally been quite simple, until I had to do it for my company’s website.




Get smarter at building your thing. Follow to join The Startup’s +8 million monthly readers & +756K followers.

Recommended from Medium

Tesseract.js with Svelte

How JavaScript works: Cryptography + How to Deal with Man in the Middle Attack (MitM).

Creating a Simple Memory Game with React

A small bit about $and in MongoDB that just might save your time

Google Publisher Tag Ads in Single Page Application (Next.js) [CASE STUDY]

Reusable angular grid component using syncfusions ejs-angular-grid

Create A Simple JavaScript Filter — Tutorial

Optimizing State Management In React With Recoil

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Yakko Majuri

Yakko Majuri

Writing code and writing about writing code. I speak for myself only. Medium houses my technical writing pieces — for the rest, check out

More from Medium

Using ffmpeg and React to Create a Gif Maker

The devs you want.

Pros And Cons Of Using Yii For Your Web Development

I worked on GraphQL. Here’s what I learned