Mastering Notion Dark Mode for Your Workspace and Website

Learn how to enable Notion dark mode on any device to reduce eye strain. Get expert CSS tips to build a custom dark theme for your Sotion website.

Mastering Notion Dark Mode for Your Workspace and Website
Slug
notion-dark-mode
Excerpt
Learn how to enable Notion dark mode on any device to reduce eye strain. Get expert CSS tips to build a custom dark theme for your Sotion website.
Flipping on Notion dark mode is one of those small tweaks that makes a huge difference in your workspace. It swaps the default bright white interface for a dark theme, which a lot of us find much easier on the eyes—especially during those late-night work sessions. It's a big reason why so many people swear by it for focused writing and planning.

Why Notion Dark Mode Is a Productivity Essential

notion image
The love for Notion dark mode is about more than just a cool, modern look. For the millions of people who use Notion as their "second brain," it's become a genuine productivity tool. It fundamentally changes how you interact with the app, turning a bright, paper-like screen into a quiet, focused environment.
This isn't just about personal preference; it's a practical choice. The reduced glare from a dark background can seriously cut down on digital eye strain, something anyone who spends hours staring at a screen knows all too well. This is especially true for developers, writers, and designers who practically live in their digital tools and need to stay locked in for long stretches.

Improving Focus and Readability

A dark theme has a natural way of fading into the background. By making the interface less visually demanding, it lets your actual content—your notes, tasks, and documents—pop. This simple change helps create a more immersive workspace, making it easier to concentrate on what you're doing.
Think about a writer drafting a long article or a project manager mapping out a complex timeline. In those situations, the high contrast of white text on a dark background can actually improve readability and lower the mental effort needed to process everything. It’s a small adjustment that can have a big impact on your cognitive load.

A Modern User Expectation

Let's be honest, dark themes are standard now. In the world of productivity software, Notion's dark mode was a huge win for its massive user base. In fact, recent 2026 market data showed that a staggering 76.8% of teams had it turned on, which lines up with a broader trend of most smartphone owners using dark mode daily. You can dig into more stats in Gitnux's comprehensive Dark Mode Usage Report.
This expectation doesn’t just stop at the app. If you're using Sotion to build a website from your Notion pages, offering a dark theme isn't just a nice-to-have anymore—it's a must. It tells your visitors you care about their experience and are up-to-date with current design standards. Thinking about your user's comfort is a core tenet of modern UX design techniques.
Ultimately, a well-executed dark mode enhances your brand's perception, signaling a real commitment to quality and a user-first approach.

Activating Native Dark Mode in Your Notion Workspace

Ready to switch to a more comfortable, eye-friendly view? Enabling Notion’s built-in dark mode is incredibly straightforward, and one of the best parts is the consistent experience across all platforms. Whether you're at your desk or on the go, you can flip the switch in just a few clicks.
All the magic happens in the My notifications & settings panel. This is the central hub for controlling your workspace’s appearance, giving you direct control over when and how you use Notion dark mode.

On Desktop and Web Browser

For folks using the Notion desktop app on Mac or Windows, or even just accessing it through a web browser, the steps are identical. I love this unified approach—you don’t have to relearn the interface every time you switch devices.
Just look for Settings & Members in the top-left corner of your Notion sidebar. Clicking this opens a new window where you’ll find My notifications & settings. The very first option you'll see is Appearance.
Here, you get three choices:
  • Use system setting: This is my personal preference. Notion will automatically mirror your computer's theme. If your OS switches to dark mode at sunset, Notion follows right along.
  • Light: This locks in the classic bright white interface, no matter your system settings.
  • Dark: This forces your workspace into dark mode permanently.
Choosing "Use system setting" is the perfect set-it-and-forget-it solution that just works.

On Mobile Devices iOS and Android

The mobile experience is just as seamless. When you’re trying to manage projects from your phone in low-light conditions, a dark theme can be a real game-changer for your eyes.
On both iOS and Android, the process is nearly identical. Tap the menu icon, which you’ll typically find at the top-right of your screen. From there, scroll down and you'll find a simple toggle for Dark Mode. Tapping it instantly switches the theme.
Unlike the desktop version, the mobile apps usually offer a direct on/off toggle instead of the three "System/Light/Dark" options. By default, the mobile app is designed to sync with your phone's system-wide dark mode setting. If your phone is already in dark mode, Notion should open that way automatically.

Troubleshooting Common Issues

