-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
TailwindCSS Palette Generator #17900
ibodev1
started this conversation in
Show and tell
-
TailwindCSS Palette Generator
As someone who works extensively with Tailwind CSS, managing color palettes manually across design systems can become a repetitive and error-prone process—especially when striving for consistency across multiple shades.
That's where tailwindcss-palette-generator really shines.
It automatically generates full color palettes from just a few base colors. With just a couple of lines, you get all the shades (from 50 to 900) you’d expect from a professional-grade design system—instantly and consistently.
Usage
@import "tailwindcss"; @plugin 'tailwindcss-palette-generator' { primary: '#264653'; secondary: '#2a9d8f'; }
This gives you:
<div class="bg-primary-500">Primary color</div> <div class="text-secondary-700">Secondary color with darker shade</div>
Beta Was this translation helpful? Give feedback.
All reactions
-
🚀 1
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment