How to utilize in a project
bilogic opened this issue · 2 comments
bilogic commented
Hi,
Came to this via the article. Demo looks great but I'm a little lost on how I can utilize this to set the theme for my project. Can help? Thank you!
dkzlv commented
@bilogic Hey!
For now it's not a library or anything, tbh, that's purely a PoC. You can use this and the article as a guidance on how to achieve the same result. You can also copy the code (it's MIT licensed).
In future though I may put it out as a Next.js+TW dynamic theme toolkit of a sort with all the necessities as a dependency.
Lmk if you have any further questions.
bilogic commented
Yes, I like add this to my tailwind websites to make them look different with just 1 slider
Some questions are:
- What do I need to be writing differently? Are these
text-accent-500
,bg-secondary-300
the only changes? is therebg-primary-xxx
? - Is there a full list of what I need to add to my
tailwind.config.js
? I see some items in the article, but not sure where to addconst lightness = ...