Skip to content

Conversation

@anvme
Copy link

@anvme anvme commented Mar 10, 2025

This adds native support for light and dark mode on Apache’s default error pages.

<meta name="color-scheme" content="light dark">

The tag is now included in the head, so modern browsers can automatically switch based on the user’s system preference.

No extra styling is needed—just letting browsers/OS do their thing.

P.S. As example how it's working on nginx 404 Demo page here - https://nginx-light-dark-404.vercel.app/404.html Just switch OS between light/dark mode

The <meta name="color-scheme" content="light dark"> tag is now included in the <head>, so modern browsers can automatically switch based on the user’s system preference.
@anvme anvme changed the title Native light/dark mode support for Apache error pages 🌙 Native light/dark mode support for Apache error pages Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant