this post was submitted on 20 Mar 2025
17 points (90.5% liked)
Web Development
3723 readers
79 users here now
Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development
What is web development?
Web development is the process of creating websites or web applications
Rules/Guidelines
- Follow the programming.dev site rules
- Keep content related to web development
- If what you're posting relates to one of the related communities, crosspost it into there to help them grow
- If youre posting an article older than two years put the year it was made in brackets after the title
Related Communities
- !html@programming.dev
- !css@programming.dev
- !uiux@programming.dev
- !a11y@programming.dev
- !react@programming.dev
- !vuejs@programming.dev
- !webassembly@programming.dev
- !javascript@programming.dev
- !typescript@programming.dev
- !nodejs@programming.dev
- !astro@programming.dev
- !angular@programming.dev
- !tauri@programming.dev
- !sveltejs@programming.dev
- !pwa@programming.dev
Wormhole
Some webdev blogs
Not sure what to post in here? Want some web development related things to read?
Heres a couple blogs that have web development related content
- https://frontendfoc.us/ - [RSS]
- https://wesbos.com/blog
- https://davidwalsh.name/ - [RSS]
- https://www.nngroup.com/articles/
- https://sia.codes/posts/ - [RSS]
- https://www.smashingmagazine.com/ - [RSS]
- https://www.bennadel.com/ - [RSS]
- https://web.dev/ - [RSS]
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I agree with this decision. Don't make error pages more complicated than they are.
It's literally just one line of HTML though:
Not complicated at all.
They're already more complicated than I want them to be so I'm passing on that
And some css, and accessibility issues. Dark mode isn't actually great for everyone.
It doesn't need any CSS since the Nginx error pages use the browser's default styling. The meta tag just tells the browser to use its default light or dark mode styling depending on the user's preference.
A standard behaviour on all sites that properly implement dark mode is that it adheres to the system-wide dark mode setting by default. If the user doesn't want dark mode, they'd turn it off system-wide. The site can let the user opt in to dark mode just for that site, but the default is based on the system setting.
You didn't actually check, did you?
Yes, I checked the pull request: https://github.com/nginx/nginx/pull/567/files and I'm also a web developer so I understand how it works.
Check what? They're right.
🤡
Respecting the user's choice (whether to use dark mode or not) helps accessibility rather than hindering it.