updated post to reflect prior change
Some checks failed
/ Generate Site (push) Has been cancelled
/ Publish Site (push) Has been cancelled

This commit is contained in:
Pagwin 2025-10-28 13:15:28 -04:00
parent 80b2e2e5b2
commit 8e35a4e6af

View file

@ -132,6 +132,10 @@ Default view transition via
Makes this technique slightly better visually and so I added it to the demo. Although not sure if/how I'd add it to a real world application which doesn't have a pretty robust system for view transition setup.
### Update 2: Made js button also use view transitions
via: [document.startViewTransition](https://developer.mozilla.org/en-US/docs/Web/API/Document/startViewTransition)
## Why Don't I Have a Light/Dark Toggle Button on This Blog?
Because doing it correctly is more effort than it's worth, I don't want to do it incorrectly, and for most people their system preference will already match what they want.