ninesixtymv/modern

A Laravel Nova theme.


Keywords
nova, laravel
License
MIT

Documentation

Laravel Nova Modern Theme

Latest Version on Packagist Total Downloads

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 ninesixtymv/modern

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="Ninesixtymv\Modern\ThemeServiceProvider"

Then, update the stylesheet with your custom styles. The file is located in resources/css/vendor/modern/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 ninesixtymv/modern

C) Using it as a base to create your own theme

Simply, clone this repo, and modify it to create your custom theme.

License

The MIT License (MIT). Please see License File for more information.