Skip to content
Discussion options

You must be logged in to vote

I was able to get this done by adding the following to the register method of the AppServiceProvider class.

use Lunar\Admin\Support\Facades\LunarPanel;

$panel = LunarPanel::panel(fn($panel) =>
            $panel->path('admin')
            ->colors([
                'primary' => Color::Rose,
            ])
            ->brandName('SomeBrand')
            ->brandLogo('/assets/img/logo.png')
            ->darkModeBrandLogo('/assets/img/logo.png')
            ->favicon('/assets/img/favicon.png')
            ->font('Rubik')
        )->register();

See: this section of the docs

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ameerElsherif
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ameerElsherif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants