how can i use dark mode when using table as component?

basically i have a custom route

Route::get('seeds', ListSeeds::class);


<x-filament::section>
    <x-slot name="heading">
        User details
    </x-slot>
 
 <div>
    {{ $this->table }}
</div>

    {{-- Content --}}
</x-filament::section>


am i only able to use the theme when using a panel?
image.png
Was this page helpful?