[themes/mkimgmips] Add mail mipmaps and rework filenames.
This commit is contained in:
@ -33,12 +33,18 @@ convert "static/favicon.svg" -bordercolor white -border 0 \
|
|||||||
#############################
|
#############################
|
||||||
|
|
||||||
for i in 16 32 48 57 64 72 110 114 120 128; do
|
for i in 16 32 48 57 64 72 110 114 120 128; do
|
||||||
NAMBLUE="twitter-logo-blue-${i}x${i}.png"
|
NAMTWITBLUE="twitter-logo-blue-${i}.png"
|
||||||
NAMWHIT="twitter-logo-white-${i}x${i}.png"
|
NAMTWITWHIT="twitter-logo-white-${i}.png"
|
||||||
|
NAMMAILGRAY="mail-gray-${i}.png"
|
||||||
|
NAMMAILWHIT="mail-white-${i}.png"
|
||||||
|
|
||||||
convert "static/twitter-logo-blue.png" -resize ${i}x${i} "static/${NAMBLUE}"
|
convert "static/twitter-logo-blue.png" -resize ${i}x${i} "static/${NAMTWITBLUE}"
|
||||||
pngcrush ${PNGCRUSHOPTS} "static/${NAMBLUE}"
|
pngcrush ${PNGCRUSHOPTS} "static/${NAMTWITBLUE}"
|
||||||
convert "static/twitter-logo-white.png" -resize ${i}x${i} "static/${NAMWHIT}"
|
convert "static/twitter-logo-white.png" -resize ${i}x${i} "static/${NAMTWITWHIT}"
|
||||||
pngcrush ${PNGCRUSHOPTS} "static/${NAMWHIT}"
|
pngcrush ${PNGCRUSHOPTS} "static/${NAMTWITWHIT}"
|
||||||
|
convert "static/mail-gray.png" -resize ${i}x${i} "static/${NAMMAILGRAY}"
|
||||||
|
pngcrush ${PNGCRUSHOPTS} "static/${NAMMAILGRAY}"
|
||||||
|
convert "static/mail-white.png" -resize ${i}x${i} "static/${NAMMAILWHIT}"
|
||||||
|
pngcrush ${PNGCRUSHOPTS} "static/${NAMMAILWHIT}"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user