DEV Community

Cover image for Color Palette is served with ShadCn Theme Editor
Giuliano1993
Giuliano1993

Posted on

2

Color Palette is served with ShadCn Theme Editor

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.

ShadCn Theme Editor

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

Articles of the week

  • 7 Beautiful Next-Level Button Components with Vue, VueUse, and TailwindCSS: Talking about components, this article by vue school offers 7 very interesting ways to create your buttons in vue. It can also be a good opportunity to review some concepts related to interaction with elements on the page, if it's not the part you deal with in your daily routine!
  • State of frontend: Frontend week? Let's talk about frontend then! If you are curious about trends and data and want to have some ideas about it with a focus on the frontend, then this report is the right fit for you!

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!

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay