Tobias Thorin (@midvintr) header
Tobias Thorin (@midvintr) profile picture

💻 Frontend consultant and evangelist at @squeed_com. 🥑 Developer advocate at @SKFgroup 💛 I love HTML, CSS, and JavaScript. In that order.

Gothenburg, Sweden
Joined April 2017
Photo by Tobias Thorin (@midvintr)Photo by Tobias Thorin (@midvintr)Photo by Tobias Thorin (@midvintr)Photo by Tobias Thorin (@midvintr)Photo by Tobias Thorin (@midvintr)Photo by Tobias Thorin (@midvintr)Photo by Tobias Thorin (@midvintr)
Check out this article I wrote about the JavaScript API Intl. Loads of useful little snippets that will make it easier to support multiple languages on your web site or application! tobiasljungstrom.net/blog/20… #javascript #webdev #intl
1
Tobias Thorin retweeted
New video and blog post released!! They're about using `git add -p` instead of `git add .`. The video is mostly about how: youtu.be/u3NG1966zso and the blog is mostly about why: chael.codes/2023/09/09/stop-…
5
14
2,161
Tobias Thorin retweeted
`text-wrap: balance` in action 🎬
Wowowow Intent to Ship for `text-wrap: balance`
23
125
38
920
227,580
Tobias Thorin retweeted
PSA: Do NOT use the chalk-next package!
Today we found a PR trying to poison our GitHub project 😨. This `chalk-next` parody package is malicious and will try to collect your config and delete your local files 👎. Beware! #opensource github.com/toeverything/AFFi…
1
93
5
266
100,252
Tobias Thorin retweeted
would you still scroll me if i were a worm
102
1,793
135
16,288
Tobias Thorin retweeted
Do you just click different blending modes until it sort of looks right? Well, that probably won't change after you read this but at least you probably won't use Lighten or Darken again. (you should bookmark this thread and use it as a reference)
81
7,121
312
27,768
Using @storybookjs to build entire pages of an application allows one to do things like this, using different mocked back end data for each story (using MSW). Really takes things to the next level. All possible states of a page, right there at your fingertips!
Git Tip: do this and thank me later Link to docs: git-scm.com/docs/git-config#…
122
709
65
4,974
Tobias Thorin retweeted
Want a behind-the-scenes look at how GitHub makes color themes? @colebemis from our Design Engineering team explains why we built a dedicated color tool and how we use it to create color palettes for GitHub. github.blog/2022-06-14-accel…
8
59
7
312
Tobias Thorin retweeted
#tinyCSStip Want mono emojis of various hues? Use CSS filters! 🐾 ✨brightness(0) ⇒ black emoji ✨invert(x%) ⇒ hsl(0, 0%, x%) ✨sepia(1) ⇒ pretty desaturated, lighter or darker yellow depending on x% (hue≅40) ✨hue-rotate(a) ⇒ move around hue wheel by a ✨saturate(v), v>1
3
4
1
47
Tobias Thorin retweeted
ProtonMail is rebranding and adding a lot more storage to all its plans engt.co/3LZscOJ
Hollywood movie websites 25 years ago – Austin Powers – Batman & Robin – Men in Black – The Postman #WebDesignHistory
2
12
55
Tobias Thorin retweeted
👏 What a great Lit tutorial by web developer @JoubranJad and his adorable sidekick! 🐱 In this video, Jad walks you through how to create a basic #webcomponent and highlights some exciting Lit features. Watch meow ↓ goo.gle/3vQAr9w
9
1
33
Reminder that you can use the %c formatter in your console.log calls to apply some (limited) styling to the messages on the console. For example: console.log("%cStop!", "font-size: 100px; color: red; font-weight: bold")
Pretty impressed with Facebook's "don't copy random code into console' message, but it sure takes some space and is pretty unreadable in left-docked Developer Tools with a normal width.
2
18
79
Wide gamut color is really cool when you see it with your own eyes. You need Safari and a supported screen though, like an iPhone. tobiasljungstrom.net/blog/20… #webdev #css