Cristiano Rastelli
Cristiano Rastelli

@didoo@mastodon.world

Design System Lead at HashiCorp. In love with Atomic Design, Design Systems & CSS architecture. Attendee/speaker/organiser of tech conferences and meetups.

Any

experts out there that can help me solve this puzzling question about CSS custom props, aliasing, inheritance and :root?

Look at this codepen: codepen.io/didoo/pen/OPLbROG

Why the color cascades down correctly, via the "aliased" CSS variable, when the "theming" class is applied to the <html> element (which is :root in CSS) and not when it's applied to the <body> element? (In the same way as the non-aliased variable works)

I don't understand: what am I missing? 馃

Great first day at

! Fantastic talks, great vibe, a LOT of food for thought (also for a seasoned* design system practitioner like me), and above all was nice to catch up with long time friends, as well as meeting new like-minded ones. I can鈥檛 wait to be back tomorrow for the second part!

* kudos to who worked on the lineup 馃憦 and to @zeroheight for organizing the event
read: old 馃挩

Elk Logo

Welcome to Elk!

Elk is a nimble Mastodon web client. You can login to your Mastodon account and use it to interact with the fediverse.

Expect some bugs and missing features here and there. Elk is Open Source and we're actively improving it as a community project. Join us and let's build it together!

If you'd like to report a bug, help us testing, give feedback, or contribute, reach out to us on GitHub and get involved.

To boost development, you can sponsor the Team through GitHub Sponsors. We hope you enjoy Elk!

Daniel Roe涓夊挷鏅哄瓙 Kevin DengJoaqu铆n S谩nchezPatakTAKAHASHI ShuujiAnthony Fu

The Elk Team