Download the PHP package awe-ux/moonshine-theme without Composer
On this page you can find all versions of the php package awe-ux/moonshine-theme. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package moonshine-theme
Theme switcher for MoonShine Laravel admin panel
Description
This package is designed to be able to change the standard design theme to a minimalistic one.
In the file config.php
you have the option to change the name, value and lifetime of the cookie, change the connection of the minimalistic.css file, set your own colors for a minimalistic theme
Installation
Publish provider
After publishing, you will be able to find the config file moonshine-theme.php
in the directory config
of your project.
Reset cache after publish provider
Usage
If you don't published MoonShineLayout
, then you need to do it. Look it here.
Wrap your LayoutBuilder
in ThemeSwitcher::layoutBuilder(LayoutBuilder $layout): LayoutBuilder
in MoonShineLayout
.
Then need add button-switcher to layout. Use ThemeSwitcher::make(Closure|string $label): ActionButton
.
ThemeSwitcher::make() - ActionButton
. You can use all ActionButton methods for it.
[!WARNING]
ThemeSwitcher::make()->async()
not working, don't use this method.
All versions of moonshine-theme with dependencies
PHP Build Version
Package Version
The package awe-ux/moonshine-theme contains the following files
Loading the files please wait ....