Skip to content

Light and dark mode for your website: why both matter and how to check them

Your visitors decide whether they see your site in light or dark. The question is whether it looks right either way.

The team behind Folio at wrxstack8 min read

Yes, a modern website should look right in both light and dark mode, because visitors set the preference on their own device and expect sites to follow it. Neither mode is better for everyone: light is often best for long reading in bright rooms, dark for evening use and image-led work. Your job is to make both readable and to test your own images in each.

The choice

Who chooses, and how it reaches your site

Phones, laptops and browsers all let people choose a light or dark appearance, or switch automatically at sunset. A website can detect that preference through a standard browser setting and adjust its colours. It means your visitor makes the choice once for their device, and every well-built site respects it.

That has a practical consequence. You do not decide which mode your visitors see. Some of your customers will open your site on a phone in a dim bedroom, others on a bright office monitor, and both will see whatever your design does in that mode. If the dark version has an unreadable logo or a stark white photo box, a meaningful share of visitors will meet your worst version.

So the question is not "which mode should I choose", but "have I checked both". A design that supports both, with your own content verified in each, gives every visitor your best version.

Trade-offs

Light and dark compared on what matters

Here is how a typical well-built design behaves. Your content will shift some of these.

Reading

Long reading in a bright room

Light mode is usually clearer and more comfortable here. Dark mode can work, but reflections on glossy screens may hurt.

Evening

Phone use in the dark

Dark mode is gentler and gives less glare. A bright white page at night is the classic complaint.

Visual work

Photography, film and motion

Dark often makes images look richer and more dramatic. Light gives a clean gallery feel where images frame well on white.

Text

Writing and case studies

Light is familiar and easy for long paragraphs. Dark is fine with careful contrast and generous spacing.

Brand

Logos and transparent graphics

Most logos are drawn for white. In dark mode they need a light variant or a vector that adapts to the text colour.

Test

A ten-minute test for both modes

Do this on your own phone before you publish or after you change your design.

  1. Switch your device to dark, then to light.

    Use your system settings, not a browser extension, so you see exactly what a visitor sees. Reload the site after each switch.

  2. Look at the first screen in each mode.

    Is the headline clear? Is the main button obvious? Is your logo visible and clean?

  3. Open your best three images or projects.

    Look for harsh white boxes, vanishing transparent edges, low-contrast captions and screenshots that glare.

  4. Read a full page of text.

    Check that body copy, links and muted text are all comfortable for a full paragraph, not just a heading.

  5. Tab through with a keyboard.

    Confirm you can see where focus is in both modes, including in the menu and on forms.

  6. Check a form and an error state.

    Submit a contact form with an empty field. Make sure the error message is clear in both modes and does not rely on colour alone.

Content

Prepare your own assets once, benefit everywhere

The theme is only half of what a visitor sees. Your logo, photographs, charts and screenshots are your responsibility. A little preparation makes them behave in both modes.

For logos, keep a vector version (SVG) and a light variant. For photos, export at the display size with a neutral background and avoid solid white borders baked into the image. For screenshots, choose ones with clear edges, or add a subtle border so they do not melt into the page.

For charts and diagrams, use a small set of strongly separated colours, label the elements directly and avoid hairline grey axes. For video thumbnails and posters, check that the play button remains visible on both a pale and a dark surround.

If you publish regularly, add the check to your routine: after you add a new project or post, flip your phone to the other mode and glance at it.

For businesses

What this means for portfolios and business sites

On a portfolio, supporting both modes tells visitors you care about craft. It matters most for designers, photographers and developers, whose audience tends to notice. A visitor who opens your link from a message at night and sees a dazzling white page may remember that.

On a business website, the stakes are practical. Customers check opening hours, addresses and phone numbers on their phones at all hours. Make sure those details, the map and the call button stay legible in both modes. Clear text beats clever styling.

Folio's design library supports light and dark modes in every design, for personal portfolios and business websites alike. That removes the biggest chunk of work. What remains is checking your images and logo, which is a ten-minute task.

Frequently asked questions

Do I need to build both a light and a dark version of my site?

With a modern theme that supports both, you do not build two sites. The design adapts its colours, and you check your own logo and images. If you build from scratch, you define a palette for each mode.

Which mode should be the default?

Follow the visitor's system preference. If you must pick a default for visitors with no preference, choose the mode that suits your content, usually light for text and dark for image-led work.

Is a theme toggle button necessary?

It is a convenience, not a requirement. Following the system setting covers most visitors. A toggle helps people who want a different mode on your site than on their device.

Will dark mode make my site load slower?

Not by itself. Colour choice does not change loading speed. Large images and scripts do, and those are the same in both modes.

Does dark mode save battery?

On some screen types, such as OLED, darker pixels use less power, so it can help a little. The effect varies by device and brightness, so treat it as a minor benefit, not a reason to choose dark.

What is the most common dark mode mistake?

Forgetting the logo. A dark logo on a transparent background disappears on a dark page. Add a light variant or use a vector that follows the text colour.

Start free

Build the portfolio, resume, and site in one place.

A theme, an AI resume, a custom domain, and the SEO built in. No card required to start, and your work is yours to export any time.

Keep reading