oceanwind icon indicating copy to clipboard operation
oceanwind copied to clipboard

missing translation for gradients

Open smeijer opened this issue 4 years ago • 5 comments

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

smeijer avatar Dec 15 '20 13:12 smeijer

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.

lukejacksonn avatar Dec 16 '20 13:12 lukejacksonn

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

smeijer avatar Dec 16 '20 14:12 smeijer

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 avatar Dec 16 '20 16:12 lukejacksonn

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! 🙇

lukejacksonn avatar Dec 23 '20 22:12 lukejacksonn

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

smeijer avatar Dec 24 '20 12:12 smeijer