From 488e4bbe7f511b3c27a665336dad4b7285c77473 Mon Sep 17 00:00:00 2001 From: Tai Groot Date: Sun, 18 Oct 2020 22:43:23 -0700 Subject: docs: Fixes spelling error in filename --- docs/development.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 docs/development.md (limited to 'docs/development.md') diff --git a/docs/development.md b/docs/development.md new file mode 100644 index 0000000..6ea1cba --- /dev/null +++ b/docs/development.md @@ -0,0 +1,29 @@ +## Developement + +```sh +# Using yarn (recommended) +yarn install +yarn serve + +# **OR** Using npm +npm install +npm run serve +``` + +### Themes + +Themes are meant to be simple customization (written in [scss](https://sass-lang.com/documentation/syntax)). +To addd a new theme, just add a file in the theme directory, and put all style in the `body #app.theme-` scope. Then import it in the main style file. + +```scss +// `src/assets/themes/my-awesome-theme.scss` +body #app.theme-my-awesome-theme. { ... } +``` + +```scss +// `src/assets/app.scss` +// Themes import +@import "./themes/sui.scss"; +... +@import "./themes/my-awesome-theme.scss"; +``` -- cgit v1.2.3