Customize Panel
You can customize the Filament docs panel in a service provider:
use AbdelElrafa\DocsPanel\DocsPanelServiceProvider;
public function register()
{
DocsPanelServiceProvider::modifyPanelUsing(
fn (Panel $panel) => $panel
->colors([
'primary' => Color::Red,
])
);
}
See the Filament docs for customizations.
Disable the theme selector
Because the theme selector is added in a render hook, you can disable it by calling disableThemeSelector()
in a service provider:
use AbdelElrafa\DocsPanel\DocsPanelServiceProvider;
public function register()
{
DocsPanelServiceProvider::disableThemeSelector();
}
You can customize the Filament docs panel in a service provider:
use AbdelElrafa\DocsPanel\DocsPanelServiceProvider;
public function register()
{
DocsPanelServiceProvider::modifyPanelUsing(
fn (Panel $panel) => $panel
->colors([
'primary' => Color::Red,
])
);
}
See the Filament docs for customizations.
Disable the theme selector
Because the theme selector is added in a render hook, you can disable it by calling disableThemeSelector()
in a service provider:
use AbdelElrafa\DocsPanel\DocsPanelServiceProvider;
public function register()
{
DocsPanelServiceProvider::disableThemeSelector();
}