# Dark mode was never on our roadmap. Here's how it got built.

DevFeed: [Dark mode was never on our roadmap. Here's how it got built.](<https://devfeed.tech/articles/dark-mode-was-never-on-our-roadmap-here-s-how-it-got-built-97363.md>)

Original publisher: [Read original article](<https://medium.engineering/dark-mode-was-never-on-our-roadmap-heres-how-it-got-built-b8e0a54c1d12?source=rss----2817475205d3---4>)

Author: Christine Leverett

Published: 2026-10-22T14:01:07Z

Content type: article

Language: en

Sources: [Medium](<https://devfeed.tech/sources/medium.md>)

Topics: [Dark Mode](<https://devfeed.tech/topics/dark-mode.md>), [CSS](<https://devfeed.tech/topics/css.md>), [engineering-culture](<https://devfeed.tech/topics/engineering-culture.md>), [Deployment Strategies](<https://devfeed.tech/topics/deployment-strategies.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>), [UI/UX Design](<https://devfeed.tech/topics/ui-ux-design.md>), [Linear](<https://devfeed.tech/topics/linear.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [ai](<https://devfeed.tech/tags/ai.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [cache](<https://devfeed.tech/tags/cache.md>), [colors](<https://devfeed.tech/tags/colors.md>), [css](<https://devfeed.tech/tags/css.md>), [dark-mode](<https://devfeed.tech/tags/dark-mode.md>), [dark-theme](<https://devfeed.tech/tags/dark-theme.md>), [design](<https://devfeed.tech/tags/design.md>), [it](<https://devfeed.tech/tags/it.md>), [medium](<https://devfeed.tech/tags/medium.md>), [plan](<https://devfeed.tech/tags/plan.md>), [product](<https://devfeed.tech/tags/product.md>), [programming](<https://devfeed.tech/tags/programming.md>), [project](<https://devfeed.tech/tags/project.md>), [roadmap](<https://devfeed.tech/tags/roadmap.md>), [software-development](<https://devfeed.tech/tags/software-development.md>), [team](<https://devfeed.tech/tags/team.md>), [technical](<https://devfeed.tech/tags/technical.md>), [technology](<https://devfeed.tech/tags/technology.md>), [the-web](<https://devfeed.tech/tags/the-web.md>)

## AI overview

Medium shipped dark mode to all readers in under five months, with most of the work done by one engineer between other projects. The approach kept the effort safe, small, and concrete: a staff-only feature flag isolated the work behind the edge cache; CSS `light-dark()` and `color-scheme` let the browser choose the theme before first paint; and small pull requests and AI-assisted audits turned legacy color cleanup into reviewable tasks. The older M2 service required converting styles page by page, preserving existing light colors as fallbacks, and quarantining pages for staff QA before rollout. Design input and manual QA remained necessary: Claude missed issues, including cases where translucent colors depended on what lay beneath them. The reader experience launched to 100% of readers on October 1; M2 pages were still in QA at the time of writing.

## Source excerpt

Keep it safe, keep it small, keep it concrete: How a "someday project" finally shippedImage created by the Medium Brand team Medium has been around for 14 years. In that time, dark mode went from a novelty to a must-have, especially for sites built for reading. In my seven years on the web team, however, it never made it onto our roadmap. Why? Readers asked for it and teammates often asked what it would take, but there was just always another project that needed our engineers more. This year, that finally changed, and I'm so excited to say that (most of) Medium now supports a dark theme! The energy inside the company has been huge, but the cherry on top was hearing from readers who went out of their way to fill out our feedback form just to say thank you. Seriously, who does that? To everyone who wrote in: thank you so much. It feels wonderful to finally deliver this to our readers, and soon to our writers too. This story is about how it happened. Part of it is technical, like why dark mode was harder for us than flipping a few colors. But a big part of it is personal, because the hardest piece for me wasn't the cache or the CSS, but taking the first steps. Starting without a ticket For most of my career, work has reached me as a ticket someone else wrote. I'm good at that. I'm careful, I follow through, and I like finishing things. Dark mode lived in a gap I think a lot of teams have: work the company clearly valued, but kept getting edged out by larger initiatives. It was the first time, though, that I felt strongly enough about something in that gap to try closing it myself. We're a small team, and our design team is even smaller and juggling a ton. But when the web team met to pick a few projects outside our feature work earlier this year, I suggested we finally build it. I believed it could be done without dropping any product work. All we needed was a plan and someone to take the first steps. I didn't want to ask the team to trade something important away, and