Skip to content

Commit 85e803e

Browse files
authored
[FIX] file paths (#67)
* [FIX] CSS file path * Update ThemesMakeCommand.php
1 parent 152de39 commit 85e803e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Commands/ThemesMakeCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function handle(): int
9090

9191
$this->components->warn('Action is required to complete the theme setup:');
9292
$this->components->bulletList([
93-
"Add a new item to the `input` array of `vite.config.js`: `<fg=magenta>resources/css/filament/{$panelId}/themes/{$theme}.css</>`.",
93+
"Add a new item to the `input` array of `vite.config.js`: `<fg=magenta>resources/css/filament/{$panelId}/themes/{$name}.css</>`.",
9494
"Make sure to register the theme in `<fg=magenta>ThemesPlugin::registerTheme([{$themeClass}::getName() => {$themeClass}::class])`</></>",
9595
'Finally, run `npm run build` to compile the theme.',
9696
]);
@@ -133,7 +133,7 @@ private function createCssFile($theme, $panel, $panelId, $name): int
133133

134134
$this->copyStubToApp('ThemeCss', $cssFilePath, [
135135
'panel' => $panelId,
136-
'theme' => $theme,
136+
'theme' => $name,
137137
]);
138138
$this->copyStubToApp('ThemeTailwindConfig', $tailwindConfigFilePath, [
139139
'classPathPrefix' => $classPathPrefix,

0 commit comments

Comments
 (0)