Once in a while, you might hit a small snag when trying to activate Notion dark mode. It’s pretty rare, but here are a couple of quick fixes for the most common hiccups.
If you find the setting isn't "sticking" after you've changed it, the first thing to try is a simple refresh. On the desktop app, just use the keyboard shortcut Cmd/Ctrl + R to reload your workspace. This usually clears up any temporary sync issues.
Another thing to check is for any pending app updates. If you're running a very old version of the Notion app, some features might not behave as expected. Make sure you have the latest version from the App Store, Play Store, or Notion's website to ensure everything works smoothly. This one step solves the vast majority of weird visual glitches.

How to Build an Automatic Dark Mode for Your Sotion Site

Taking your Notion page public with Sotion is a huge step toward building a real brand online. One of the best ways to make your site feel polished and professional is by adding an automatic Notion dark mode that respects your visitor’s system settings. This isn't just about flipping colors; it’s about delivering a thoughtful, user-first experience.
The magic behind this is a simple but powerful CSS media query called prefers-color-scheme. This code checks whether a user's device—be it Windows, macOS, iOS, or Android—is set to light or dark mode and then applies your custom styles. It's a clean, modern approach that works automatically without your visitors needing to lift a finger.
The goal is to create a seamless experience that syncs perfectly across desktop and mobile, just like the native Notion app itself.
notion image
As the guide shows, users expect this kind of consistency. Now, let’s build that same synchronized experience right into your Sotion website.

Establishing Your Core Color Variables

