Skip to content

Commit 8c30dd4

Browse files
authored
[Bug] Fixed panel reverting to light mode (alexjustesen#2036)
1 parent 42ace79 commit 8c30dd4

File tree

10 files changed

+158
-167
lines changed

10 files changed

+158
-167
lines changed

app/Providers/Filament/AdminPanelProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ public function panel(Panel $panel): Panel
4141
provider: LocalFontProvider::class,
4242
)
4343
->sidebarCollapsibleOnDesktop()
44-
->viteTheme('resources/css/filament/admin/theme.css')
4544
->discoverResources(in: app_path('Filament/Resources'), for: 'App\\Filament\\Resources')
4645
->discoverPages(in: app_path('Filament/Pages'), for: 'App\\Filament\\Pages')
4746
->pages([])

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"laravel/prompts": "^0.3.4",
2929
"laravel/sanctum": "^4.0.8",
3030
"laravel/tinker": "^2.10.1",
31-
"livewire/livewire": "^3.5.19",
31+
"livewire/livewire": "3.5.12",
3232
"lorisleiva/laravel-actions": "^2.8.5",
3333
"maennchen/zipstream-php": "^2.4",
3434
"secondnetwork/blade-tabler-icons": "^3.29.1",

composer.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 136 additions & 133 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/css/app/panel.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
display: none;
44
}
55

6+
.fi-fo-field-wrp-helper-text a,
7+
.fi-fo-field-wrp-hint a {
8+
@apply font-bold underline;
9+
}
10+
611
@media (min-width: 768px) {
712
.fi-topbar #dashboardAction .fi-btn-label,
813
.fi-topbar #speedtestAction .fi-btn-label {

resources/css/filament/admin/tailwind.config.js

Lines changed: 0 additions & 11 deletions
This file was deleted.

resources/css/filament/admin/theme.css

Lines changed: 0 additions & 10 deletions
This file was deleted.

resources/css/panel.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
display: none;
44
}
55

6+
.fi-fo-field-wrp-helper-text a,
7+
.fi-fo-field-wrp-hint a {
8+
@apply font-bold underline;
9+
}
10+
611
@media (min-width: 768px) {
712
.fi-topbar #dashboardAction .fi-btn-label,
813
.fi-topbar #speedtestAction .fi-btn-label {

tailwind.config.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ export default {
88
presets: [presets],
99

1010
content: [
11-
'./app/Filament/**/*.php',
11+
// Core
1212
'./resources/views/**/*.blade.php',
13+
14+
// Filament
15+
'./app/Filament/**/*.php',
1316
'./vendor/filament/**/*.blade.php',
1417
],
1518

16-
darkMode: 'class',
17-
1819
theme: {
1920
extend: {
2021
fontFamily: {

vite.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ export default defineConfig({
66
laravel({
77
input: [
88
'resources/css/app.css',
9-
'resources/css/filament/admin/theme.css',
109
],
1110
}),
1211
],

0 commit comments

Comments
 (0)