shopware / meteor

Meteor is Shopware’s open-source design system that drives our commerce solutions. Extend and customise every aspect of Shopware – create elegant, delightful, and accessible experiences. There are no limits to your imagination.
https://shopware.design
MIT License
18 stars 3 forks source link

Resolve tokens recursively #262

Closed Haberkamp closed 3 weeks ago

Haberkamp commented 3 weeks ago

What?

The script now resolves tokens recursively.

Why?

This is needed so we can have multiple layers of semantic tokens.

How?

Instead of resolving tokens only one layer deep we do this recursively until it resolves to a valid value.

Testing?

I've written some unit tests that should be enough

vercel[bot] commented 3 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
meteor-admin-sdk-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 27, 2024 7:50am
meteor-component-library ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 27, 2024 7:50am
pkg-pr-new[bot] commented 3 weeks ago

commit: 79eee56

pnpm add https://pkg.pr.new/shopware/meteor/@shopware-ag/meteor-admin-sdk@262
pnpm add https://pkg.pr.new/shopware/meteor/@shopware-ag/meteor-component-library@262
pnpm add https://pkg.pr.new/shopware/meteor/@shopware-ag/meteor-icon-kit@262
pnpm add https://pkg.pr.new/shopware/meteor/@shopware-ag/meteor-tokens@262

Open in Stackblitz