Michael Warren's Avatar

Michael Warren

@michaelwarren.dev.bsky.social

billiards enthusiast; father; that web components guy; Semi-active Web Components Community Group member; thoughts and opinions are not AI generated. michaelwarren.dev

275 Followers  |  360 Following  |  229 Posts  |  Joined: 01.11.2024  |  1.7041

Latest posts by michaelwarren.dev on Bluesky

Video thumbnail

When using scrollbar-gutter: stable, is there a way to control the fill color it uses?

For example, I'm working on a demo now and it's always black. My OS is set to dark, so maybe it's that? I have no other idea where it's getting the color, and can't find anything on how to change it ๐Ÿคท

04.08.2025 16:33 โ€” ๐Ÿ‘ 26    ๐Ÿ” 3    ๐Ÿ’ฌ 4    ๐Ÿ“Œ 1

agree here, and an addition is that an issue can be turned into a discussion after some triage. sometimes a โ€œbugโ€ isnโ€™t a problem with the code itโ€™s a mismatch of expectations. so you switch to a discussion to iron out details then make an issue again if need be

05.08.2025 00:50 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

i dunno who needs to hear this, but

youโ€™re not going to build that project, you can let the domain expire.

30.07.2025 21:20 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

lol who gives a fuck what the least entertaining late night host ever has to say

28.07.2025 23:31 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

This finally made me fully understand the viewbox, which is no small feat!

28.07.2025 06:26 โ€” ๐Ÿ‘ 13    ๐Ÿ” 2    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 1
Preview
CSS Parts are saving you from a nightmare Its an amazing foresight that CSS part names are disconnected from the DOM element on which they exist.

This is an older article that I ported to my personal site. If you've ever used CSS parts and thought it was clunky that they were strings and not an advanced syntax like selectors, then read my take that its amazing that CSS parts aren't connected to the DOM.

michaelwarren.dev/blog/css-par...

28.07.2025 02:33 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I went to the bird site and saw people discussing how the best prompts are actually JSON prompts.

...

How much you wanna bet someone's gonna reinvent programming by coming up with some kind of "prompt" that "tells the AI exactly what to do"? ๐Ÿ˜†

27.07.2025 04:13 โ€” ๐Ÿ‘ 143    ๐Ÿ” 4    ๐Ÿ’ฌ 9    ๐Ÿ“Œ 1

lol, happy to help :)

26.07.2025 13:59 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

yes itโ€™s gonna rain :)

26.07.2025 13:53 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

if those are design tokens itโ€™s definitely BEM-like but not quite the same thing. Adobe definitely
goes too far with their tokens i think haha

26.07.2025 00:49 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

yeah it can be done and itโ€™s not terribly onerous. a few lines of js to import the tailwind stylesheet into each shadow dom. i was just curious if they went the shadow dom direction or not

26.07.2025 00:15 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Looking though the distributed Tailwind elements code a little it seems like they're either doing all the DOM by hand or have their own mini rendering library in there. Maybe it's using Svelte?

It'd be very nice if they had access to a native DOM template API they could use instead.

Just sayin...

25.07.2025 19:11 โ€” ๐Ÿ‘ 3    ๐Ÿ” 1    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

itโ€™s me. iโ€™m WC people digging into to the dependencies too haha

25.07.2025 23:21 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
a young boy wearing green sunglasses and a blue shirt . ALT: a young boy wearing green sunglasses and a blue shirt .

all the WC people digging into the guts of the Tailwind WC lib like:

25.07.2025 23:20 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

it doesnโ€™t explicitly say they are using shadow dom, but they are using ElementInternals, so maybe?

25.07.2025 20:44 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Iโ€™m curious to see what @t3.gg is going to say about Tailwind releasing a bunch of web components given his hate of web components and his love of Tailwind. Either way, this is amazing and long overdue!! Looking forward to a Theo video on this soon

25.07.2025 20:43 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

do people feel like theres still the same amount of hate and/or misinformation about web components these days or do you think itโ€™s getting better?

#WebComponents

25.07.2025 20:38 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Compounding performance issues About a month ago, I wrote a series of articles about modular CSS, compression algorithms like gzip and brotli, and why modular files and compression donโ€™t play well together. Based on all of this, I ended up including both pre-built and modular versions of the CSS and JavaScript files in Kelp, my UI library for people who live HTML. The big tipping point for me came from running a handful of performance tests with the fully concatenated versus modular versions of Kelp, hosted on my own server instead of through the CDN.

โš“๏ธ New Article: Compounding performance issues

24.07.2025 15:58 โ€” ๐Ÿ‘ 2    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

this reminds me of the time i got an email about my โ€œvocal fryโ€ in a guest lecture

23.07.2025 21:34 โ€” ๐Ÿ‘ 4418    ๐Ÿ” 449    ๐Ÿ’ฌ 136    ๐Ÿ“Œ 33

maybe so, but using cds to configure css features seems to me to be better than using js for the same. imo a css property to control padding of an internal element is way better than โ€œpadding=โ€œ as a js attribute/prop. seems to me weโ€™re gonna need css config one way or another :)

23.07.2025 22:07 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

i volunteer as tribute haha

23.07.2025 02:30 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

i stand with you in solidarity fellow design system brother :)

23.07.2025 01:21 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Oliphaunty

23.07.2025 01:17 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

For driving without headlights.

Dude questioned why he was being pulled over and asked to speak to a supervisor. So naturally you punch out the window, punch the dude, punch him in the face more while slamming him to the ground and then start yelling "stop resisting".

"This is America"

22.07.2025 14:54 โ€” ๐Ÿ‘ 5    ๐Ÿ” 2    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

uhhh. this morning? :)

23.07.2025 01:15 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

my view tonight. not too shabby. drinking my old man drink (rusty nail) on a rooftop bar in NYC.

23.07.2025 01:14 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

this!

but also astro

20.07.2025 14:36 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

lol trolled by a sports team mascot really has to be the highest level of satire we have as a culture

19.07.2025 15:39 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

heres hoping that the trip back is smooth and uneventful!

19.07.2025 02:49 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image Post image

AI is evolving at a terrifying rate

19.07.2025 02:32 โ€” ๐Ÿ‘ 16    ๐Ÿ” 1    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

@michaelwarren.dev is following 20 prominent accounts