Antoine

@antleth.fr

Tech enthusiast, passionate software engineer and hardcore dark mode advocate

Side debate this makes me think about: if your website has a keystroke-based theme switch, switching from the system-opposite mode to the system-identical color should bring you back to *system*, not *system-like*. E.g.: given system == dark: - first switch → light - second switch → ~dark~ system

Lea Verou, PhD@lea.verou.me · yesterday

📊 For websites that use a tri-state dark mode toggle (system, light, dark), have you EVER clicked on the override that matches your current system theme? E.g. going from System to Light on a light OS (which produces no visible change). Experimentation aside obvs. Poll at github.com/LeaVerou/blo...

⣿⣿⣿⣿⣿⣿⣿⠿⠛⠛⠛⠛⠿⣿⣿⣿ ⣿⣿⣿⡿⠟⠋⠀⢀⣠⣤⣤⣄⡀⠀⠻⣿ ⣿⡿⠋⠀⢀⣤⣶⣿⣿⡿⢿⣿⣷⡄⠀⢹ ⣿⠁⠀⣴⣿⣿⠿⠋⠁⣀⣀⠉⠻⠃⠀⢸ ⣿⡀⠀⢿⣿⣷⣤⣾⣿⣿⣿⣿⣦⠀⠀⢿ ⣿⠃⠀⠈⠙⠿⠿⠟⠋⢁⣼⣿⣿⠀⠀⢸ ⡇⠀⠀⣿⣶⣆⢀⣤⣾⣿⣿⠟⠋⠀⢠⣿ ⣿⡄⠀⠙⢿⣿⣿⣿⠟⠋⠀⢀⣠⣶⣿⣿ ⣿⣿⣦⣀⡀⠀⠀⠀⣀⣠⣶⣿⣿⣿⣿⣿ ⠛⠛⠛⠛⠛⠛⠚⠛⠛⠛⠛⠛⠛⠛⠛⠛

i write code manually cause it’s fun and i don’t want AI to take that skill away from me

good timeline. this is magic-string, 140M dls/week. a week ago i asked if it could go ESM only - @sxzz.dev dropped a PR <1 day later 🎉 later, I removed sourcemaps and did 2 big CPU perf speed ups 🚀 love seeing a high impact package like this shrink and speed up

magic-string package dropping by 56% (304.9KB), then later by another 36% (86.8KB). Also changed to ESM only and enabled trusted publishing/provenance.

It may seem obvious but whatever you ship with a framework ends up being a good (or bad) ad for it It’s your responsibility to ship the best app possible (one of many reasons) to avoid bad user perception But it’s the framework authors’ role to eliminate it completely

📊 LayerChart 2.0 is officially released! After ~16 months of development and 67 pre-releases, the official 2.0.0 release has been published! 🎉 This includes the Svelte 5 rewrite, CSS framework agnostic, improved API and state, numerous new components and chart types, and so much more!

Bild

There were good reasons why every software idea under the sun didn't get built. You need humans on the other side pushing back, and sometimes saying that you're absolutely wrong. You need others to hash out and improve your revolutionary ideas. You need friction.