aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/development.md
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2020-10-23 09:29:37 -0700
committerGitHub <noreply@github.com>2020-10-23 09:29:37 -0700
commitab8136bab7dcf0982f49b9db2ca956bc01860851 (patch)
tree93c82780e697dee5994dece506781a802cef4fcb /docs/development.md
parent67fd101a38baf3e7634c494eb286a671685a76b6 (diff)
parent488e4bbe7f511b3c27a665336dad4b7285c77473 (diff)
downloadhomer-ab8136bab7dcf0982f49b9db2ca956bc01860851.tar.gz
homer-ab8136bab7dcf0982f49b9db2ca956bc01860851.tar.zst
homer-ab8136bab7dcf0982f49b9db2ca956bc01860851.zip
Merge pull request #138 from taigrr/master
Fix config doc for sample application
Diffstat (limited to 'docs/development.md')
-rw-r--r--docs/development.md29
1 files changed, 29 insertions, 0 deletions
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 @@
1## Developement
2
3```sh
4# Using yarn (recommended)
5yarn install
6yarn serve
7
8# **OR** Using npm
9npm install
10npm run serve
11```
12
13### Themes
14
15Themes are meant to be simple customization (written in [scss](https://sass-lang.com/documentation/syntax)).
16To addd a new theme, just add a file in the theme directory, and put all style in the `body #app.theme-<name>` scope. Then import it in the main style file.
17
18```scss
19// `src/assets/themes/my-awesome-theme.scss`
20body #app.theme-my-awesome-theme. { ... }
21```
22
23```scss
24// `src/assets/app.scss`
25// Themes import
26@import "./themes/sui.scss";
27...
28@import "./themes/my-awesome-theme.scss";
29```