Browse Source

Добавить пару иконок

master
parent
commit
f7dae82d04
6 changed files with 46 additions and 0 deletions
  1. +7
    -0
      иконки/2019-09-12.js
  2. +9
    -0
      иконки/2019-09-12/README.md
  3. +1
    -0
      иконки/2019-09-12/boxes-solid.svg
  4. +1
    -0
      иконки/2019-09-12/info-solid.svg
  5. +27
    -0
      иконки/2019-09-12/ген
  6. +1
    -0
      код/2019-09-12.js

+ 7
- 0
иконки/2019-09-12.js View File

@@ -0,0 +1,7 @@
function RR() { return [

['layout', 'PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgZm9jdXNhYmxlPSJmYWxzZSIgZGF0YS1wcmVmaXg9ImZhcyIgZGF0YS1pY29uPSJib3hlcyIgY2xhc3M9InN2Zy1pbmxpbmUtLWZhIGZhLWJveGVzIGZhLXctMTgiIHJvbGU9ImltZyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTc2IDUxMiI+PHBhdGggZmlsbD0iY3VycmVudENvbG9yIiBkPSJNNTYwIDI4OGgtODB2OTZsLTMyLTIxLjMtMzIgMjEuM3YtOTZoLTgwYy04LjggMC0xNiA3LjItMTYgMTZ2MTkyYzAgOC44IDcuMiAxNiAxNiAxNmgyMjRjOC44IDAgMTYtNy4yIDE2LTE2VjMwNGMwLTguOC03LjItMTYtMTYtMTZ6bS0zODQtNjRoMjI0YzguOCAwIDE2LTcuMiAxNi0xNlYxNmMwLTguOC03LjItMTYtMTYtMTZoLTgwdjk2bC0zMi0yMS4zTDI1NiA5NlYwaC04MGMtOC44IDAtMTYgNy4yLTE2IDE2djE5MmMwIDguOCA3LjIgMTYgMTYgMTZ6bTY0IDY0aC04MHY5NmwtMzItMjEuM0w5NiAzODR2LTk2SDE2Yy04LjggMC0xNiA3LjItMTYgMTZ2MTkyYzAgOC44IDcuMiAxNiAxNiAxNmgyMjRjOC44IDAgMTYtNy4yIDE2LTE2VjMwNGMwLTguOC03LjItMTYtMTYtMTZ6Ij48L3BhdGg+PC9zdmc+'],

['info', 'PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgZm9jdXNhYmxlPSJmYWxzZSIgZGF0YS1wcmVmaXg9ImZhcyIgZGF0YS1pY29uPSJpbmZvIiBjbGFzcz0ic3ZnLWlubGluZS0tZmEgZmEtaW5mbyBmYS13LTYiIHJvbGU9ImltZyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTkyIDUxMiI+PHBhdGggZmlsbD0iY3VycmVudENvbG9yIiBkPSJNMjAgNDI0LjIyOWgyMFYyNzkuNzcxSDIwYy0xMS4wNDYgMC0yMC04Ljk1NC0yMC0yMFYyMTJjMC0xMS4wNDYgOC45NTQtMjAgMjAtMjBoMTEyYzExLjA0NiAwIDIwIDguOTU0IDIwIDIwdjIxMi4yMjloMjBjMTEuMDQ2IDAgMjAgOC45NTQgMjAgMjBWNDkyYzAgMTEuMDQ2LTguOTU0IDIwLTIwIDIwSDIwYy0xMS4wNDYgMC0yMC04Ljk1NC0yMC0yMHYtNDcuNzcxYzAtMTEuMDQ2IDguOTU0LTIwIDIwLTIwek05NiAwQzU2LjIzNSAwIDI0IDMyLjIzNSAyNCA3MnMzMi4yMzUgNzIgNzIgNzIgNzItMzIuMjM1IDcyLTcyUzEzNS43NjQgMCA5NiAweiI+PC9wYXRoPjwvc3ZnPg=='],

]; }

+ 9
- 0
иконки/2019-09-12/README.md View File

@@ -0,0 +1,9 @@
# EN

Icons come from [Font Awesome][fa].

# RU

Иконки взяты из [Font Awesome][fa].

[fa]: https://fontawesome.com

+ 1
- 0
иконки/2019-09-12/boxes-solid.svg View 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>

+ 1
- 0
иконки/2019-09-12/info-solid.svg View 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>

+ 27
- 0
иконки/2019-09-12/ген View 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"

+ 1
- 0
код/2019-09-12.js View File

@@ -300,6 +300,7 @@ function Раскладка()

мж.применитьТемуФишек = function()
{
eval(dl["тема.заглушка"]);
const R = RR();
// Создать текстуры.


Loading…
Cancel
Save