mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
HOW TO scss
This commit is contained in:
parent
cd98aaa867
commit
b0b73d671f
1 changed files with 16 additions and 0 deletions
16
README.md
16
README.md
|
@ -8,3 +8,19 @@ Please report [issues on YunoHost bugtracker](https://github.com/YunoHost/issues
|
||||||
You can live test any changes by adding `/edit` to the URL on
|
You can live test any changes by adding `/edit` to the URL on
|
||||||
[yunohost.org](https://yunohost.org). For example, if you make changes to
|
[yunohost.org](https://yunohost.org). For example, if you make changes to
|
||||||
[apps.md](./apps.md), you can test them on [yunohost.org/#/apps/edit](https://yunohost.org/#/apps/edit).
|
[apps.md](./apps.md), you can test them on [yunohost.org/#/apps/edit](https://yunohost.org/#/apps/edit).
|
||||||
|
|
||||||
|
## Regenerate the css
|
||||||
|
|
||||||
|
We use scss to manage the css. If you want to change it, you must rebuild it.
|
||||||
|
|
||||||
|
First install npm, then in the root folder of this repo, install sass: `npm install sass`
|
||||||
|
|
||||||
|
Finally you can rebuild the css with (You can replace `expanded` by `compressed` if you want):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./node_modules/sass/sass.js themes/yunohost-docs/scss:themes/yunohost-docs/css --style expanded
|
||||||
|
```
|
||||||
|
|
||||||
|
Source:
|
||||||
|
https://sass-lang.com/guide
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue