Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support variable prefix for CSS custom properties output #23

Closed
lazd opened this issue Apr 19, 2022 · 1 comment
Closed

Support variable prefix for CSS custom properties output #23

lazd opened this issue Apr 19, 2022 · 1 comment
Labels

Comments

@lazd
Copy link
Contributor

lazd commented Apr 19, 2022

It should be possible to pass an option to define a variable prefix for CSS custom properties output. Currently, token names are simply --gray-100, but it would be nice to have --spectrum-gray-100.

This option should be either a string or a function, and the function should be passed relevant information that could be used to choose the prefix (token name, value, options with sets, etc). Supporting a function would enable customized output that could be tailored to match existing naming conventions.

@GarthDB
Copy link
Owner

GarthDB commented Apr 19, 2022

🎉 This issue has been resolved in version 1.3.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants