Download the PHP package yukazakiri/shadcthemes-tools without Composer
On this page you can find all versions of the php package yukazakiri/shadcthemes-tools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yukazakiri/shadcthemes-tools
More information about yukazakiri/shadcthemes-tools
Files in yukazakiri/shadcthemes-tools
Package shadcthemes-tools
Short Description Theme management Artisan commands for tweakcn themes.
License MIT
Homepage https://github.com/yukzakiri/shadcthemes-tools
Informations about the package shadcthemes-tools
ShadcThemes Tools
Powerful Artisan commands to seamlessly integrate and manage tweakcn / shadcn themes in your Laravel Inertia applications.
Support for Inertia React and Inertia Vue.
Features
- 🎨 Instant Theme Setup: Scaffolds theme configuration, hooks, and UI components in seconds.
- 📥 One-Command Import: Import any theme from
tweakcn.comdirectly via URL. - 🌗 Dark Mode Ready: Automatically handles CSS variables for light and dark modes.
- 💅 Tailwind CSS Integration: Injects necessary shadow and font mappings into your
app.css. - ⚛️ Multi-Stack Support: First-class support for both React and Vue (Inertia).
Requirements
- PHP 8.2+ for Laravel 12 projects, PHP 8.4+ for Laravel 13 projects
- Laravel 12 or 13
- Inertia.js (React or Vue)
- Tailwind CSS
Installation
Install the package via Composer:
Quick Start
1. Setup the Environment
Run the setup command to initialize the theming system in your application.
For non-interactive installs, pass the setup choices directly:
theme:install is also available as an alias for first-time setup.
Useful setup options:
The setup command will now warn before overwriting existing files unless --force is used. Use --skip-existing to preserve customized files.
You will be presented with two options:
- Starter Kit Template: Installs a full suite of components (
ThemeSwitcher,useColorTheme), configuresapp.css, and even sets up a "Personalization" section in your Profile page settings. Ideal for fresh projects or those following standard starter kit structures. - Stand-alone Configuration: Installs only the core plumbing (CSS files, config, and state management hooks). Perfect if you want to build your own UI or integrate into an existing custom layout without overwriting files.
2. Build Assets
After setup, rebuild your frontend assets to compile the new CSS variables:
Usage
Importing Themes
Find a theme you like on shadcn themes or tweakcn, copy its JSON URL, and run:
If the package has not been set up yet, the command will stop with a setup hint instead of failing with a filesystem error.
This command will:
- Download the theme definition.
- Generate a CSS file in
resources/css/themes/. - Register the theme in
resources/js/conf/themes.ts. - Add the necessary imports to
app.css.
Removing Themes
To remove a theme and clean up its files:
Updating Components
If the package updates its UI stubs (like the Theme Switcher component), you can pull the latest versions into your app:
For non-interactive updates:
Diagnosing Setup
Check whether the package has the files and frontend dependencies it expects:
Contributing
Please see CONTRIBUTING.md for details on how to set up a local development environment and contribute to this project.
License
The MIT License (MIT). Please see License File for more information.
All versions of shadcthemes-tools with dependencies
ext-mbstring Version *
illuminate/console Version ^12.0 || ^13.0
illuminate/http Version ^12.0 || ^13.0
illuminate/support Version ^12.0 || ^13.0
laravel/prompts Version ^0.3.0