, and so on; set a prefix such as 'm-' when a name | clashes with one of the application's own components (). | */ 'prefix' => '', /* |-------------------------------------------------------------------------- | Theme |-------------------------------------------------------------------------- | | The head script decides the theme before the first paint and writes it to | . 'default' is used until the visitor chooses: 'light', | 'dark' or 'system' (follow the operating system). The choice is kept in | localStorage under 'storage_key'; values found under 'legacy_keys' (an | earlier theme toggle's key) are adopted once and then removed. | */ 'theme' => [ 'default' => 'system', 'storage_key' => 'material-theme', 'legacy_keys' => [], ], /* |-------------------------------------------------------------------------- | Fields |-------------------------------------------------------------------------- | | Text fields, selects and pickers come in M3's two styles: 'outlined' (a | notched outline) and 'filled' (a tinted box with an indicator line). This | is the style a field takes when its `variant` is not given. | */ 'fields' => [ 'variant' => 'outlined', ], /* |-------------------------------------------------------------------------- | Pagination |-------------------------------------------------------------------------- | | Draw Laravel's and Livewire's paginators in M3: the package's views are | put in front of `pagination::tailwind` and `livewire::tailwind` (and | their simple versions). An application's own published pagination views | still win. | */ 'pagination' => true, /* |-------------------------------------------------------------------------- | Node |-------------------------------------------------------------------------- | | `php artisan material:scheme` runs Google's colour utilities through Node. | Set the binary when `node` is not on the PATH of the user running Artisan. | */ 'node' => env('MATERIAL_NODE', 'node'), /* |-------------------------------------------------------------------------- | Showcase |-------------------------------------------------------------------------- | | Every component in every variant, rendered in the application's own | scheme. Off unless the application runs locally. 'vite' names the entry | points that import this package's CSS and JavaScript. | */ 'showcase' => [ 'enabled' => (bool) env('MATERIAL_SHOWCASE', env('APP_ENV', 'production') === 'local'), 'path' => 'material', 'middleware' => ['web'], 'vite' => ['resources/css/app.css', 'resources/js/app.js'], ], ];