Thomas Steiner (@tomayac)

Now at @tomayac@toot.cafe

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

July 31st, 2019

@VegieSchnitzel @hahny93 @wordt @Jira Just to be sure everyone sees the answer, dark mode is very much on their rad..twitter.com/i/web/status/1…Jt

via Echofon in reply to tomayac

@jipfr Yeah, I know… The irony isn’t lost on me. The truth is: it’s a little involved (it’s a@eleven_tyty site thattwitter.com/i/web/status/1…5v2w

via Twitter for iPhone in reply to jipfr

@VegieSchnitzel @hahny93 @wordt Hello @Jira, your users are requesting you to support `prefers-color-scheme` (..twitter.com/i/web/status/1…fb

via Twitter for iPhone in reply to VegieSchnitzel

@uxjw You can always use `prefers-color-scheme` as a progressive enhancement: web.dev/prefers-color-…. Actually, `<..twitter.com/i/web/status/1…js

via Twitter for iPhone in reply to uxjw

@Mustafa_x @Paul_Kinlan The stylesheet could dynamically add:

“`css
a[href^=”paywall.example.com”] {
pointe..twitter.com/i/web/status/1…N3

via Echofon in reply to Mustafa_x

@ericlaw @tbaldauf Yeah, if you could quantify this somehow (maybe in a @trivago_tech blog post), that’d be awesome.

via Echofon in reply to ericlaw

@K57837 @imperavi This would be a great feature for a WYSIWYG editor to support. More background: web.dev/prefers-color-….

via Twitter Web App in reply to K57837

@scottdejonge @googlechrome That’s a neat implementation. Just as you slightly darken your top navigation, consider..twitter.com/i/web/status/1…XL

via Twitter Web App in reply to scottdejonge

@SimonXCIV That’s pretty solid already! 👏 Here’s an idea for your images: web.dev/prefers-color-….

via Twitter Web App in reply to SimonXCIV

@_gyochan_ Haha, it is as if they composed this song envisioning `prefers-color-scheme`. Heroes!

via Twitter Web App in reply to _gyochan_

@mus_ln And in case you need even more reading material: web.dev/prefers-color-….

via Twitter Web App in reply to mus_ln

@sakimori Yes, “light” or “dark”, but also “no-preference”: web.dev/prefers-color-….

via Twitter Web App in reply to sakimori

@dtroode @googlechrome Finally :-) And it’s in good company with other browsers: web.dev/prefers-color-….

via Twitter Web App in reply to dtroode

@kamataryo_ You can find out if a browser understands `prefers-color-scheme` by checking `(window.matchMedia(‘(pref..twitter.com/i/web/status/1…MS

via Twitter Web App in reply to kamataryo_

@clockmaker Apart from Windows and macOS (and iOS), this also works on Linux 🐧: web.dev/prefers-color-….

via Twitter Web App in reply to clockmaker

@soichiro_nitta I think the logic can be kept in JavaScript, but the look and feel should be in CSS: web.dev/prefers-color-….

via Twitter Web App in reply to soichiro_nitta

@_unshift Love the toggle switches. An idea to simplify them is to combine the two into just one:..twitter.com/i/web/status/1…jR

via Twitter Web App in reply to _unshift

@Te___24 @Media And via JavaScript: `window.matchMedia(‘(prefers-color-scheme: dark)’).matches`
web.dev/prefers-color-…

via Twitter Web App in reply to Te___24

@psephopaiktes Like the dark mode on your blog hirata.blog. Here’s an idea for your images:..twitter.com/i/web/status/1…a1

via Twitter Web App in reply to psephopaiktes

@_gyochan_ That’s a nice demo. Here’re some more tips that you might find valuable: web.dev/prefers-color-….

via Twitter Web App in reply to _gyochan_

@gentsuji @Media I like the concept of the light bulb 💡 to symbolize dark mode. Actually that’s what I propose in m..twitter.com/i/web/status/1…OI

via Twitter Web App in reply to gentsuji

@tak_dcxi Here’re some more tips on how to work with the media query: web.dev/prefers-color-… 🌒

via Twitter for iPhone in reply to tak_dcxi

@sho_yamane And with `(window.matchMedia(‘(prefers-color-scheme)’).media !== ‘not all’)` you can find out if the br..twitter.com/i/web/status/1…eQ

via Twitter for iPhone in reply to sho_yamane

@3tsukiha_ In case you’re interested, I have collected all I know about `prefers-color-scheme` in this article: web.dev/prefers-color-…. 🌒

via Twitter for iPhone in reply to 3tsukiha_

@autiomaa @jsmithdev In case you’re interested, I have collected everything I know about dark mode in this article:..twitter.com/i/web/status/1…5c

via Twitter for iPhone in reply to autiomaa