Create and Restructure all assets Adwaita and Arc-theme style.

Create assets render. Restructure all assets Adwaita and Arc-theme style. Fixed all-assets. This will improve the display of icons on HiDPI display.
This commit is contained in:
Csaba Jakosa
2016-10-18 20:29:38 +05:30
committed by Khurshid Alam
parent ed3e728551
commit f1c11cd6df
85 changed files with 397 additions and 174 deletions
+34
View File
@@ -0,0 +1,34 @@
#! /bin/bash
INKSCAPE="/usr/bin/inkscape"
OPTIPNG="/usr/bin/optipng"
SRC_FILE="../src/assets/all-assets.svg"
ASSETS_DIR="../src/assets"
INDEX="../src/assets/all-assets.txt"
for i in `cat $INDEX`
do
if [ -f $ASSETS_DIR/$i.png ]; then
echo $ASSETS_DIR/$i.png exists.
else
echo
echo Rendering $ASSETS_DIR/$i.png
$INKSCAPE --export-id=$i \
--export-id-only \
--export-png=$ASSETS_DIR/$i.png $SRC_FILE >/dev/null #\
# && $OPTIPNG -o7 --quiet $ASSETS_DIR/$i.png
fi
if [ -f $ASSETS_DIR/$i@2.png ]; then
echo $ASSETS_DIR/$i@2.png exists.
else
echo
echo Rendering $ASSETS_DIR/$i@2.png
$INKSCAPE --export-id=$i \
--export-dpi=180 \
--export-id-only \
--export-png=$ASSETS_DIR/$i@2.png $SRC_FILE >/dev/null #\
# && $OPTIPNG -o7 --quiet $ASSETS_DIR/$i@2.png
fi
done
exit 0
+189 -144
View File
File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 152 KiB

After

Width:  |  Height:  |  Size: 154 KiB

+38
View File
@@ -0,0 +1,38 @@
checkbox-checked-dark
checkbox-checked-insensitive-dark
checkbox-checked-insensitive
checkbox-checked
checkbox-mixed-dark
checkbox-mixed-insensitive-dark
checkbox-mixed-insensitive
checkbox-mixed
checkbox-unchecked-dark
checkbox-unchecked-insensitive-dark
checkbox-unchecked-insensitive
checkbox-unchecked
grid-selection-checked-dark
grid-selection-checked
grid-selection-unchecked-dark
grid-selection-unchecked
menuitem-checkbox-checked-hover
menuitem-checkbox-checked-insensitive
menuitem-checkbox-checked
menuitem-checkbox-mixed-hover
menuitem-checkbox-mixed-insensitive
menuitem-checkbox-mixed
menuitem-radio-checked-hover
menuitem-radio-checked-insensitive
menuitem-radio-checked
pane-handle
radio-checked-dark
radio-checked-insensitive-dark
radio-checked-insensitive
radio-checked
radio-mixed-dark
radio-mixed-insensitive-dark
radio-mixed-insensitive
radio-mixed
radio-unchecked-dark
radio-unchecked-insensitive-dark
radio-unchecked-insensitive
radio-unchecked
Binary file not shown.

Before

Width:  |  Height:  |  Size: 280 B

After

Width:  |  Height:  |  Size: 469 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 797 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 168 B

After

Width:  |  Height:  |  Size: 416 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 163 B

After

Width:  |  Height:  |  Size: 334 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 551 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 280 B

After

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 823 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 197 B

After

Width:  |  Height:  |  Size: 331 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 585 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 B

After

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 354 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 B

After

Width:  |  Height:  |  Size: 235 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 197 B

After

Width:  |  Height:  |  Size: 331 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 585 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 B

After

Width:  |  Height:  |  Size: 237 B

Some files were not shown because too many files have changed in this diff Show More