amzn / style-dictionary

A build system for creating cross-platform styles.
https://styledictionary.com
Apache License 2.0
3.87k stars 543 forks source link

feat(examples): add tailwind preset example #1036

Closed jessicalynch closed 3 months ago

jessicalynch commented 11 months ago

Description of changes:

Adds example for building a Tailwind preset from tokens.

// demo/index.html

Screenshot 2023-10-30 at 10 11 02 PM

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

beejsbj commented 8 months ago

An update on when this will be merged?

jorenbroekema commented 7 months ago

Hi, we're working hard on a v4 major release of style-dictionary, which already has some stable prereleases out there. I'd love to give this a full review and merge this to the v4 branch if you're willing to rebase this to v4. We're putting v3 in maintenance mode which means we're only looking to merge important bugfixes or security vulnerabilities.

The changelog for v4 so far will be important to go over as there are some breaking changes to Style-Dictionary in v4 that affects your example.

jessicalynch commented 7 months ago

Thanks, that sounds great -- I will review the changelog and rebase to v4.

jorenbroekema commented 1 month ago

Aah I think this PR was closed when we merged the v4 to main and released 4.0.0, because I then removed the v4 branch, feel free to open a new PR on the main branch and let me know if you need anything from my side to get this contribution to the finish line! :)