Changing the admin panel logo #2086
-
|
Hey everyone, I was wondering what would be the best way to change the brand logo on the admin panel in the current version? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Bumping this thread. We have the same issue. |
Beta Was this translation helpful? Give feedback.
-
|
Upload the following files to |
Beta Was this translation helpful? Give feedback.
-
|
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(); |
Beta Was this translation helpful? Give feedback.
I was able to get this done by adding the following to the register method of the AppServiceProvider class.
See: this section of the docs