Before you dive into writing the dark mode styles, it's a best practice to define your site's color palette using CSS custom properties, or variables. This makes your theme ridiculously easy to update later. Instead of hunting down a hex code in ten different places, you just change it once.
You'll start by adding your light theme colors inside the :root selector in your Sotion site's custom CSS settings. This will serve as the default look for your site.
:root { --background-color: #FFFFFF; --text-color: #1A1A1A; --link-color: #0066CC; --callout-bg-color: #F1F1F1; }
Think of these variables as placeholders you can use throughout your CSS. Setting them up front is a lot like automating repetitive tasks; a bit of initial setup saves you a ton of headaches down the line.
We need a solid, maintainable foundation for our themes. The table below outlines the core CSS variables that form the backbone of a good Sotion dark mode implementation. Defining these ensures you have a single source of truth for your colors.

Core CSS Variables for Your Sotion Dark Theme

CSS Variable
Purpose
Example Light Mode Value
Example Dark Mode Value
--background-color
Sets the main page background color.
#FFFFFF
#191919
--text-color
Defines the default color for body text.
#1A1A1A
#E0E0E0
--link-color
Styles all hyperlink text.
#0066CC
#58A6FF
--callout-bg-color
Manages the background of Notion callout blocks.
#F1F1F1
#2C2C2C
By using these variables consistently, swapping between light and dark themes becomes as simple as redefining these values.

Implementing the Automatic Switch with CSS

With your light theme variables in place, you can now bring in the prefers-color-scheme: dark media query. Any code inside this block will only run when a visitor's device is set to dark mode. All you have to do is redefine the values of the custom properties you just created.
@media (prefers-color-scheme: dark) { :root { --background-color: #191919; --text-color: #E0E0E0; --link-color: #58A6FF; --callout-bg-color: #2C2C2C; } }
This method is incredibly efficient. You’re not rewriting entire CSS rules; you’re just swapping out the color values. Any existing styles that reference these variables will update on the fly.
For instance, a single rule for your page's body will now work for both themes without any extra code.
body { background-color: var(--background-color); color: var(--text-color); }
That’s it. Your site now automatically adapts.

Styling Specific Notion Blocks

To really nail the dark mode experience, you have to sweat the details. We're talking about Notion-specific blocks like callouts, code snippets, and blockquotes. If they're left unstyled, they can look jarring against a dark background. Thankfully, Sotion preserves Notion’s class names, which makes targeting these elements a breeze.
For example, to make a callout block look great in your new dark theme, you’d target a few key classes:
  • .notion-callout-block: Use this to set the new dark background color.
  • .notion-callout-block .icon: You might need to tweak the emoji or icon color for better visibility.
  • .notion-callout-block .notion-selectable: This class lets you change the text color inside the callout.
This isn't just about looks—dark mode is a must-have feature for many people. Its popularity is undeniable, with an estimated 83% of users switching their devices to dark mode at night. It has become a core expectation for any modern app or website.
While CSS handles the automatic theme switching beautifully, some users appreciate a manual toggle button. Building one typically requires a little bit of JavaScript to add or remove a class on the body element. If you're ready to explore that, check out our guide on adding custom JavaScript for Notion pages. For now, prefers-color-scheme gives you a fantastic, fully automatic solution that just works.

Refining Your Sotion Dark Theme with Advanced CSS

notion image
An automatic dark theme is a great first step, but what really elevates a site is giving users direct control. Adding a manual toggle switch is the mark of a pro-level build, letting visitors pick their theme no matter what their system is set to.
This does take a little bit of JavaScript, but the payoff in user experience is huge. The basic idea is to add a dark-theme class to your site's <body> element whenever someone clicks the toggle. Your CSS then looks for this class to apply your dark styles, giving manual choice the final say.

Implementing a Manual Toggle with JavaScript

First things first, you'll need to add a button to your site. Sotion lets you inject your own code, so dropping a simple button into your header or footer is a quick job.
Once the button is in place, a small JavaScript snippet will bring it to life. This script has a few key responsibilities:
  • Check for a saved choice: It peeks into the browser's localStorage to see if the user has picked a theme on your site before.
  • Listen for the click: It waits for a user to click your new toggle button.
  • Apply the theme: When clicked, it adds or removes that dark-theme class on the <body>.
  • Remember the setting: It saves the choice to localStorage, so their preference is remembered the next time they visit.
This creates a sticky, user-driven experience. Now, a visitor's manual selection will override their system default on your site, giving them total control. If you want to explore the nuts and bolts of adding scripts, our guide on what is custom CSS has some great related insights.

Polishing Images and Logos for Dark Mode

One of the most common snags with any Notion dark mode is how it handles images and logos. A sleek, dark logo looks sharp on a light background but can vanish completely when the theme flips. On the other hand, a bright, sunny photo can feel like a spotlight in a dark room.
Thankfully, you have a few ways to tackle this.
  • Use SVG Logos: This is the cleanest solution for your brand logo. Since SVGs can be styled with CSS, you can just change the fill color right inside your dark mode media query.
  • CSS Filters: For photos, CSS filters are your best friend. A subtle touch of brightness(.8) and contrast(1.2) can help an image blend in beautifully without looking dull.
  • Swapping Image Files: For more complex situations, like a multi-colored logo, you might need to swap the image file itself. You can get this done with some clever CSS or use a bit of JavaScript to change the image's src attribute.
When you're looking for inspiration, check out different visual styles. For instance, a neon aesthetic often relies on dark backgrounds to make bright colors pop, which can give you some fantastic ideas for a striking dark theme.

Ensuring Accessibility with High Contrast

A gorgeous dark theme is pointless if nobody can read it. Accessibility is non-negotiable, and for dark mode, that means nailing the color contrast between your text and background.
The Web Content Accessibility Guidelines (WCAG) give us a clear roadmap.
  1. WCAG AA Standard: For normal text, you need a contrast ratio of at least 4.5:1.
  1. WCAG AAA Standard: To really go the extra mile, aim for a 7:1 ratio.
  1. Large Text: For bigger text (18pt/24px or larger), the minimum ratio is a more forgiving 3:1.
It’s tempting to just use pure black (#000000) and pure white (#FFFFFF) for maximum contrast, but this can be surprisingly harsh on the eyes. A more comfortable and professional approach is to use an off-black background (like #121212) with off-white text (like #E0E0E0). This pairing is much easier on the eyes for long reading sessions and still smashes the WCAG AA standards.
You can check your colors in seconds using the developer tools in Chrome or Firefox. Just inspect a text element, click its color swatch, and the browser will show you the exact contrast ratio. It's an essential final check before you go live.

Testing Your Dark Mode for a Flawless Member Experience

A slick Notion dark mode is great, but what happens when a new member tries to sign up or log in? A beautiful theme means nothing if it breaks the most important parts of your site—the parts that turn visitors into members. This is where you have to get serious about testing.
The last thing you want is for an excited visitor to hit a password field with invisible text or a checkout form that looks completely broken. These little snags aren't just annoying; they directly lead to lost signups and revenue. We need to make sure every single interactive element, especially those powered by Sotion's membership features, works perfectly in both light and dark modes.
That means methodically checking everything from password prompts and email signup forms to payment gateways like Stripe or Lemon Squeezy. Your custom CSS has to play nicely with all of them.

The Pre-Launch Gated Content Checklist

From my own experience launching dozens of Sotion sites, I've built a checklist that catches these problems before they ever see the light of day (or the dark of night). This isn't just about looks; it's about making sure your business can actually function. Before you even think about announcing your new dark theme, walk through these critical touchpoints.
1. Member Authentication Flows
This is the front door to your community. You need to test every step like you're a brand-new user seeing it for the first time.
  • Sign-Up Forms: Can you clearly read the text in every input field? Are the labels and placeholder text easy to see against the dark background?
  • Login Prompts: Check the email and password fields. Make sure error messages like "Incorrect password" are styled properly and don't just disappear into the background.
  • Password Reset: Walk through the entire "Forgot Password" process. Check the email submission form and any confirmation messages that pop up on the screen.
2. Payment and Checkout Process
If you're selling anything, this is where the money is made or lost. A broken checkout is a direct hit to your wallet.
  • Payment Gateway Modals: See how payment forms from Stripe, Gumroad, or Lemon Squeezy look. While they often have their own styling, your CSS can sometimes interfere in unexpected ways.
  • Pricing Tiers: Are all your pricing plans, feature lists, and "Buy Now" buttons high-contrast and easy to click?
  • Confirmation Screens: After a member pays, is the "Welcome" or "Access Content" page styled correctly in dark mode? Don't leave them hanging.

Simulating Different User Scenarios

Just clicking through the site on your own machine isn't enough. Your members will come from all kinds of devices and browsers, and you need to ensure the experience is solid for all of them.
Try to put yourself in their shoes with these scenarios:
  • First-Time Visitor: Clear your browser's cache and cookies to see what a brand-new user experiences. Does the site automatically pick up their system's theme preference?
  • Logged-In Member: Log in and browse your gated content. Does the theme stay consistent once they're behind the paywall?
  • Mobile vs. Desktop: Test every single flow on your phone and your computer. You'd be surprised how often layout shifts and mobile rendering can expose bugs you'd never see on a desktop.
Running through these checks gives you confidence that your custom Notion dark mode is more than just a cool design feature. It proves your site is a reliable, professional platform that supports your brand and gives members a perfect experience—from their first visit to their final purchase. This is what separates an amateur site from one people trust.

Common Questions About Notion and Sotion Dark Mode

As you dive into creating a dark mode experience, a few common questions always seem to pop up. Let's clear up some of the most frequent ones I hear, covering both the native Notion app and your custom Sotion site.

Can I Set a Custom Dark Mode Theme Inside the Native Notion App?

In short, no. The native Notion application—whether on desktop, web, or mobile—doesn't currently allow for custom themes or any kind of CSS tinkering.
You’re limited to their built-in "Light" and "Dark" themes, or you can set it to "Use system setting" so it automatically syncs with your operating system's preference.
The deep customization with CSS and JavaScript we've been exploring is purely for websites you build from Notion pages using a platform like Sotion. That's where you get complete creative freedom.

Will My Custom Dark Mode on Sotion Affect My Notion Workspace?

Absolutely not, and this is a huge relief for many people. Any code you add to your Sotion dashboard—whether it's CSS for styling or JavaScript for functionality—only impacts the public-facing website.
Your private Notion workspace is completely isolated and remains untouched. It will keep using whatever theme you’ve set inside Notion itself. This separation is fantastic because it lets you build a highly branded, unique experience for your site visitors without ever messing with your personal notes and databases.

What Is the Best Way to Make Images Look Good in Both Modes?

The single most effective trick is to use images with transparent backgrounds whenever you can. File formats like PNGs or SVGs are perfect for this.
This way, your images will sit naturally on any background, whether it’s a light gray or a dark charcoal. For logos, an SVG is almost always the best choice—it’s lightweight, scales perfectly, and you can even change its color with a little bit of CSS.
For photographs, the goal is to make sure your main subject has enough contrast to pop against both light and dark backgrounds. A good habit is to avoid photos where the subject fades into a pure white or pure black background. Sticking to this simple rule makes a massive difference in how polished your site looks.

How Can I Test the Accessibility of My Sotion Dark Theme?

Testing for accessibility is much easier than you might think. Modern browsers like Chrome, Firefox, and Edge come packed with excellent developer tools that do the heavy lifting for you.
Here’s a quick workflow I use:
  • Right-click anywhere on your live Sotion site and choose "Inspect."
  • In the developer tools panel that appears, find the color picker for any text element.
  • The color picker will show you a "Contrast ratio" value, often with a WCAG rating right next to it.
You should aim for at least a WCAG AA rating for your text. This translates to a contrast ratio of 4.5:1 for normal-sized text. Running this quick check ensures your site is readable and comfortable for everyone, including people with visual impairments.
Ready to turn your Notion pages into a stunning, professional website with features like custom dark mode? Sotion transforms any Notion page into a fully branded site with member access, payment gateways, and more in just minutes. Build your site today at https://sotion.so.

Take control of your Notion site today!

7-day free trial. No credit card needed

Connect my Notion page →
Bruce McLachlan

Written by

Bruce McLachlan

Meet Bruce, the founder behind Sotion, and explore his vision on enhancing Notion Pages. Get a glimpse of the journey and the future roadmap of Sotion.