Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added few programming language icons #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added 128x128/mimetypes/text-css.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-richtext.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-rust.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-tcl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-turtle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-vbscript.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-x-c++hdr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-x-c++src.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-x-chdr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-x-cmake.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-x-csharp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-x-csrc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-x-dsrc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-x-erlang.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-x-generic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-x-go.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-x-java.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-x-kotlin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-x-lua.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-x-matlab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-x-python.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-x-python3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-x-qml.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-x-sass.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-x-scss.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 128x128/mimetypes/text-x-vala.png
Binary file added 22x22/mimetypes/text-css.png
Binary file added 22x22/mimetypes/text-richtext.png
Binary file added 22x22/mimetypes/text-rust.png
Binary file added 22x22/mimetypes/text-tcl.png
Binary file added 22x22/mimetypes/text-turtle.png
Binary file added 22x22/mimetypes/text-vbscript.png
Binary file added 22x22/mimetypes/text-x-c++hdr.png
Binary file added 22x22/mimetypes/text-x-c++src.png
Binary file added 22x22/mimetypes/text-x-chdr.png
Binary file added 22x22/mimetypes/text-x-cmake.png
Binary file added 22x22/mimetypes/text-x-csharp.png
Binary file added 22x22/mimetypes/text-x-csrc.png
Binary file added 22x22/mimetypes/text-x-dsrc.png
Binary file added 22x22/mimetypes/text-x-erlang.png
Binary file modified 22x22/mimetypes/text-x-generic.png
Binary file added 22x22/mimetypes/text-x-go.png
Binary file added 22x22/mimetypes/text-x-java.png
Binary file added 22x22/mimetypes/text-x-kotlin.png
Binary file added 22x22/mimetypes/text-x-lua.png
Binary file added 22x22/mimetypes/text-x-matlab.png
Binary file added 22x22/mimetypes/text-x-python.png
Binary file added 22x22/mimetypes/text-x-python3.png
Binary file added 22x22/mimetypes/text-x-qml.png
Binary file added 22x22/mimetypes/text-x-sass.png
Binary file added 22x22/mimetypes/text-x-scss.png
Binary file added 22x22/mimetypes/text-x-vala.png
Binary file added 24x24/mimetypes/text-css.png
Binary file added 24x24/mimetypes/text-richtext.png
Binary file added 24x24/mimetypes/text-rust.png
Binary file added 24x24/mimetypes/text-tcl.png
Binary file added 24x24/mimetypes/text-turtle.png
Binary file added 24x24/mimetypes/text-vbscript.png
Binary file added 24x24/mimetypes/text-x-c++hdr.png
Binary file added 24x24/mimetypes/text-x-c++src.png
Binary file added 24x24/mimetypes/text-x-chdr.png
Binary file added 24x24/mimetypes/text-x-cmake.png
Binary file added 24x24/mimetypes/text-x-csharp.png
Binary file added 24x24/mimetypes/text-x-csrc.png
Binary file added 24x24/mimetypes/text-x-dsrc.png
Binary file added 24x24/mimetypes/text-x-erlang.png
Binary file modified 24x24/mimetypes/text-x-generic.png
Binary file added 24x24/mimetypes/text-x-go.png
Binary file added 24x24/mimetypes/text-x-java.png
Binary file added 24x24/mimetypes/text-x-kotlin.png
Binary file added 24x24/mimetypes/text-x-lua.png
Binary file added 24x24/mimetypes/text-x-matlab.png
Binary file added 24x24/mimetypes/text-x-python.png
Binary file added 24x24/mimetypes/text-x-python3.png
Binary file added 24x24/mimetypes/text-x-qml.png
Binary file added 24x24/mimetypes/text-x-sass.png
Binary file added 24x24/mimetypes/text-x-scss.png
Binary file added 24x24/mimetypes/text-x-vala.png
Binary file added 256x256/mimetypes/text-css.png
Binary file added 256x256/mimetypes/text-richtext.png
Binary file added 256x256/mimetypes/text-rust.png
Binary file added 256x256/mimetypes/text-tcl.png
Binary file added 256x256/mimetypes/text-turtle.png
Binary file added 256x256/mimetypes/text-vbscript.png
Binary file added 256x256/mimetypes/text-x-c++hdr.png
Binary file added 256x256/mimetypes/text-x-c++src.png
Binary file added 256x256/mimetypes/text-x-chdr.png
Binary file added 256x256/mimetypes/text-x-cmake.png
Binary file added 256x256/mimetypes/text-x-csharp.png
Binary file added 256x256/mimetypes/text-x-csrc.png
Binary file added 256x256/mimetypes/text-x-dsrc.png
Binary file added 256x256/mimetypes/text-x-erlang.png
Binary file modified 256x256/mimetypes/text-x-generic.png
Binary file added 256x256/mimetypes/text-x-go.png
Binary file added 256x256/mimetypes/text-x-java.png
Binary file added 256x256/mimetypes/text-x-kotlin.png
Binary file added 256x256/mimetypes/text-x-lua.png
Binary file added 256x256/mimetypes/text-x-matlab.png
Binary file added 256x256/mimetypes/text-x-python.png
Binary file added 256x256/mimetypes/text-x-python3.png
Binary file added 256x256/mimetypes/text-x-qml.png
Binary file added 256x256/mimetypes/text-x-sass.png
Binary file added 256x256/mimetypes/text-x-scss.png
Binary file added 256x256/mimetypes/text-x-vala.png
Binary file added 32x32/mimetypes/text-css.png
Binary file added 32x32/mimetypes/text-richtext.png
Binary file added 32x32/mimetypes/text-rust.png
Binary file added 32x32/mimetypes/text-tcl.png
Binary file added 32x32/mimetypes/text-turtle.png
Binary file added 32x32/mimetypes/text-vbscript.png
Binary file added 32x32/mimetypes/text-x-c++hdr.png
Binary file added 32x32/mimetypes/text-x-c++src.png
Binary file added 32x32/mimetypes/text-x-chdr.png
Binary file added 32x32/mimetypes/text-x-cmake.png
Binary file added 32x32/mimetypes/text-x-csharp.png
Binary file added 32x32/mimetypes/text-x-csrc.png
Binary file added 32x32/mimetypes/text-x-dsrc.png
Binary file added 32x32/mimetypes/text-x-erlang.png
Binary file modified 32x32/mimetypes/text-x-generic.png
Binary file added 32x32/mimetypes/text-x-go.png
Binary file added 32x32/mimetypes/text-x-java.png
Binary file added 32x32/mimetypes/text-x-kotlin.png
Binary file added 32x32/mimetypes/text-x-lua.png
Binary file added 32x32/mimetypes/text-x-matlab.png
Binary file added 32x32/mimetypes/text-x-python.png
Binary file added 32x32/mimetypes/text-x-python3.png
Binary file added 32x32/mimetypes/text-x-qml.png
Binary file added 32x32/mimetypes/text-x-sass.png
Binary file added 32x32/mimetypes/text-x-scss.png
Binary file added 32x32/mimetypes/text-x-vala.png
Binary file added 48x48/mimetypes/text-css.png
Binary file added 48x48/mimetypes/text-richtext.png
Binary file added 48x48/mimetypes/text-rust.png
Binary file added 48x48/mimetypes/text-tcl.png
Binary file added 48x48/mimetypes/text-turtle.png
Binary file added 48x48/mimetypes/text-vbscript.png
Binary file added 48x48/mimetypes/text-x-c++hdr.png
Binary file added 48x48/mimetypes/text-x-c++src.png
Binary file added 48x48/mimetypes/text-x-chdr.png
Binary file added 48x48/mimetypes/text-x-cmake.png
Binary file added 48x48/mimetypes/text-x-csharp.png
Binary file added 48x48/mimetypes/text-x-csrc.png
Binary file added 48x48/mimetypes/text-x-dsrc.png
Binary file added 48x48/mimetypes/text-x-erlang.png
Binary file modified 48x48/mimetypes/text-x-generic.png
Binary file added 48x48/mimetypes/text-x-go.png
Binary file added 48x48/mimetypes/text-x-java.png
Binary file added 48x48/mimetypes/text-x-kotlin.png
Binary file added 48x48/mimetypes/text-x-lua.png
Binary file added 48x48/mimetypes/text-x-matlab.png
Binary file added 48x48/mimetypes/text-x-python.png
Binary file added 48x48/mimetypes/text-x-python3.png
Binary file added 48x48/mimetypes/text-x-qml.png
Binary file added 48x48/mimetypes/text-x-sass.png
Binary file added 48x48/mimetypes/text-x-scss.png
Binary file added 48x48/mimetypes/text-x-vala.png
Binary file added 512x512/mimetypes/text-css.png
Binary file added 512x512/mimetypes/text-richtext.png
Binary file added 512x512/mimetypes/text-rust.png
Binary file added 512x512/mimetypes/text-tcl.png
Binary file added 512x512/mimetypes/text-turtle.png
Binary file added 512x512/mimetypes/text-vbscript.png
Binary file added 512x512/mimetypes/text-x-c++hdr.png
Binary file added 512x512/mimetypes/text-x-c++src.png
Binary file added 512x512/mimetypes/text-x-chdr.png
Binary file added 512x512/mimetypes/text-x-cmake.png
Binary file added 512x512/mimetypes/text-x-csharp.png
Binary file added 512x512/mimetypes/text-x-csrc.png
Binary file added 512x512/mimetypes/text-x-dsrc.png
Binary file added 512x512/mimetypes/text-x-erlang.png
Binary file added 512x512/mimetypes/text-x-generic.png
Binary file added 512x512/mimetypes/text-x-go.png
Binary file added 512x512/mimetypes/text-x-java.png
Binary file added 512x512/mimetypes/text-x-kotlin.png
Binary file added 512x512/mimetypes/text-x-lua.png
Binary file added 512x512/mimetypes/text-x-matlab.png
Binary file added 512x512/mimetypes/text-x-python.png
Binary file added 512x512/mimetypes/text-x-python3.png
Binary file added 512x512/mimetypes/text-x-qml.png
Binary file added 512x512/mimetypes/text-x-sass.png
Binary file added 512x512/mimetypes/text-x-scss.png
Binary file added 512x512/mimetypes/text-x-vala.png
68 changes: 68 additions & 0 deletions export.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
#!/bin/python3

