docs: more on themes

This commit is contained in:
jean-emmanuel 2018-03-06 00:55:08 +01:00
parent c4efbdba00
commit 90a16e0040

View file

@ -1,6 +1,23 @@
# Theming
Theming is as simple as writing a tiny css file that will override the default style variables defined in [default.scss](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/browser/scss/themes/default.scss) :
## Built-in themes
Themes can be loaded with the `--theme` option. Multiple themes can be combined. Built-in themes can be loaded using their name, custom theme files can be loaded using their path.
Available themes (full color scheme):
- `orange`: grey and orange theme
- `light`: light and blue
- `dark`: blue night theme
Available extensions (alternative visual settings)
- `alt-buttons`: colorful active buttons
- `responsive-fonts`: bigger texts for bigger screens
## Creating a custom theme
Creating a custom theme is as simple as writing a tiny css file that will override the default css variables defined in [default.scss](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/browser/scss/themes/default.scss) :
```css
:root {