Compare commits

...

5 Commits

Author SHA1 Message Date
legion f1efacfe1d Add generated artifacts
continuous-integration/drone/push Build is passing Details
2020-12-13 12:20:44 +01:00
legion 113c342ca9 generate index for overview 2020-12-13 12:20:44 +01:00
legion d888a44987 Add shell scrpits 2020-12-13 12:20:43 +01:00
legion bc6d07d7f5 Add suffix to generated files 2020-12-13 12:20:43 +01:00
legion 0aadd43e65 Add logoColorGenerator and svg sources 2020-12-13 12:20:43 +01:00
77 changed files with 106569 additions and 0 deletions

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

1
static/logoGen/clean.sh Normal file
View File

@ -0,0 +1 @@
rm gen_*

View File

@ -0,0 +1,38 @@
{
"violet":
[
["6800e7","6800e7"],
["40008b","40008b"],
["2a005e","2a005e"],
["15002f","15002f"]
],
"pink":
[
["6800e7","b239ff"],
["40008b","670096"],
["2a005e","450069"],
["15002f","240039"]
],
"blue":
[
["6800e7","03abeb"],
["40008b","0079a7"],
["2a005e","004c69"],
["15002f","002b3b"]
],
"turquise":
[
["6800e7","02fae0"],
["40008b","01a08f"],
["2a005e","01564d"],
["15002f","001b18"]
],
"red":
[
["6800e7","fd294f"],
["40008b","ae1d37"],
["2a005e","721425"],
["15002f","310810"]
]
}

16
static/logoGen/genAll.sh Normal file
View File

@ -0,0 +1,16 @@
bash clean.sh
for f in *.svg; do python3 generate.py $f colortables.json; done
#index
rm index.html
echo "<html><head>" > index.html
echo "<style type=text/css>" >> index.html
echo "body{background:#100e23;display:flex;flex-flow: row wrap;}img{margin:10px;}" >> index.html
echo "</style>" >> index.html
echo "</head><body>" >> index.html
for f in gen_*; do echo "<img alt="$f" width=100 src=$f></img>" >> index.html; done
echo "</body></html>" >> index.html

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

View File

@ -0,0 +1,32 @@
#!/usr/bin/python3
import json
import sys
def loadColorTables(fn = 'colortables.json'):
with open(fn) as f:
return json.loads(f.read())
def readSrcSvg(fn = 'franconianNet.svg'):
with open(fn) as f:
return f.read()
def replaceColors(svg, table):
for mapping in table:
svg = svg.replace(mapping[0], mapping[1])
return svg
def genAll(srcFN = 'franconianNet.svg', tablesFN='colortables.json'):
tables = loadColorTables(tablesFN)
src = readSrcSvg(srcFN)
for name in tables:
repl = replaceColors(src , tables[name])
with open("gen_"+srcFN.split(".")[0]+"_"+name+".svg", "w") as fo:
fo.write(repl)
if __name__ == "__main__":
genAll(sys.argv[1], sys.argv[2])

66
static/logoGen/index.html Normal file
View File

