This project is a powerful and intuitive theme generator and editor for Shadcn-UI components. It allows users to create, customize, and preview themes for their Shadcn-UI based projects in real-time. With a user-friendly interface and a wide range of customization options, this tool streamlines the process of creating unique and visually appealing themes for your Next.js applications.
- Real-time theme preview
- Customizable color schemes
- Dark and light mode support
- Export themes as CSS and Tailwind config
- Randomize theme colors
- Lock specific colors while generating new themes
- Responsive design for various screen sizes
- Next.js
- React
- TypeScript
- Tailwind CSS
- Shadcn-UI components
- Bun (for package management and running scripts)
- Node.js (v14 or later)
- Bun (latest version)
-
Clone the repository:
git clone https://github.com/yourusername/shadcn-ui-theme-generator.git cd shadcn-ui-theme-generator
-
Install dependencies:
bun install
-
Start the development server:
bun run dev
-
Open your browser and navigate to
http://localhost:3000
to access the theme generator.
- Use the controls in the sidebar to adjust theme colors and properties.
- Preview the changes in real-time on the main content area.
- Lock specific colors to keep them constant while generating new themes.
- Click the "Randomize Colors" button to generate a new random theme.
- Export your theme as CSS and Tailwind config using the "Export" tab.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE.md file for details.
- Shadcn-UI for the excellent component library
- Next.js for the React framework
- Tailwind CSS for the utility-first CSS framework