Add a new winter theme
This commit is contained in:
parent
e58c0e1a67
commit
bb008d9982
11 changed files with 169 additions and 8 deletions
|
@ -15,7 +15,7 @@
|
|||
viewBox="0 0 500.00001 500.00001"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.92.1 r"
|
||||
inkscape:version="0.92.2 5c3e80d, 2017-08-06"
|
||||
sodipodi:docname="buttons.svg">
|
||||
<defs
|
||||
id="defs4">
|
||||
|
@ -152,9 +152,9 @@
|
|||
borderopacity="1"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="0.5"
|
||||
inkscape:cx="-85.026722"
|
||||
inkscape:cy="8.3628693"
|
||||
inkscape:zoom="0.70710678"
|
||||
inkscape:cx="262.74365"
|
||||
inkscape:cy="334.23276"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
|
@ -1241,5 +1241,137 @@
|
|||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
id="snowflake"
|
||||
transform="translate(0,-6.5625004)">
|
||||
<rect
|
||||
style="opacity:1;fill:none;fill-opacity:1;stroke:none;stroke-width:0.30000588;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="rect1007"
|
||||
width="48.000942"
|
||||
height="48.000942"
|
||||
x="0"
|
||||
y="651.3902"
|
||||
ry="0" />
|
||||
<g
|
||||
transform="matrix(1.0543929,0,0,1.0543929,-1.2610197,-36.71511)"
|
||||
id="g4745">
|
||||
<rect
|
||||
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.84594142;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="rect1024"
|
||||
width="5.9662137"
|
||||
height="43.089325"
|
||||
x="20.200449"
|
||||
y="653.45447"
|
||||
ry="2.9831069" />
|
||||
<g
|
||||
id="g4735"
|
||||
transform="translate(0,-0.05611343)">
|
||||
<g
|
||||
transform="translate(0,-0.66291265)"
|
||||
id="g4721">
|
||||
<rect
|
||||
ry="2.9831069"
|
||||
y="474.94293"
|
||||
x="-458.59396"
|
||||
height="14.252625"
|
||||
width="5.9662137"
|
||||
id="rect4715"
|
||||
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.48652244;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
transform="rotate(-45)" />
|
||||
<rect
|
||||
transform="matrix(-0.70710678,-0.70710678,-0.70710678,0.70710678,0,0)"
|
||||
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.48652244;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="rect4717"
|
||||
width="5.9662137"
|
||||
height="14.252625"
|
||||
x="-491.38046"
|
||||
y="442.15643"
|
||||
ry="2.9831069" />
|
||||
</g>
|
||||
<g
|
||||
transform="matrix(1,0,0,-1,0,1350.7734)"
|
||||
id="g4727">
|
||||
<rect
|
||||
transform="rotate(-45)"
|
||||
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.48652244;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="rect4723"
|
||||
width="5.9662137"
|
||||
height="14.252625"
|
||||
x="-458.59396"
|
||||
y="474.94293"
|
||||
ry="2.9831069" />
|
||||
<rect
|
||||
ry="2.9831069"
|
||||
y="442.15643"
|
||||
x="-491.38046"
|
||||
height="14.252625"
|
||||
width="5.9662137"
|
||||
id="rect4725"
|
||||
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.48652244;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
transform="matrix(-0.70710678,-0.70710678,-0.70710678,0.70710678,0,0)" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
transform="matrix(0,1.0543929,-1.0543929,0,734.8978,650.55456)"
|
||||
id="g4763">
|
||||
<rect
|
||||
ry="2.9831069"
|
||||
y="653.45447"
|
||||
x="20.200449"
|
||||
height="43.089325"
|
||||
width="5.9662137"
|
||||
id="rect4747"
|
||||
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.84594142;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<g
|
||||
transform="translate(0,-0.05611343)"
|
||||
id="g4761">
|
||||
<g
|
||||
id="g4753"
|
||||
transform="translate(0,-0.66291265)">
|
||||
<rect
|
||||
transform="rotate(-45)"
|
||||
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.48652244;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="rect4749"
|
||||
width="5.9662137"
|
||||
height="14.252625"
|
||||
x="-458.59396"
|
||||
y="474.94293"
|
||||
ry="2.9831069" />
|
||||
<rect
|
||||
ry="2.9831069"
|
||||
y="442.15643"
|
||||
x="-491.38046"
|
||||
height="14.252625"
|
||||
width="5.9662137"
|
||||
id="rect4751"
|
||||
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.48652244;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
transform="matrix(-0.70710678,-0.70710678,-0.70710678,0.70710678,0,0)" />
|
||||
</g>
|
||||
<g
|
||||
id="g4759"
|
||||
transform="matrix(1,0,0,-1,0,1350.7734)">
|
||||
<rect
|
||||
ry="2.9831069"
|
||||
y="474.94293"
|
||||
x="-458.59396"
|
||||
height="14.252625"
|
||||
width="5.9662137"
|
||||
id="rect4755"
|
||||
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.48652244;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
transform="rotate(-45)" />
|
||||
<rect
|
||||
transform="matrix(-0.70710678,-0.70710678,-0.70710678,0.70710678,0,0)"
|
||||
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.48652244;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="rect4757"
|
||||
width="5.9662137"
|
||||
height="14.252625"
|
||||
x="-491.38046"
|
||||
y="442.15643"
|
||||
ry="2.9831069" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 87 KiB |
|
@ -43,7 +43,8 @@ cells = [
|
|||
'basic',
|
||||
'bubble',
|
||||
'ghost',
|
||||
'drop'
|
||||
'drop',
|
||||
'snowflake'
|
||||
]
|
||||
|
||||
inkscape_default_dpi = 90
|
||||
|
@ -54,7 +55,7 @@ gen_only = sys.argv[1:]
|
|||
for multiplier in multipliers:
|
||||
folder = os.path.join(root, f'x{multiplier}')
|
||||
os.makedirs(folder, exist_ok=True)
|
||||
|
||||
|
||||
dpi = int(inkscape_default_dpi * multiplier)
|
||||
print('Generating assets for', folder)
|
||||
for objectid in ids:
|
||||
|
@ -68,7 +69,7 @@ for multiplier in multipliers:
|
|||
# -d to specify the DPI
|
||||
run(f'inkscape -z -i{objectid} -j -e{filename} -d{dpi} {svg}',
|
||||
shell=True, stdout=DEVNULL)
|
||||
|
||||
|
||||
folder = os.path.join(folder, 'cells')
|
||||
os.makedirs(folder, exist_ok=True)
|
||||
for cellid in cells:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue