diff options
author | Jesús <heckyel@hyperbola.info> | 2021-02-23 15:16:15 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-02-23 15:16:15 -0500 |
commit | da819f5759290282b2be098c5b816658983ada71 (patch) | |
tree | 6e50114932891d921b9bf702df4ba6516cede22f /README.md | |
parent | 2a98a81ff9826e5c9929183517de5d1ab683698f (diff) | |
download | libresocial-da819f5759290282b2be098c5b816658983ada71.tar.lz libresocial-da819f5759290282b2be098c5b816658983ada71.tar.xz libresocial-da819f5759290282b2be098c5b816658983ada71.zip |
[README.md]: update
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 29 |
1 files changed, 17 insertions, 12 deletions
@@ -71,9 +71,9 @@ Si usted es un experto puede reordenar sus directorios para mejor comodidad. Ejemplo: - ``` sh - sh build.sh - ``` +```bash +sh build.sh +``` - La salida de este comando, almacenará los archivos en dist: @@ -92,11 +92,11 @@ Ejemplo: - Si usted agrega una nueva imagen vectorial, es necesario editar el archivo __metadata.json__ -#### Edición de _metadata.json_ +#### Edición de metadata.json Ejemplo: - ``` json +```json "glyphs": { "0xe800": "copyleft.svg", "0xe801": "diaspora.svg", @@ -113,22 +113,23 @@ Ejemplo: "0xe812": "peertube.svg", "0xe813": "pixelfed.svg", "0xe814": "pump.svg", - "0xe815": "tox.svg", - "0xe816": "xmpp.svg", + "0xe815": "sourcehut.svg", + "0xe816": "tox.svg", + "0xe817": "xmpp.svg", "0xe820": "nueva.svg" }, - ``` +``` La imagen vectorial **nueva** lleva por nombre _nueva.svg_, y su número de __glyphs__ respectivo es __0xe820__. También opcionalmente puede cambiar el __nombre de la fuente__, __copyright__, etc. -#### Editando _libresocial.scss_ +#### Editando libresocial.scss 1. Después de agregar la nueva imagen vectorial, modifique el archivo _libresocial.scss_ localizado en el directorio __scss__: 2. Agregamos la imagen vectorial llamada __nueva__.svg a nuestra lista de íconos. - ``` scss + ```scss .icon-nueva:before { content: "\e820"; } @@ -136,15 +137,19 @@ También opcionalmente puede cambiar el __nombre de la fuente__, __copyright__, 3. Por último usted agregaría el nombre de la clase __icon-nueva__ al archivo _demo.html_ para testear su nuevo ícono. - ``` html + ```html <a class="nueva" href="#"><i class="icon-nueva"></i></a> ``` 4. Compilar LibreSocial + ```html + bash build.sh + ``` + ## Contributor -- [heckyel](http://s4z2bomnjzkryq4swh2whwrmiyaflej3dsusgn6oe4orulmpknio7rad.onion/) +- [heckyel](http://heckyel.i2p/) ## Licencia - La fuente Libre Social esta bajo la Licencia [AGPLv3](LICENSE) |