aymanalhattami / filament-page-with-sidebar

Organize pages in the sidebar in order to make navigation between pages more comfortable.
https://github.com/aymanalhattami/filament-page-with-sidebar
MIT License
175 stars 22 forks source link

SetTitle() Light Mode #29

Closed koppa53 closed 10 months ago

koppa53 commented 10 months ago

image Light Mode

image Dark Mode

use AymanAlhattami\FilamentPageWithSidebar\FilamentPageSidebar;
use AymanAlhattami\FilamentPageWithSidebar\PageNavigationItem;
public static function sidebar(Model $record): FilamentPageSidebar
    {
        return FilamentPageSidebar::make()
            ->setTitle($record->name)
            ->setDescription($record->email)
            ->setNavigationItems([
                PageNavigationItem::make('View User')
                    ->url(function () use ($record) {
                        return static::getUrl('view', ['record' => $record->id]);
                    }),
            ]);
    }

Source Code

Not Visible when in light mode. Currently using Filament v.3.0.102.

aymanalhattami commented 10 months ago

Upgrade to latest version

koppa53 commented 10 months ago

Upgrade to latest version

My plug-in is already at version 2.4.2. Also tried clearing cache nothing happens.

kszyrvercobrador commented 10 months ago

Same issue on my end, version 2.4.2

koppa53 commented 10 months ago

Got a simple solution i published the views and modified this part of code in page.blade.php file of the plugin. image TO image

Possible cause was at the tailwind class it was using.