Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/programming-with-ia/shadcn-theme-editor
Shadcn Theme Editor is a user-friendly component designed to simplify the process of managing and customizing theme colors in Shadcn-based projects.
https://github.com/programming-with-ia/shadcn-theme-editor
colord colorful customization next-themes personlization shadcn-theme shadcn-theme-editor shadcn-ui theme ui-theme
Last synced: 3 months ago
JSON representation
Shadcn Theme Editor is a user-friendly component designed to simplify the process of managing and customizing theme colors in Shadcn-based projects.
- Host: GitHub
- URL: https://github.com/programming-with-ia/shadcn-theme-editor
- Owner: programming-with-ia
- Created: 2024-08-10T19:58:04.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-08-29T13:38:51.000Z (4 months ago)
- Last Synced: 2024-08-30T00:33:27.857Z (3 months ago)
- Topics: colord, colorful, customization, next-themes, personlization, shadcn-theme, shadcn-theme-editor, shadcn-ui, theme, ui-theme
- Language: TypeScript
- Homepage: https://shadcnthemeeditor.vercel.app/
- Size: 1.75 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-shadcn-ui - shadcn theme editor - Shadcn Theme Editor is a user-friendly component designed to simplify the process of managing and customizing theme colors in Shadcn-based projects. (Apps / Colors and Customizations)
README
Shadcn Theme Editor
Effortless Shadcn Theme Customization Made Simple.
âĻ Manage Shadcn theme colors with an intuitive UI.
![Next.js](https://img.shields.io/badge/Next.js-000000.svg?style&logo=Next.js&logoColor=white)
![React](https://img.shields.io/badge/React-61DAFB.svg?style&logo=React&logoColor=black)
![TypeScript](https://img.shields.io/badge/TypeScript-3178C6.svg?style&logo=TypeScript&logoColor=white)![git-last-commit](https://img.shields.io/github/last-commit/programming-with-ia/shadcn-theme-editor)
![GitHub commit activity](https://img.shields.io/github/commit-activity/m/programming-with-ia/shadcn-theme-editor)
![GitHub top language](https://img.shields.io/github/languages/top/programming-with-ia/shadcn-theme-editor)![minified size](https://badgen.net/bundlephobia/min/shadcn-theme-editor@latest)
[![NPM Version](https://img.shields.io/npm/v/shadcn-theme-editor?logo=npm)](https://www.npmjs.com/package/shadcn-theme-editor)
[![GitHub](https://img.shields.io/badge/shadcn_theme_editor-161b22?logo=github)](https://github.com/programming-with-ia/shadcn-theme-editor)---
## đ Overview
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.
---
## đ Getting Started
### Installation
To install the package as a development dependency, use one of the following commands:
**npm:**
```sh
npm install shadcn-theme-editor --save-dev
``````sh
yarn add shadcn-theme-editor --dev
``````sh
pnpm add shadcn-theme-editor --save-dev
```---
## đ Usage
**import default and add in `app/layout.tsx` file**
```tsx
import ThemeEditor from "shadcn-theme-editor";
```or (in this way, it doesn't include the component in the production build)
```tsx
let ShadcnThemeEditor: any;
if (process.env.NODE_ENV === 'development') {
import('shadcn-theme-editor').then(module => {
ShadcnThemeEditor = module.default; // or module, depending on the module's export
});
} else {
// eslint-disable-next-line react/display-name
ShadcnThemeEditor = ()=>null
}
```and use
```tsx
```
# Screenshots
## Upcoming Features
- use [jln themes](https://ui.jln.dev/) directly in your project
## Special Thanks
I would like to extend my heartfelt thanks to the following individuals and projects:
- **[Julian](https://github.com/jln13x)** - for creating [ui.jln.dev](https://ui.jln.dev/), 10000+ Themes for shadcn/ui.
## đ License
This project is licensed under the `âšī¸ MIT` License.