-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Standardise all icons; update screenshot
- Loading branch information
Showing
23 changed files
with
51 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# All images are taken from [The Noun Project](https://thenounproject.com/). | ||
|
||
|
||
[activeMinutes.png](activeMinutes.png): [Lightning by Eagle Eye from the Noun Project](https://thenounproject.com/term/lightning/1830708/) | ||
|
||
[caloriesOut.png](caloriesOut.png): [Fire by Aisyah from the Noun Project](https://thenounproject.com/term/fire/1519955/) | ||
|
||
[caloriesIn.png](caloriesIn.png): [cutlery by Vectors Market from the Noun Project](https://thenounproject.com/term/cutlery/263101/) | ||
|
||
[distance.png](distance.png): [Location by Iconnic from the Noun Project](https://thenounproject.com/term/location/3089867/) | ||
|
||
[floors.png](floors.png): [steps by Marco Livolsi from the Noun Project](https://thenounproject.com/term/steps/1272371/) | ||
|
||
[restingHeart.png](restingHeart.png): [Heart by Muhajir ila Robbi from the Noun Project](https://thenounproject.com/term/heart/2276652/) | ||
|
||
[steps.png](steps.png): [footprints by Eugen Belyakoff from the Noun Project](https://thenounproject.com/term/footprints/38542/) | ||
|
||
[sleep.png](sleep.png): [Moon by Pedro Vidal from the Noun Project](https://thenounproject.com/term/moon/1028/) | ||
|
||
[water.png](water.png): [Water Bottle by Vectors Market from the Noun Project](https://thenounproject.com/term/water-bottle/2170588/) | ||
|
||
[weight.png](weight.png): [Scale by Bakunetsu Kaito from the Noun Project](https://thenounproject.com/term/scale/990543/) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
|
||
# Take "The Noun Project" icons, make them square, white and transparent | ||
|
||
for f in *.png; do | ||
echo "${f}" | ||
|
||
# Crop bottom of image | ||
convert -crop -0-85 "${f}" "${f}" | ||
|
||
# Remove surrounding whitespace | ||
convert -trim "${f}" "${f}" | ||
|
||
width=$(identify -format "%w" "${f}") | ||
height=$(identify -format "%h" "${f}") | ||
|
||
max=$(( width > height ? width : height )) | ||
|
||
# Make square; side-effect: white background | ||
mogrify -gravity center -extent "${max}x${max}" "${f}" | ||
|
||
# Remove white background | ||
convert "${f}" -fuzz 2% -transparent white "${f}" | ||
|
||
# Invert to white | ||
convert "${f}" -channel RGB -negate "${f}" | ||
done |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.