2024-08-12 11:49:10 +00:00
|
|
|
# Generate CSS
|
|
|
|
|
|
|
|
> exemple with the set icon of the set "Fondation" (FDN)
|
|
|
|
|
|
|
|
## Steps
|
|
|
|
|
|
|
|
Generate the CSS file with the following command:
|
|
|
|
|
|
|
|
```bash
|
2024-08-12 12:11:01 +00:00
|
|
|
npm run lessmin && npm run sassmin
|
2024-08-12 11:49:10 +00:00
|
|
|
```
|
|
|
|
or for debug purpose you can run
|
|
|
|
|
|
|
|
```bash
|
2024-08-12 12:11:01 +00:00
|
|
|
npm run less && npm run sass
|
2024-08-12 11:49:10 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
2 files will be generated in the `css` folder: `keyrune.css` and `keyrune.min.css`.
|
|
|
|
|
|
|
|
![generate-css](./images/generate-css.png)
|
|
|
|
|
2024-08-12 12:11:01 +00:00
|
|
|
Yaay 🎉 you have generate the CSS file! Now you can use the new icon in the website. Follow the [Usage inside README.md](../README.md#usage)
|
|
|
|
|
|
|
|
---
|
|
|
|
**Go to the next step: [Update the documentation](./UpdateDocumentation.md)**
|
|
|
|
---
|