Good morning everyone and happy MonDEV! ☕
Also this week we are ready, keyboard in hand, to drink a sea of coffee and produce an equal amount of code ?
And as always to support you in the process, here is your Monday morning coffee with the tool of the week!
It's Front End's turn again, and since we had fun last time with ShadCn (if you missed the newsletter I'm talking about, you can find it here), let's continue with another tool to associate with this beautiful library of components!
Specifically today I want to tell you about ShadCn Theme Editor, a beautiful tool as simple as it is powerful (just the kind I like).
By installing this package in dev mode, you can include a component in your project to view all the variables that configure the shadcn theme. At that point, you can customize them one by one, or use the randomizer to try various color possibilities.
Once you are satisfied with the result, you just have to copy all these styles with the button at the top and paste them into the ::root of your css as variables, and that's it, you will have edited your theme for the ShadCn components.
Easier than this is really tough! ?
Very well! This week too I would say we are full of ideas and news to try! So I leave you to finish your coffee and as always...
Happy Coding!
The above is the detailed content of Color Palette is served with ShadCn Theme Editor. For more information, please follow other related articles on the PHP Chinese website!