Add previews for light theme and C++ previews.

This commit is contained in:
be5invis 2016-02-13 07:07:07 +08:00
parent b17e499705
commit ef735a4162
14 changed files with 18 additions and 7 deletions

BIN
images/languages-light.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 KiB

BIN
images/languages-slab.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 236 KiB

After

Width:  |  Height:  |  Size: 426 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 454 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 73 KiB

BIN
images/preview-light.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

After

Width:  |  Height:  |  Size: 48 KiB

BIN
images/preview.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 236 KiB

After

Width:  |  Height:  |  Size: 236 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 167 KiB

After

Width:  |  Height:  |  Size: 167 KiB

View File

@ -111,13 +111,24 @@ images/variants.png : fonts-default fonts-slab fonts-hooky fonts-zshaped
optipng images/variants.png
electronsnaps1: pages
cd pages && electron getsnap.js --opentype ../images/opentype.png --languages ../images/languages.png --languagesslab ../images/languagsslab.png
cd pages && electron getsnap.js --dir ../images
images/opentype.png: electronsnaps1
optipng images/opentype.png
optipng $@
images/languages.png: electronsnaps1
optipng images/languages.png
images/languagesslab.png: electronsnaps1
optipng images/languagesslab.png
optipng $@
images/languages-slab.png: electronsnaps1
optipng $@
images/languages-light.png: electronsnaps1
optipng $@
images/languages-slab-light.png: electronsnaps1
optipng $@
images/preview.png: electronsnaps1
optipng $@
images/preview-slab.png: electronsnaps1
optipng $@
images/preview-light.png: electronsnaps1
optipng $@
images/preview-slab-light.png: electronsnaps1
optipng $@
sampleimages: images/weights.png images/variants.png images/opentype.png images/languages.png images/languagesslab.png
sampleimages: images/weights.png images/variants.png images/opentype.png images/languages.png images/languages-slab.png images/languages-light.png images/languages-slab-light.png images/preview.png images/preview-slab.png images/preview-light.png images/preview-slab-light.png