@ -0,0 +1,66 @@
<html><head>
<style type=text/css>
body{background:#100e23;display:flex;flex-flow: row wrap;}img{margin:10px;}
</style>
</head><body>
<img alt=gen_bothTxt_noWhiteLine_joinTiles_blue.svg width=100 src=gen_bothTxt_noWhiteLine_joinTiles_blue.svg></img>
<img alt=gen_bothTxt_noWhiteLine_joinTiles_pink.svg width=100 src=gen_bothTxt_noWhiteLine_joinTiles_pink.svg></img>
<img alt=gen_bothTxt_noWhiteLine_joinTiles_red.svg width=100 src=gen_bothTxt_noWhiteLine_joinTiles_red.svg></img>
<img alt=gen_bothTxt_noWhiteLine_joinTiles_turquise.svg width=100 src=gen_bothTxt_noWhiteLine_joinTiles_turquise.svg></img>
<img alt=gen_bothTxt_noWhiteLine_joinTiles_violet.svg width=100 src=gen_bothTxt_noWhiteLine_joinTiles_violet.svg></img>
<img alt=gen_bothTxt_noWhiteLine_sepTiles_blue.svg width=100 src=gen_bothTxt_noWhiteLine_sepTiles_blue.svg></img>
<img alt=gen_bothTxt_noWhiteLine_sepTiles_pink.svg width=100 src=gen_bothTxt_noWhiteLine_sepTiles_pink.svg></img>
<img alt=gen_bothTxt_noWhiteLine_sepTiles_red.svg width=100 src=gen_bothTxt_noWhiteLine_sepTiles_red.svg></img>
<img alt=gen_bothTxt_noWhiteLine_sepTiles_turquise.svg width=100 src=gen_bothTxt_noWhiteLine_sepTiles_turquise.svg></img>
<img alt=gen_bothTxt_noWhiteLine_sepTiles_violet.svg width=100 src=gen_bothTxt_noWhiteLine_sepTiles_violet.svg></img>
<img alt=gen_bothTxt_WhiteLine_joinTiles_blue.svg width=100 src=gen_bothTxt_WhiteLine_joinTiles_blue.svg></img>
<img alt=gen_bothTxt_WhiteLine_joinTiles_pink.svg width=100 src=gen_bothTxt_WhiteLine_joinTiles_pink.svg></img>
<img alt=gen_bothTxt_WhiteLine_joinTiles_red.svg width=100 src=gen_bothTxt_WhiteLine_joinTiles_red.svg></img>
<img alt=gen_bothTxt_WhiteLine_joinTiles_turquise.svg width=100 src=gen_bothTxt_WhiteLine_joinTiles_turquise.svg></img>
<img alt=gen_bothTxt_WhiteLine_joinTiles_violet.svg width=100 src=gen_bothTxt_WhiteLine_joinTiles_violet.svg></img>
<img alt=gen_bothTxt_WhiteLine_sepTiles_blue.svg width=100 src=gen_bothTxt_WhiteLine_sepTiles_blue.svg></img>
<img alt=gen_bothTxt_WhiteLine_sepTiles_pink.svg width=100 src=gen_bothTxt_WhiteLine_sepTiles_pink.svg></img>
<img alt=gen_bothTxt_WhiteLine_sepTiles_red.svg width=100 src=gen_bothTxt_WhiteLine_sepTiles_red.svg></img>
<img alt=gen_bothTxt_WhiteLine_sepTiles_turquise.svg width=100 src=gen_bothTxt_WhiteLine_sepTiles_turquise.svg></img>
<img alt=gen_bothTxt_WhiteLine_sepTiles_violet.svg width=100 src=gen_bothTxt_WhiteLine_sepTiles_violet.svg></img>
<img alt=gen_justrc3_noWhiteLine_joinTiles_blue.svg width=100 src=gen_justrc3_noWhiteLine_joinTiles_blue.svg></img>
<img alt=gen_justrc3_noWhiteLine_joinTiles_pink.svg width=100 src=gen_justrc3_noWhiteLine_joinTiles_pink.svg></img>
<img alt=gen_justrc3_noWhiteLine_joinTiles_red.svg width=100 src=gen_justrc3_noWhiteLine_joinTiles_red.svg></img>
<img alt=gen_justrc3_noWhiteLine_joinTiles_turquise.svg width=100 src=gen_justrc3_noWhiteLine_joinTiles_turquise.svg></img>
<img alt=gen_justrc3_noWhiteLine_joinTiles_violet.svg width=100 src=gen_justrc3_noWhiteLine_joinTiles_violet.svg></img>
<img alt=gen_justrc3_noWhiteLine_sepTiles_blue.svg width=100 src=gen_justrc3_noWhiteLine_sepTiles_blue.svg></img>
<img alt=gen_justrc3_noWhiteLine_sepTiles_pink.svg width=100 src=gen_justrc3_noWhiteLine_sepTiles_pink.svg></img>
<img alt=gen_justrc3_noWhiteLine_sepTiles_red.svg width=100 src=gen_justrc3_noWhiteLine_sepTiles_red.svg></img>
<img alt=gen_justrc3_noWhiteLine_sepTiles_turquise.svg width=100 src=gen_justrc3_noWhiteLine_sepTiles_turquise.svg></img>
<img alt=gen_justrc3_noWhiteLine_sepTiles_violet.svg width=100 src=gen_justrc3_noWhiteLine_sepTiles_violet.svg></img>
<img alt=gen_justrc3_WhiteLine_joinTiles_blue.svg width=100 src=gen_justrc3_WhiteLine_joinTiles_blue.svg></img>
<img alt=gen_justrc3_WhiteLine_joinTiles_pink.svg width=100 src=gen_justrc3_WhiteLine_joinTiles_pink.svg></img>
<img alt=gen_justrc3_WhiteLine_joinTiles_red.svg width=100 src=gen_justrc3_WhiteLine_joinTiles_red.svg></img>
<img alt=gen_justrc3_WhiteLine_joinTiles_turquise.svg width=100 src=gen_justrc3_WhiteLine_joinTiles_turquise.svg></img>
<img alt=gen_justrc3_WhiteLine_joinTiles_violet.svg width=100 src=gen_justrc3_WhiteLine_joinTiles_violet.svg></img>
<img alt=gen_justrc3_WhiteLine_sepTiles_blue.svg width=100 src=gen_justrc3_WhiteLine_sepTiles_blue.svg></img>
<img alt=gen_justrc3_WhiteLine_sepTiles_pink.svg width=100 src=gen_justrc3_WhiteLine_sepTiles_pink.svg></img>
<img alt=gen_justrc3_WhiteLine_sepTiles_red.svg width=100 src=gen_justrc3_WhiteLine_sepTiles_red.svg></img>
<img alt=gen_justrc3_WhiteLine_sepTiles_turquise.svg width=100 src=gen_justrc3_WhiteLine_sepTiles_turquise.svg></img>
<img alt=gen_justrc3_WhiteLine_sepTiles_violet.svg width=100 src=gen_justrc3_WhiteLine_sepTiles_violet.svg></img>
<img alt=gen_noTxt_noWhiteLine_joinTiles_blue.svg width=100 src=gen_noTxt_noWhiteLine_joinTiles_blue.svg></img>
<img alt=gen_noTxt_noWhiteLine_joinTiles_pink.svg width=100 src=gen_noTxt_noWhiteLine_joinTiles_pink.svg></img>
<img alt=gen_noTxt_noWhiteLine_joinTiles_red.svg width=100 src=gen_noTxt_noWhiteLine_joinTiles_red.svg></img>
<img alt=gen_noTxt_noWhiteLine_joinTiles_turquise.svg width=100 src=gen_noTxt_noWhiteLine_joinTiles_turquise.svg></img>
<img alt=gen_noTxt_noWhiteLine_joinTiles_violet.svg width=100 src=gen_noTxt_noWhiteLine_joinTiles_violet.svg></img>
<img alt=gen_noTxt_noWhiteLine_sepTiles_blue.svg width=100 src=gen_noTxt_noWhiteLine_sepTiles_blue.svg></img>
<img alt=gen_noTxt_noWhiteLine_sepTiles_pink.svg width=100 src=gen_noTxt_noWhiteLine_sepTiles_pink.svg></img>
<img alt=gen_noTxt_noWhiteLine_sepTiles_red.svg width=100 src=gen_noTxt_noWhiteLine_sepTiles_red.svg></img>
<img alt=gen_noTxt_noWhiteLine_sepTiles_turquise.svg width=100 src=gen_noTxt_noWhiteLine_sepTiles_turquise.svg></img>
<img alt=gen_noTxt_noWhiteLine_sepTiles_violet.svg width=100 src=gen_noTxt_noWhiteLine_sepTiles_violet.svg></img>
<img alt=gen_noTxt_WhiteLine_joinTiles_blue.svg width=100 src=gen_noTxt_WhiteLine_joinTiles_blue.svg></img>
<img alt=gen_noTxt_WhiteLine_joinTiles_pink.svg width=100 src=gen_noTxt_WhiteLine_joinTiles_pink.svg></img>
<img alt=gen_noTxt_WhiteLine_joinTiles_red.svg width=100 src=gen_noTxt_WhiteLine_joinTiles_red.svg></img>
<img alt=gen_noTxt_WhiteLine_joinTiles_turquise.svg width=100 src=gen_noTxt_WhiteLine_joinTiles_turquise.svg></img>
<img alt=gen_noTxt_WhiteLine_joinTiles_violet.svg width=100 src=gen_noTxt_WhiteLine_joinTiles_violet.svg></img>
<img alt=gen_noTxt_WhiteLine_sepTiles_blue.svg width=100 src=gen_noTxt_WhiteLine_sepTiles_blue.svg></img>
<img alt=gen_noTxt_WhiteLine_sepTiles_pink.svg width=100 src=gen_noTxt_WhiteLine_sepTiles_pink.svg></img>
<img alt=gen_noTxt_WhiteLine_sepTiles_red.svg width=100 src=gen_noTxt_WhiteLine_sepTiles_red.svg></img>
<img alt=gen_noTxt_WhiteLine_sepTiles_turquise.svg width=100 src=gen_noTxt_WhiteLine_sepTiles_turquise.svg></img>
<img alt=gen_noTxt_WhiteLine_sepTiles_violet.svg width=100 src=gen_noTxt_WhiteLine_sepTiles_violet.svg></img>
</body></html>

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 79 KiB