From 43eb92f2bfa3edaf58a2aef23747a8678e6f58f0 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 17 Jul 2018 19:32:12 +0200 Subject: [PATCH] docs: theming;, scss / autoreload --- resources/docs/extras/theming.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/resources/docs/extras/theming.md b/resources/docs/extras/theming.md index eb95368f..6cdc5541 100644 --- a/resources/docs/extras/theming.md +++ b/resources/docs/extras/theming.md @@ -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.