You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The **Shadcn Theme Editor** is a lightweight component designed to simplify theme customization in Shadcn projects.
30
+
31
+
- 🎛 **Visual UI** for adjusting theme colors
32
+
- ⚡ **Real-time preview** of changes
33
+
- 🌗 **Supports light & dark mode** via the `html.dark` class
34
+
- 🛠 Works seamlessly with Shadcn components
35
+
- 📦 Install as a **dev dependency** (recommended, due to bundle size)
28
36
29
-
Shadcn Theme Editor is a user-friendly component designed to simplify the process of managing and customizing theme colors in Shadcn-based projects. This package provides an intuitive UI with buttons for different color properties, allowing developers to easily adjust and preview theme colors in real-time. Although the package is optimized for ease of use, its build size is substantial, so it is recommended to install it as a development dependency. This tool empowers developers to create consistent, visually appealing themes without diving into complex CSS, making it an essential addition to your Shadcn toolkit.
37
+
This makes it a **must-have dev tool** for anyone building with [shadcn/ui](https://ui.shadcn.com/).
30
38
31
39
---
32
40
33
-
## 🚀 Getting Started
41
+
## 🚀 Installation
34
42
35
43
There are two ways to install **shadcn-theme-editor**:
36
44
37
-
1.[**Using npm (installs into `devDependencies`)**](#install-npm)
38
-
2.[**Using the Shadcn CLI (adds components directly to your project)**](#install-shadcn-cli)
45
+
1.**[Via npm/yarn/pnpm/bun](#install-npm)** (as a dev dependency)
> This method keeps the package inside `node_modules` and lists it under `devDependencies` in `package.json`.
61
-
62
68
---
63
69
64
-
<h3id="install-shadcn-cli">2️⃣ Install via Shadcn CLI</h3>
70
+
<h3id="install-scaflo-cli">2️⃣ Install via Scaflo CLI</h3>
65
71
66
-
The Shadcn CLI copies the source components into your project so you can fully customize them.
72
+
The [Scaflo CLI](https://github.com/programming-with-ia/scaflo) installs Shadcn Theme Editor as source components into your project, so you can fully customize them.
0 commit comments