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

missing translation for gradients #44

Open
smeijer opened this issue Dec 15, 2020 · 5 comments
Open

missing translation for gradients #44

smeijer opened this issue Dec 15, 2020 · 5 comments

Comments

@smeijer
Copy link

smeijer commented Dec 15, 2020

I do see the gradients in the default theme, yet when using them I get a warning that the translation is missing.

index.js:16 No translation for "bg-gradient-to-r" 
index.js:16 No translation for "from-orange-400" 
index.js:16 No translation for "via-red-500" 
index.js:16 No translation for "to-pink-500"

Repo

@lukejacksonn
Copy link
Owner

Ahh yes, I haven't got around to implementing them. Apologies 😞 but we are actually working on a big update to this library which supports all of V2 stuffs and much more. Let me see if I can push these directives though before the big update.

@smeijer
Copy link
Author

smeijer commented Dec 16, 2020

Aaah, ok. I was confused because I did see them in the theme. No worries, focus on what's important for the big update. 😃

@lukejacksonn
Copy link
Owner

Ok, perfect. Well we are hopefully days away from that release, so not long to wait. I'll be sure to keep you updated!

@lukejacksonn
Copy link
Owner

An update for you here, we have recently released https://github.com/tw-in-js/twind which takes inspiration from oceanwind and has a very similar API, but improves on it in many aspects including feature parity with Tailwind V2 which resolves issues like this. It is still in early stages but we have tested the module extensively and are confident it is ready for production.

I would encourage you and any others reading this issue to go check it out and let us know what you think! 🙇

@smeijer
Copy link
Author

smeijer commented Dec 24, 2020

Thanks for the update. I'll give twind a shot.

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

No branches or pull requests

2 participants