import os
import subprocess


INKSCAPE_EXE = 'inkscape'
SRC_DIR = os.path.join(
os.path.dirname(__file__),
'scalable', 'mimetypes'
)
TARGET_DIRS = [
22, 24, 32, 48, 128, 256, 512
]
OUT_DIRS = [
os.path.join(os.path.dirname(__file__), f'{folder}x{folder}', 'mimetypes')
for folder in TARGET_DIRS
]
SVG_FILES = [
'text-css',
'text-richtext',
'text-rust',
'text-tcl',
'text-turtle',
'text-vbscript',
'text-x-c++hdr',
'text-x-chdr',
'text-x-cmake',
'text-x-csharp',
'text-x-c++src',
'text-x-csrc',
'text-x-dsrc',
'text-x-erlang',
'text-x-generic',
'text-x-go',
'text-x-java',
'text-x-kotlin',
'text-x-lua',
'text-x-matlab',
'text-x-python',
'text-x-python3',
'text-x-qml',
'text-x-sass',
'text-x-scss',
'text-x-vala',
]

if __name__ == "__main__":
for svgFile in SVG_FILES:
print(f'Exporting {svgFile}...')
srcPath = os.path.join(
SRC_DIR, f'{svgFile}.svg'
)
for index in range(len(TARGET_DIRS)):
outputPath = os.path.join(
OUT_DIRS[index], f'{svgFile}.png'
)
outputWidth = TARGET_DIRS[index]
proc = subprocess.run([
INKSCAPE_EXE,
'--export-type', 'png',
'--export-width', f'{outputWidth}',
'--export-filename', outputPath,
srcPath
], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
if proc.returncode != 0:
print(proc.stderr)
exit(-1)
228 changes: 228 additions & 0 deletions scalable/mimetypes/text-css.svg
Loading