docs: theming;, scss / autoreload

This commit is contained in:
jean-emmanuel 2018-07-17 19:32:12 +02:00
parent 7227f9faa3
commit 35bc5a17ae

View file

@ -35,3 +35,12 @@ This will change the default accent color to red. Variables can also be overridd
```
This will change the default text color to blue for all elements in panel widgets.
## Scss / autoreload
When running the app [from sources](../getting-started), custom themes can be written in scss:
- the scss file must be located in `src/browser/scss/themes/`
- run `npm run watch-css`
The theme will be watched and compiled automatically to a css file located in app/browser/themes/ (css files in this directory can be selected from the theme option by their name, without .css suffix). If the app is running on default http port, clients will reload the theme automatically.