Добавить пару иконок
This commit is contained in:
9
иконки/2019-09-12/README.md
Normal file
9
иконки/2019-09-12/README.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# EN
|
||||
|
||||
Icons come from [Font Awesome][fa].
|
||||
|
||||
# RU
|
||||
|
||||
Иконки взяты из [Font Awesome][fa].
|
||||
|
||||
[fa]: https://fontawesome.com
|
||||
1
иконки/2019-09-12/boxes-solid.svg
Normal file
1
иконки/2019-09-12/boxes-solid.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="boxes" class="svg-inline--fa fa-boxes fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentColor" d="M560 288h-80v96l-32-21.3-32 21.3v-96h-80c-8.8 0-16 7.2-16 16v192c0 8.8 7.2 16 16 16h224c8.8 0 16-7.2 16-16V304c0-8.8-7.2-16-16-16zm-384-64h224c8.8 0 16-7.2 16-16V16c0-8.8-7.2-16-16-16h-80v96l-32-21.3L256 96V0h-80c-8.8 0-16 7.2-16 16v192c0 8.8 7.2 16 16 16zm64 64h-80v96l-32-21.3L96 384v-96H16c-8.8 0-16 7.2-16 16v192c0 8.8 7.2 16 16 16h224c8.8 0 16-7.2 16-16V304c0-8.8-7.2-16-16-16z"></path></svg>
|
||||
|
After Width: | Height: | Size: 612 B |
1
иконки/2019-09-12/info-solid.svg
Normal file
1
иконки/2019-09-12/info-solid.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="info" class="svg-inline--fa fa-info fa-w-6" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 192 512"><path fill="currentColor" d="M20 424.229h20V279.771H20c-11.046 0-20-8.954-20-20V212c0-11.046 8.954-20 20-20h112c11.046 0 20 8.954 20 20v212.229h20c11.046 0 20 8.954 20 20V492c0 11.046-8.954 20-20 20H20c-11.046 0-20-8.954-20-20v-47.771c0-11.046 8.954-20 20-20zM96 0C56.235 0 24 32.235 24 72s32.235 72 72 72 72-32.235 72-72S135.764 0 96 0z"></path></svg>
|
||||
|
After Width: | Height: | Size: 535 B |
27
иконки/2019-09-12/ген
Executable file
27
иконки/2019-09-12/ген
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
# Создать файл JavaScript с набором иконок в формате Base64.
|
||||
|
||||
function gen
|
||||
{
|
||||
name=$1
|
||||
fileName=$2
|
||||
target=$3
|
||||
|
||||
echo -n "['$name', '" >> $target
|
||||
base64 $fileName | tr -d \\n >> $target
|
||||
echo -e "'],\n" >> $target
|
||||
}
|
||||
|
||||
function genIcons
|
||||
{
|
||||
target=$1
|
||||
|
||||
echo -e "function RR() { return [\n" > $target
|
||||
|
||||
gen "layout" "boxes-solid.svg" $target
|
||||
gen "info" "info-solid.svg" $target
|
||||
|
||||
echo "]; }" >> $target
|
||||
}
|
||||
|
||||
genIcons "../2019-09-12.js"
|
||||
Reference in New Issue
Block a user