nuxt-modules / design-tokens

Design tokens module for Nuxt
https://design-tokens.nuxtjs.org
MIT License
50 stars 3 forks source link

feat(css()): move towards css-in-js #19

Closed Tahul closed 2 years ago

Tahul commented 2 years ago

❓ Type of change

📚 Description

This is initial work towards something else than having a global "design-tokens" layer for Nuxt.

This PR allows lots of new possibilities such as:

I will probably merge this PR fast, but I wanted to keep track of this direction change for the module.

I believe this is going to be a very strong solution for Nuxt theming projects, but now applies to a lot more of usecases.

📝 Checklist

TODO:

💚 Credits

Thank you so much @johnsoncodehk for the initial help on the Volar plugin setup!

The experience is amazing! 😍