DEV Community

tranbathanhtung
tranbathanhtung

Posted on

1

Candy: Styling modern apps with Atomic CSS-in-JS focus on constraint-based design principles

I'm a big fan of TailwindCSS. But, during working with TailwindCSS, I got some problems with PurgeCSS and class precedence rules.

So, I created a CSS-in-JS framework that:

  • đź‘€Supports all existing Tailwind shorthand syntax.
  • 🛠️Fully configurable theme & variants.
  • 🔥Generates only the styles required.
  • âś‹No conflict precedence rules.
  • ✨Works with any framework.
  • 📱Supports React Native.

If you aren't familiar with the Tailwind's syntax. Give a try to object syntax. It's also based on your configuration and provides helpful shorthand ways to style components.

Check it out here: https://github.com/codolab/candy

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

đź‘‹ Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay