Thomas Steiner (@tomayac)

Now at @tomayac@toot.cafe

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

April 17th, 2022

@AdaRoseCannon @cramforce @bramus Probably of the document. But I haven’t thought deeply about it yet. It seems logical at first sight to use the document as the source of truth. Needs more thinking for sure.

via Echofon in reply to AdaRoseCannon

@AdaRoseCannon @cramforce @bramus I think one idea could be to change the current static `:root { color-scheme: dark light }` to something dynamic like `:root { color-scheme: $cookie-color-scheme }`. That’s of course completely made up syntax. 🍪

via Echofon in reply to AdaRoseCannon

@cramforce @bramus The more I think about it, the more I somewhat like it. Not necessarily cookie headers, but user preference headers (client hints): https://t.co/7oZOsIk0I1.

via Echofon

@jason_frazzano I guess this needs a bit of JavaScript to be fully accessible (and also purely for storing state), but definitely intrigued by the simplicity of the overall idea.

via Echofon in reply to jason_frazzano