Skip to content

Commit 3ea9cbf

Browse files
authored
Update README.md
1 parent 5b554c5 commit 3ea9cbf

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,15 @@ php artisan filament:assets
3939

4040
> **Note: Add plugin Blade files to your custom theme `tailwind.config.js` for dark mode.**
4141
>
42-
> To set up your own custom theme, you can visit the [official instruction page](https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme) on the Filament website.
42+
> To set up your own custom theme, you can visit the [official instruction page](https://filamentphp.com/docs/4.x/styling/overview#creating-a-custom-theme) on the Filament website.
4343
44-
Add the plugin's views to your `tailwind.config.js` file.
44+
Add the plugin's views and css to your `theme.css` file.
4545

46-
```js
47-
content: [
48-
'<path-to-vendor>/solution-forest/filament-tree/resources/**/*.blade.php',
49-
]
46+
```css
47+
@import '<path-to-vendor>/solution-forest/filament-tree/resources/css/jquery.nestable.css';
48+
@import '<path-to-vendor>/solution-forest/filament-tree/resources/css/button.css';
49+
@import '<path-to-vendor>/solution-forest/filament-tree/resources/css/custom-nestable-item.css';
50+
@source '<path-to-vendor>/solution-forest/filament-tree/resources/**/*.blade.php'
5051
```
5152

5253
Then, publish the config file using:

0 commit comments

Comments
 (0)