ghalwash/merq-laravel-nova-theme-responsive

A Laravel Nova responsive theme.

v1.1 2020-05-24 01:16 UTC

This package is auto-updated.

Last update: 2024-11-24 11:03:09 UTC


README

Latest Version on Packagist Total Downloads Latest Version on Github

A simple Laravel Nova theme that add responsiveness to the site.

It can be used as is, or as a base theme to your own ones.

Installation

You can install the nova theme into a Laravel app that uses Nova via composer:

composer require ghalwash/merq-laravel-nova-theme-responsive

This theme include some config based options. To use them, first publish the config file:

php artisan vendor:publish --provider="Ghalwash\MerqLaravelNovaThemeResponsive\ThemeServiceProvider"

And then you can configure the options editing the config/merq-nova-theme-responsive.php file.

Usage

You can use this theme either:

A) Adding an stylesheet on your Nova app, and using the provided CSS classes to customize the styles

Make sure you have published the package skeleton stylesheet as mensioned in the installation section:

php artisan vendor:publish --provider="Ghalwash\MerqLaravelNovaThemeResponsive\ThemeServiceProvider"

Then, update the stylesheet with your custom styles. The file is located in resources/css/vendor/merq-laravel-nova-theme-responsive/responsive.css

B) Relying on the default theme classes

By removing the file located in resources/css/vendor/merq-laravel-nova-theme-responsive/responsive.css now you are tottaly dependent on the default theme style.

Uninstall

You can remove the nova responsive theme from your Laravel via composer:

composer remove ghalwash/merq-laravel-nova-theme-responsive

This will remove the package from vendor directory.

Screenshots

Credits

License

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