]> git.immae.eu Git - github/bastienwirtz/homer.git/blame - docs/development.md
Bump dns-packet from 1.3.1 to 1.3.4
[github/bastienwirtz/homer.git] / docs / development.md
CommitLineData
2662b170 1## Development
1bc75494
BW
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)).
2662b170 16To add 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.
1bc75494
BW
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```