diff --git a/docs/08-styling/01-overview.md b/docs/08-styling/01-overview.md index a31bfa0b57..5531f61956 100644 --- a/docs/08-styling/01-overview.md +++ b/docs/08-styling/01-overview.md @@ -130,7 +130,7 @@ php artisan make:filament-theme --pm=bun This command generates a CSS file in the `resources/css/filament` directory. -Add the theme's CSS file to the input array in `vite.config.js`: +Add the theme's CSS file to the Laravel plugin's `input` array in `vite.config.js`: ```js input: [ diff --git a/packages/panels/src/Commands/MakeThemeCommand.php b/packages/panels/src/Commands/MakeThemeCommand.php index 54f2e289c0..3be77f0ab0 100644 --- a/packages/panels/src/Commands/MakeThemeCommand.php +++ b/packages/panels/src/Commands/MakeThemeCommand.php @@ -94,7 +94,7 @@ class MakeThemeCommand extends Command $this->components->warn('Action is required to complete the theme setup:'); $this->components->bulletList([ - "First, add a new item to the `input` array of `vite.config.js`: `resources/css/filament/{$this->panel->getId()}/theme.css`.", + "First, add a new item to the Laravel plugin's `input` array in `vite.config.js`: `resources/css/filament/{$this->panel->getId()}/theme.css`.", "Next, register the theme in the {$this->panel->getId()} panel provider using `->viteTheme('resources/css/filament/{$this->panel->getId()}/theme.css')`", "Finally, run `{$this->pm} run build` to compile the theme.", ]);