« * K @joe.trusktr.io

Joe Pea @joe.trusktr.io

2026-11-15 03:31 UTC

Now we can simply do as follows without the indirection of having two CSS variables: :host { /** padding for something */ --padding: inherit(--padding, 10px); } Static tooling can see this well, and code that uses the value doesn't have to use a private internal variable.

A reply in a thread.

1 likes, 0 reposts, 0 replies

3 Next post4 More from @joe.trusktr.ioBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup