- dark and light do not refer to in which mode the icons "should be used", but rather the generic tone of the icons themselves
- thus dark is usually the one to be used in light mode
- thus light is usually the one the be used in dark mode
inkscaperefers to the InkScape CLI
I have created these with the following, non-deterministic steps:
- Generated a bunch of logos for the string "ShellMagick" with https://www.freelogodesign.org/
- Looked around until I have found something that I liked
- Celtic themed, check
- Shell-ish, check
- ⇒ This was the basic geometry of the logo
- Downloaded the picture
- Opened it in GIMP
- Created a monocrome version of it
- Tidied it up (removed the watermark, etc.)
- Uploaded it to https://www.freeconvert.com/
- Downloaded it as SVG
- Colorized it with InkScape
- The colors are from Tinted Theming: Everforest, created by Sainnhe Park
- I just picked 3 colors which worked for me for a light and dark version of the created logo
| Picture | Source | License |
|---|---|---|
cmd-dark.svg |
SVG Repo | MIT |
cygwin-dark.svg |
Wikimedia Commons | Public domain |
mingw-dark.svg |
MinGW website (Light mode) | Public domain? |
mingw-light.svg |
MinGW website (Dark mode) | Public domain? |
powershell-dark.svg |
SVG Repo | Logo License¹ |
powershell-light.svg |
SVG Repo | MIT |
shellmagick-dark.svg |
See description | MIT |
shellmagick-light.svg |
See description | MIT |
tux.svg |
Wikimedia Commons | CC0-BY² |
windows-terminal-dark.svg |
GitHub repository | MIT |
windows-terminal-light.svg |
GitHub repository | MIT |
| Picture | Source | Modifications |
|---|---|---|
cmd-light.png |
cmd-dark.svg |
Inverted the colors manually with InkScape, made the background black |
cygwin-light.svg |
cygwin-dark.svg |
Inverted the colors manually with InkScape, made the background black |
¹ I sincerly disregard this license and handle the source file as if it were MIT-licensed, based on the fact that it in itself is a remix of powershell-light.svg
² By [email protected] Larry Ewing and The GIMP
Each folder defines the dimensions of the exported PNG files.
| Picture | Obtained by (example command for 32x32) |
|---|---|
cmd-dark.png |
inkscape -w 32 -h 32 ./src/cmd-dark.svg -o ./32x32/cmd-dark.png |
cmd-light.png |
inkscape -w 32 -h 32 ./src/cmd-light.svg -o ./32x32/cmd-light.png |
cygwin-dark.png |
inkscape -w 32 -h 32 ./src/cygwin-dark.svg -o ./32x32/cygwin-dark.png |
cygwin-light.png |
inkscape -w 32 -h 32 ./src/cygwin-light.svg -o ./32x32/cygwin-light.png |
mingw-dark.png |
inkscape -w 32 -h 32 --export-area=0:0:117:117 ./src/mingw-dark.svg -o ./32x32/mingw-dark.png |
mingw-light.png |
inkscape -w 32 -h 32 --export-area=0:0:117:117 ./src/mingw-light.svg -o ./32x32/mingw-light.png |
powershell-dark.png |
inkscape -w 32 -h 32 ./src/powershell-dark.svg -o ./32x32/powershell-dark.png |
powershell-light.png |
inkscape -w 32 -h 32 ./src/powershell-light.svg -o ./32x32/powershell-light.png |
shellmagick-dark.png |
inkscape -w 32 -h 32 ./src/shellmagick-dark.svg -o ./32x32/shellmagick-dark.png |
shellmagick-light.png |
inkscape -w 32 -h 32 ./src/shellmagick-light.svg -o ./32x32/shellmagick-light.png |
tux-dark.png |
inkscape -w 32 -h 32 ./src/tux.svg -o ./32x32/tux.png |
tux-light.png |
inkscape -w 32 -h 32 ./src/tux.svg -o ./32x32/tux.png |
windows-terminal-dark.png |
inkscape -w 32 -h 32 ./src/windows-terminal-dark.svg -o ./32x32/windows-terminal-dark.png |
windows-terminal-light.png |
inkscape -w 32 -h 32 ./src/windows-terminal-light.svg -o ./32x32/windows-terminal-light.png |
Of course, this can be done iteratively, e.g., by executing the following in Windows CMD:
for %d in (8, 16, 32, 64, 128, 256) do (
mkdir .\%dx%d
for /R %f in (.\src\*.svg) do (
inkscape -w %d -h %d %f -o .\%dx%d\%~nf.png
)
for /R %f in (.\src\mingw*.svg) do (
inkscape -w %d -h %d --export-area=0:0:117:117 %f -o .\%dx%d\%~nf.png
)
del .\%dx%d\tux.png
inkscape -w %d -h %d .\src\tux.svg -o .\%dx%d\tux-dark.png
inkscape -w %d -h %d .\src\tux.svg -o .\%dx%d\tux-light.png
)