Thomas Steiner (@tomayac)

Now at @tomayac@toot.cafe

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

November 22nd, 2019

@JohnMu Yeah, it’s on me. We’ve just migrated off DevSite, now it should be a lot easier to implement. It’s just a matter of time.

via Twitter for iPhone

🌒 Dark mode aficionados, my #ChromeDevSummit lightning talk on dark mode has been published on YouTube: https://t.co/SGDsdGZ2RA. 🔺
It’s essentially the TL;DR of https://t.co/gXYzRzZNcl. 🔚

via Twitter Web App

@marcenglund @vaadin Note that this is exactly what the light.css / dark.css / common.css architecture does. You set the variables in light.css respectively dark.css, and use them in common.css. No JS needed.

via Twitter Web App in reply to marcenglund

@rob_dodson @nhoizey The core idea is to make everything dependent on the root font size (which in turn you set to 100%, so the user can choose their preferred default size in the browser settings):

“`css
body {
font-size: 100%; /* 16px by default, bu

via Twitter Web App in reply to rob_dodson

RT @mrdoob: @tomayac @mathias I wonder if the argument of SMIL not being implemented in all major browsers still stand. https://t.co/jce8fQ 

via Twitter for iPhone

@nhoizey I’m mostly making the case for _not_ setting it to anything absolute; `100%` does not change anything of course :-)

The idea is to make it relative, so you can…

“`css
@​media (min-width: 768px) {
body {
font-size: 112.5%;
}
}
“`

via Twitter Web App in reply to nhoizey

@marcenglund @vaadin Thanks for the kind words 😊. You can actually make it completely independent from JavaScript by following the loading strategy outlined in https://t.co/r0T6Ix5XoI. I love the `media` attribute on `<link rel=stylesheet>`, it’s inc

via Echofon

@nhoizey @simevidas @igrigorik @ppk @rob_dodson 100% of the user’s global browser font size setting, which defaults to 16px, but can be easily overridden. https://t.co/XlEdEvSFgt

via Twitter Web App

@slightlylate @jyasskin @kosamari @beverloo @KenjiBaheux It’s coincidence. I get these annoying DiDi SMS in Germany and was never using their app or site on an Android device, only the iOS app.

via Echofon in reply to slightlylate

This tip by @TimvdLippe went immediately in my git config: ⤵️
(Context: https://t.co/c04LnSAA82) https://t.co/ZAhfOZc6mC

via Echofon

RT @MylesBorins: @nodejs If you want to learn more about working with ESM in @nodejs 13 feel free to check out this blog post about the cur…

via Echofon

RT @rauschma: Node.js 13.2.0 is out: https://t.co/ovlJmxA6EF
🎉 ES modules are now unflagged!

ℹ️ Details:
— ESM on Node.js: https://t.co/T1…

via Echofon

@simevidas @igrigorik @ppk Setting the root font size to 100% is one of my favorite tips I learned from https://t.co/IkFZu4NyFU.

CC: @rob_dodson regarding https://t.co/Td9ah4AWNL (I think this is the deep link: https://t.co/gzu8DuTVQ7)

via Echofon

@rowan_m 🤯 We’ve been pitching PWA wrong the entire time.

via Echofon in reply to rowan_m

Safari will soon have (textual) Async Clipboard API support. 💏
Maybe up next: `image/png` support (https://t.co/rMXTx9q6ia, requested here: https://t.co/nSw1uTonSB). https://t.co/N9Wuu1ppXF

via Echofon

Great post by @ericlaw on `navigator.registerProtocolHandler()`. ⤵️ https://t.co/MP3NQlWg4M

via Echofon

@marcenglund @vaadin This will catch color scheme changes, but you also need to initialize it on first load.

via Echofon in reply to marcenglund

@mrdoob @mathias Thinking about it more, probably one should prohibit all network-involving operations to avoid tracking (onhover etc.).

via Twitter for iPhone in reply to tomayac

@mrdoob @mathias Definitely cool!
🤔 If SVG <script> were scoped to the enclosing <svg> tags (rather than being global, as spec’ed now), could we then have scripts execute safely in an <img>?

<!— Unreachable —>
<svg […]>
<script>/* Can’t reach ou

via Twitter Web App in reply to mrdoob

@mathias @mrdoob @ppparshekar I wonder why anyone thought global scope for SVG <script> was a good idea: “Any functions defined within any ‘script’ element have a “global” scope across the entire current document.”—https://t.co/3C0fk7yywe

via Twitter for iPhone

I’ve extended my animated SVG favicon demo app to now test SVGs with animations written in CSS, JS, and SMIL.

Turns out, CSS- and SMIL-animated favicons play fine in Firefox (😲), but neither play in Chrome.

Demo: https://t.co/Ycoy6sXjW2.
Screencast

via Twitter Web App

Samsa is a really impressive variable fonts explorer: https://t.co/0jePPYsSqS 🔠 https://t.co/wqdpGNvMAK

via Twitter Web App

@jaffathecake There’s movement on the bug, so here’s hoping: https://t.co/Evpwo2Rdtu.

via Twitter Web App