X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/85db812feaae5f36ea6214931cec4adb67a9cb39..refs/heads/ldap_host_failover:/dev/docs/visual-theme-system.md diff --git a/dev/docs/visual-theme-system.md b/dev/docs/visual-theme-system.md index 058bd2823..47ee57c0e 100644 --- a/dev/docs/visual-theme-system.md +++ b/dev/docs/visual-theme-system.md @@ -6,12 +6,15 @@ This theme system itself is maintained and supported but usages of this system, ## Getting Started +*[Video Guide](https://www.youtube.com/watch?v=gLy_2GBse48)* + This makes use of the theme system. Create a folder for your theme within your BookStack `themes` directory. As an example we'll use `my_theme`, so we'd create a `themes/my_theme` folder. You'll need to tell BookStack to use your theme via the `APP_THEME` option in your `.env` file. For example: `APP_THEME=my_theme`. ## Customizing View Files -Content placed in your `themes//` folder will override the original view files found in the `resources/views` folder. These files are typically [Laravel Blade](https://laravel.com/docs/6.x/blade) files. +Content placed in your `themes//` folder will override the original view files found in the `resources/views` folder. These files are typically [Laravel Blade](https://laravel.com/docs/8.x/blade) files. +As an example, I could override the `resources/views/books/parts/list-item.blade.php` file with my own template at the path `themes//books/parts/list-item.blade.php`. ## Customizing Icons @@ -28,4 +31,4 @@ As an example, Say I wanted to change 'Search' to 'Find'; Within a `themes/ 'find', ]; -``` \ No newline at end of file +```