gregoriohc / laravel-nova-theme-classify
A Laravel Nova theme helper.
Installs: 35 226
Dependents: 0
Suggesters: 0
Security: 0
Stars: 19
Watchers: 3
Forks: 5
Open Issues: 1
Language:JavaScript
Requires
- php: >=7.1.0
README
Laravel Nova theme helper that add CSS classes to the main nova views elements, making it easier to style it.
Installation
You can install the nova theme helper into a Laravel app that uses Nova via composer:
composer require gregoriohc/laravel-nova-theme-classify
Usage
You can use this theme helper in three ways:
A) Adding an stylesheet on your Nova app, and using the provided CSS classes to customize the styles
First, publish the package skeleton stylesheet:
php artisan vendor:publish --provider="Gregoriohc\LaravelNovaThemeClassify\ThemeServiceProvider"
Then, update the stylesheet with your custom styles. The file is located in resources/css/vendor/laravel-nova-theme-classify/theme.css
B) Creating your own theme and adding this one as a dependency
First, create your own Nova theme:
php artisan nova:theme MyCustomTheme
Then, customize the CSS of your own theme, using the CSS classes provided by this one.
If you want to public release your theme, don't forget to add this as a dependency:
cd path/to/MyCustomTheme
composer require gregoriohc/laravel-nova-theme-classify
C) Using it as a base to create your own theme
Simply, clone this repo, and modify it to create your custom theme.
Credits
Support the development
Do you like this project? Support it by donating
License
The MIT License (MIT). Please see License File for more information.