First things first. We need to know when to switch the background color. We’ll check `defaults read -g AppleInterfaceStyle`, which produces `Dark\n` when macOS’s dark mode is turned on.
I loved Flash. To celebrate the #Flashpocalypse, please indulge me for trip down memory lane. 🧵
Over fifteen years ago, my first programming gig was an internship at a company that built websites with Flash. A project I remember was the website for a large Dutch fashion chain.
The team of designers, animators and programmers worked together to make it a beautiful experience, while maintaining some form of accessibility and SEO.
To do that, the whole Flash app gracefully degraded to a separate pure-HTML version, essentially duplicating the project.