Skip to content

🌙 Native light/dark mode support for Apache error pages #521

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

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