Christian Petersen (@chrbp) header
Christian Petersen (@chrbp) profile picture

design freak. a11y nerd. dad. web dev @timeular • https://teapawt.org/t.co/vTySbYsR8u

Copenhagen, Denmark
Joined October 2009
Photo by Christian Petersen (@chrbp)Photo by Christian Petersen (@chrbp)Photo by Christian Petersen (@chrbp)Photo by Christian Petersen (@chrbp)Photo by Christian Petersen (@chrbp)Photo by Christian Petersen (@chrbp)Photo by Christian Petersen (@chrbp)Photo by Christian Petersen (@chrbp)Photo by Christian Petersen (@chrbp)Photo by Christian Petersen (@chrbp)
Launched my new website! Moved from being a GitHub page to be served by @zeithq – amazingly fun and painless! cbp.io
1
8
What is a "Twitter"?
2
282
Stitches was (and still is) the best API for style I have used so far. I’ll still be using it for non-RSC projects.
Stitches is officially no longer maintained I'm really proud of the impact @stitchesjs had on the space, and how many new styling solutions were inspired by it Alongside with Radix, it's one of the projects I'm most proud of Thank you all for the support Lastly, a huge shoutout to @jon_neal — without him, Stitches would've ended up very differently
1
417
Lived in: 🇩🇰🏴󠁧󠁢󠁥󠁮󠁧󠁿🇦🇹 Born in: 🇩🇰 Parents: 🇩🇰🇩🇰 Grandparents: 🇩🇰🇩🇰🇩🇰🇩🇰 Been to: 🇺🇸🇬🇧🇵🇹🇪🇸🇫🇷🇮🇹🇳🇱🇩🇪🇦🇹🇩🇰 🇬🇷🇸🇪🇲🇽🇹🇷🇳🇱
Lived in: 🏴󠁧󠁢󠁥󠁮󠁧󠁿 Born in: 🏴󠁧󠁢󠁥󠁮󠁧󠁿 Parents: 🏴󠁧󠁢󠁥󠁮󠁧󠁿🏴󠁧󠁢󠁥󠁮󠁧󠁿 Grandparents: 🏴󠁧󠁢󠁥󠁮󠁧󠁿🏴󠁧󠁢󠁥󠁮󠁧󠁿🏴󠁧󠁢󠁷󠁬󠁳󠁿🇨🇦 Been to: 🇺🇸🇬🇧🇵🇹🇪🇸🇫🇷🇲🇨🇮🇹🇭🇷🇧🇪🇳🇱🇩🇪🇨🇿🇦🇹🇫🇮🇩🇰🇨🇭🇭🇺🇸🇰🇸🇮🇬🇷🇮🇪🇸🇬🇻🇳🇱🇦🇹🇭🇲🇾🇰🇭🇮🇩
201
Free idea: A browser running seamlessly in a sandboxed hypervisor, locally. Should also open downloaded executables inside the VM.
139
Replying to @browsercompany
@browsercompany One thing I love about Arc is that tabs are not controlled by their window. I can close a window and keep the tabs. Lovely. But as a window maestro, I miss a way to get rid of them quickly while keeping my tabs around. A "close others" option would be fantastic.
19
What's going on with this URL @Twitter: teapawt.org/[anything]/status/1234… Replace [anything] with anything else and you will be redirect to the same tweet.
Really loving the new @figma component properties. Reduced a bunch of components and variants. For example, here I have a button which allows you to control wether to add spacing, which is can be disabled for icon-only buttons to make them a uniform size.
Thanks to @steveruizok for taking my initial implementation for grids and making it 120x better!
More work on grids. I'll show different grids at different zoom levels, but I always want the "current grid" to be around 16 screen pixels; and snaps should snap to that grid. So zoom out, bigger snap steps; zoom in, smaller snaps. This is how it should work, right?
1
Putting Dark Mode as a feature behind a paywall is bad. Ask yourself if you would put screen reading capability behind a paywall too. Please don’t do this. It has real consequences for people.
1
Web Animations API is something I’ve wanted to try and now that I have, it’s been a bless. Together with ScrollTimeline, you can create insane responsive animations without having to coordinate a million states. It just works.
Hey @TwitterEng could you look into your iOS app? It keeps jumping the around the timeline when scrolling.
Just a reminder that there's still companies that requires unpaid multi-day assignments for a job application. My time isn't free real-estate. "Oh but we'll compensated you IF you are hired". Not good enough.
Just realized how genius symbols are for internal objects in JS; especially with TypeScript. It's so easy to avoid a ton of error-prone code such as checking object properties, to know what sort of object I'm working with. The symbol makes a guarantee in runtime.
1
This provides encapsulation and can tame leaky abstractions by only allowing users to use your API as intended. You also avoid the need to "guard" your code for each possible edge-case since it's guaranteed to be an internal object.
Copilot knows how to make counters.