mirror of
https://github.com/andrewgioia/keyrune.git
synced 2024-12-21 23:19:56 +00:00
chore: update contributing
This commit is contained in:
parent
f459655d24
commit
97f9563db0
@ -11,12 +11,12 @@ After you have added a new set icon, update the codebase and generate the new `k
|
|||||||
This will copy fonts and css files to the `docs` folder.
|
This will copy fonts and css files to the `docs` folder.
|
||||||
2. Add the new icon usage inside the `cheatsheet.html`.
|
2. Add the new icon usage inside the `cheatsheet.html`.
|
||||||
```diff
|
```diff
|
||||||
+ <div class="icon">
|
+ <span class="utf"><i></i> ss-fdn <code>&#xe9d8;</code></span>
|
||||||
```
|
```
|
||||||
Replace `fdn` with the short code of the new icon.
|
Replace `fdn` with the short code of the new icon.
|
||||||
3. Add the new icon usage inside the `icons.html`.
|
3. Add the new icon usage inside the `icons.html`.
|
||||||
```diff
|
```diff
|
||||||
+ <div class="icon" id="fdn" name="Foundation" data-name="Foundation" data-class="fdn" data-unicode="x1f31f" data-added="v3.14.0">
|
+ <div class="icon" id="fdn" name="Foundation" data-name="Foundation" data-class="fdn" data-unicode="xe9d8" data-added="v3.14.0">
|
||||||
+ <span class="name"><i class="ss ss-fdn"></i> Foundation <em>(fdn)</em></span>
|
+ <span class="name"><i class="ss ss-fdn"></i> Foundation <em>(fdn)</em></span>
|
||||||
+ </div>
|
+ </div>
|
||||||
```
|
```
|
||||||
|
@ -51,4 +51,4 @@ Yaay 🎉 you have update the keyrune font! And have your new icon available.
|
|||||||
|
|
||||||
## Extra steps
|
## Extra steps
|
||||||
|
|
||||||
One files is missing inside the generated fonts, it's the `keyrune.woff2`. To get it you need to convert the `keyrune.woff` with online tools like [Cloudconvert](https://cloudconvert.com/woff-to-woff2)
|
One files is missing inside the generated fonts, it's the `keyrune.woff2`. To get it you need to convert the `keyrune.woff` with online tools like [Cloudconvert](https://cloudconvert.com/)
|
Loading…
Reference in New Issue
Block a user