frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Dark mode with web standards

https://olliewilliams.xyz/blog/dark-mode/
14•thm•5h ago

Comments

memoriyato3•26m ago
I use an app to switch the Windows system theme between light/dark automatically based on time of day (similar to auto blue color reduction).

It's funny noticing how most Electron/WebViews/web-sites immediately switch too, and have good dark mode support, while non-web-tech native apps either only support light-mode, have a bad looking incomplete dark-mode, or require a restart to switch.

So much for "native GUIs are superior, consistent and respect the user". Microsoft is still struggling with adding dark mode support to most Windows included apps.

recursivedoubts•23m ago
i'm sure this is unpopular, but I think dark mode was an (understandable) mistake

in my made up, undersourced version of tech history, what happened was that the first LCDs that came out were very dim compared to the CRTs they were replacing, which OS makers responded to by going to very bright/white UIs over the previous gray/color schemes that were used and everyone cranked their brightness to 11. Over time LCDs improved and the new white-standard/high brightness regime became untenable for people who were on their screens for long periods of time, which drove the creation of dark mode, first in coding themes and later for the entire OS.

Dark mode support makes it VERY hard to do a website well because it is almost always going to look mediocre in one mode or the other and it is very easy for a gremlin to sneak in in the mode that a developer isn't using.

I would love to go back to a gray-base color and use a mildly muted white for a reading background and dark for code/special content. The hyperscript website is kind of a gesture in this direction: https://hyperscript.org/

Firehawke•12m ago
As someone who has moderate to fairly heavy lighht sensitivity when I'm not dealing with migraines and extremely heavy light sensitvity with headaches, I'm just going to say that you're absolutely wrong here.

Not every user has the same physiology. Dark mode is an accessibility option for a fair number of us.

Shadcn/UI now defaults to Base UI instead of Radix

https://ui.shadcn.com/docs/changelog
182•dabinat•8h ago•69 comments

If you're a button, you have one job

https://unsung.aresluna.org/if-youre-a-button-you-have-one-job/
316•nozzlegear•11h ago•160 comments

Claude Design System Prompt

https://github.com/Trystan-SA/claude-design-system-prompt
52•handfuloflight•4h ago•12 comments

Fast Software, the Best Software (2019)

https://craigmod.com/essays/fast_software/
58•ustad•5h ago•27 comments

Functional Programming in hica

https://www.hica.dev/docs/functional-programming/
16•cladamski79•3d ago•4 comments

GPT-5.5 Codex reasoning-token clustering may be leading to degraded performance

https://github.com/openai/codex/issues/30364
316•maille•15h ago•120 comments

Trust your compiler: Modern C++

https://categorica.io/blog/2026.06.29_trust_your_compiler/
13•foxhill•3d ago•3 comments

Pandoc Lua Filters

https://pandoc.org/lua-filters.html
90•ankitg12•2d ago•5 comments

Knowledge Should Not Be Gated

https://www.formaly.io/blog/knowledge-should-not-be-gated
27•nezhar•5h ago•3 comments

Cannabis Users Face Substantially Higher Risk of Heart Attack

https://www.acc.org/about-acc/press-releases/2025/03/17/15/35/cannabis-users-face-substantially-h...
6•RickJWagner•1h ago•2 comments

Introduction to Compilers and Language Design

https://dthain.github.io/books/compiler/
4•AlexeyBrin•1h ago•0 comments

Jellyfish can heal wounds in minutes. Scientists want their secrets

https://www.mbl.edu/news/jellyfish-can-heal-wounds-minutes-scientists-want-their-secrets
154•hhs•14h ago•34 comments

Scientist who cleaned space toilet on work now leading Mars exploration

https://www.bbc.com/news/articles/cz758x04g83o
19•saikatsg•3h ago•4 comments

Megawatts by Microwave

https://computer.rip/2026-07-04-microwave-and-power.html
35•eternauta3k•7h ago•4 comments

Moby Dick Workout (2022)

https://www.hogbaysoftware.com/posts/moby-dick-workout/
56•helloplanets•8h ago•18 comments

Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable

https://github.com/ammaarreshi/Generals-Mac-iOS-iPad/tree/main
599•asronline•17h ago•256 comments

Artful Cats: Feline-Inspired Art and Artifacts

https://www.si.edu/spotlight/art-cats
54•jruohonen•3d ago•4 comments

Meta's Un-Stable Signature

https://hackerfactor.com/blog/index.php?/archives/1098-Metas-Un-Stable-Signature.html
107•ementally•3d ago•15 comments

Atomic Force Microscope [video]

https://www.youtube.com/watch?v=DyIQkqBXhS0
86•mhb•2d ago•9 comments

The Log is the Agent

https://arxiv.org/abs/2605.21997
59•iacguy•10h ago•18 comments

What ORMs have taught me: just learn SQL (2014)

https://wozniak.ca/blog/2014/08/03/1/index.html
223•ciconia•4d ago•250 comments

Return of the Nigerian Prince Redux: Beware Book Club and Book Review Scams (2025)

https://writerbeware.blog/2025/09/19/return-of-the-nigerian-prince-redux-beware-book-club-and-boo...
64•Anon84•12h ago•21 comments

“Beyond the limit”: Satellites and mirrors in space pose threat to the night sky

https://www.eso.org/public/news/eso2607/
157•Breadmaker•19h ago•259 comments

Dark mode with web standards

https://olliewilliams.xyz/blog/dark-mode/
14•thm•5h ago•3 comments

About the Digital Art

https://www.tricivenola.com/about-the-digital-art/
15•NaOH•3d ago•3 comments

My ASN Journey series (2024)

https://www.animmouse.com/p/my-asn-journey/
28•antonalekseev•8h ago•11 comments

Reducing Assumptions, Exploding Your Code

https://ryelang.org/blog/posts/reducing_assumptions_but_exploding/
16•mpweiher•5h ago•5 comments

Drone Autonomy (2021)

https://www.cggonzalez.com/blog/index.html
69•cgg1•13h ago•6 comments

Programmers need to start meditating

https://jacob.gold/posts/programmers-need-to-start-meditating-now/
108•enz•5h ago•111 comments

A gender-swap EarthBound for my daughter (2025)

https://tommy.reddad.net/post/2025-12-04-coilsnake/
13•Sajarin•7h ago•1 comments