diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-06-13 16:26:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-13 16:26:40 -0700 |
commit | aac817970ce37f5991ae94c5c58ea2e1695420e2 (patch) | |
tree | 72ac55140c3bc62eae854e6fc65704f099af5741 /docs/developement.md | |
parent | cad54a560f77382d9584fd804f9cdd84c92012b7 (diff) | |
parent | b3635ea460689abdfc4588bc6c5b1699cbc986ca (diff) | |
download | homer-aac817970ce37f5991ae94c5c58ea2e1695420e2.tar.gz homer-aac817970ce37f5991ae94c5c58ea2e1695420e2.tar.zst homer-aac817970ce37f5991ae94c5c58ea2e1695420e2.zip |
Merge pull request #85 from bastienwirtz/splitted-documentation134601288
Split documentation into separate files
Diffstat (limited to 'docs/developement.md')
-rw-r--r-- | docs/developement.md | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/docs/developement.md b/docs/developement.md new file mode 100644 index 0000000..6ea1cba --- /dev/null +++ b/docs/developement.md | |||
@@ -0,0 +1,29 @@ | |||
1 | ## Developement | ||
2 | |||
3 | ```sh | ||
4 | # Using yarn (recommended) | ||
5 | yarn install | ||
6 | yarn serve | ||
7 | |||
8 | # **OR** Using npm | ||
9 | npm install | ||
10 | npm run serve | ||
11 | ``` | ||
12 | |||
13 | ### Themes | ||
14 | |||
15 | Themes are meant to be simple customization (written in [scss](https://sass-lang.com/documentation/syntax)). | ||
16 | To 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` | ||
20 | body #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 | ``` | ||