Thomas Steiner (@tomayac)

Now at

The below is an off-site archive of all tweets posted by @tomayac ever

January 2nd, 2020

@olivierlacan Neat! One pitfall, though: this approach breaks on browsers that don’t support `prefers-color-scheme`, or for users who have it set to `no-preference`. Here’s my suggestion: See it in action on my blog.

via Twitter Web App

JavaScript regular expressions: `.lastIndex` and the flags /g and /y: One of my nastiest bugs in my career so far involved learning about this. Highly recommended reading! 🙇‍♂️

via Twitter for iPhone