Dark mode controlled by the window

An airplane window at the top of the portfolio controls the page theme. The dark mode toggle swaps the moon icon for a recognizable object, with a gesture of its own.
Video of dark mode controlled by an airplane window. Playful toggle inspiration. The post points to mikes.cv ("Mike Barton").
Post text
Window controlled dark mode? why not 🛫
Open the post on X ↗Open in the archive
Similar references
- Tiny Big Details · @nickbakeddesign
- Nested steps · @nandafyi
- CSS image hover trick · jhey ʕ•ᴥ•ʔ
- Activity indicator with equations · @bbssppllvv
- Tooltip only when the text is truncated · @pqoqubbw
- loading-ui: 35 loading components · @tranmautritam