chore: Add icons builder
|
@ -6,18 +6,41 @@
|
|||
|
||||
import Gulp from 'gulp';
|
||||
import Colorize from 'gulp-colorize-svgs';
|
||||
import colors from 'colors';
|
||||
import runSequence from 'run-sequence';
|
||||
import Template from 'gulp-template';
|
||||
import Rename from 'gulp-rename';
|
||||
import FileList from 'gulp-filelist';
|
||||
import Data from 'gulp-data';
|
||||
import Paths from '../paths';
|
||||
import del from 'del';
|
||||
import Del from 'del';
|
||||
|
||||
import iconsColors from '../../icons/colors.js';
|
||||
import iconsColors from '../../src/settings/colors.js';
|
||||
import iconList from '../../src/iconlist.json';
|
||||
|
||||
console.log(iconsColors);
|
||||
|
||||
Gulp.task('icons', (cb) => {
|
||||
runSequence(
|
||||
'clean:icons',
|
||||
'process:icons',
|
||||
'iconslist',
|
||||
'template:icons',
|
||||
(error) => {
|
||||
if (error) {
|
||||
console.log('\n[Build Icons]'.bold.magenta + ' There was an issue building icons:\n'.bold.red + error.message);
|
||||
} else {
|
||||
console.log('\n[Build Icons]'.bold.magenta + ' Finished successfully\n'.bold.green);
|
||||
}
|
||||
cb(error);
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Gulp.task('clean:icons', () => {
|
||||
Del([`${Paths.icons}/svg/*.svg`]);
|
||||
});
|
||||
|
||||
Gulp.task('process:icons', () => {
|
||||
del([`${Paths.icons}/svg/*.svg`]).then(paths => {
|
||||
console.log('[ 🔥 Deleting all icons]\n'.bold.red);
|
||||
});
|
||||
Gulp.src(`${Paths.src}/icons/*.svg`)
|
||||
.pipe(Colorize({
|
||||
colors: iconsColors,
|
||||
|
@ -29,4 +52,25 @@ Gulp.task('process:icons', () => {
|
|||
}
|
||||
}))
|
||||
.pipe(Gulp.dest(`${Paths.icons}/svg`));
|
||||
});
|
||||
|
||||
Gulp.task('iconslist', () => {
|
||||
Gulp.src(`${Paths.src}/icons/*.svg`)
|
||||
.pipe(FileList('iconlist.json', {
|
||||
flatten: true,
|
||||
removeExtensions: true
|
||||
}))
|
||||
.pipe(Gulp.dest(Paths.src));
|
||||
});
|
||||
|
||||
|
||||
Gulp.task('template:icons', () => {
|
||||
Gulp.src(`${Paths.src}/theme-icon.template`)
|
||||
.pipe(Data(() => ({ icons: iconList })))
|
||||
.pipe(Template())
|
||||
.pipe(Rename({
|
||||
basename: "material-theme-icon-theme",
|
||||
extname: ".json"
|
||||
}))
|
||||
.pipe(Gulp.dest(Paths.icons));
|
||||
});
|
1
.npmignore
Normal file
|
@ -0,0 +1 @@
|
|||
src/
|
5
.vscodeignore
Normal file
|
@ -0,0 +1,5 @@
|
|||
.vscode/**
|
||||
.vscode-test/**
|
||||
src/**
|
||||
.gitignore
|
||||
vsc-extension-quickstart.md
|
|
@ -0,0 +1,5 @@
|
|||
<a name="0.0.1"></a>
|
||||
## 0.0.1 (2017-02-04)
|
||||
|
||||
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
/* Color Palette:
|
||||
* green: '90A959',
|
||||
* blue: '6A9FB5',
|
||||
* blueDesaturated: '78909C',
|
||||
* red: 'AC4142',
|
||||
* redLight: 'D14748',
|
||||
* maroon: 'AB7558',
|
||||
* limeGreen: 'B8E15E',
|
||||
* greenTea: '2ECC71',
|
||||
* purple: 'AA759F',
|
||||
* purpleDark: '8251A8',
|
||||
* yellow: 'F4BF75',
|
||||
* teal: '80CBC4',
|
||||
* orange: 'D28445',
|
||||
*/
|
||||
|
||||
|
||||
|
||||
var iconsColors = {
|
||||
actionscript: {
|
||||
pink: 'FF00FF'
|
||||
}
|
||||
}
|
||||
|
||||
export default iconsColors;
|
|
@ -1,16 +1,328 @@
|
|||
{
|
||||
"iconDefinitions": {
|
||||
"_actionscript": {
|
||||
"iconPath": "svg/actionscript.svg"
|
||||
},
|
||||
"_ai": {
|
||||
"iconPath": "svg/ai.svg"
|
||||
},
|
||||
"_angular": {
|
||||
"iconPath": "svg/angular.svg"
|
||||
},
|
||||
"_applescript": {
|
||||
"iconPath": "svg/applescript.svg"
|
||||
},
|
||||
"_archive": {
|
||||
"iconPath": "svg/archive.svg"
|
||||
},
|
||||
"_babel": {
|
||||
"iconPath": "svg/babel.svg"
|
||||
},
|
||||
"_binary": {
|
||||
"iconPath": "svg/binary.svg"
|
||||
},
|
||||
"_blade": {
|
||||
"iconPath": "svg/blade.svg"
|
||||
},
|
||||
"_bower": {
|
||||
"iconPath": "svg/bower.svg"
|
||||
},
|
||||
"_c": {
|
||||
"iconPath": "svg/c.svg"
|
||||
},
|
||||
"_cf": {
|
||||
"iconPath": "svg/cf.svg"
|
||||
},
|
||||
"_circleci": {
|
||||
"iconPath": "svg/circleci.svg"
|
||||
},
|
||||
"_clojure": {
|
||||
"iconPath": "svg/clojure.svg"
|
||||
},
|
||||
"_coffeescript": {
|
||||
"iconPath": "svg/coffeescript.svg"
|
||||
},
|
||||
"_composer": {
|
||||
"iconPath": "svg/composer.svg"
|
||||
},
|
||||
"_cpp": {
|
||||
"iconPath": "svg/cpp.svg"
|
||||
},
|
||||
"_csharp": {
|
||||
"iconPath": "svg/csharp.svg"
|
||||
},
|
||||
"_css": {
|
||||
"iconPath": "svg/css.svg"
|
||||
},
|
||||
"_csv": {
|
||||
"iconPath": "svg/csv.svg"
|
||||
},
|
||||
"_default": {
|
||||
"iconPath": "svg/default.svg"
|
||||
},
|
||||
"_dlang": {
|
||||
"iconPath": "svg/dlang.svg"
|
||||
},
|
||||
"_docker": {
|
||||
"iconPath": "svg/docker.svg"
|
||||
},
|
||||
"_dotnet": {
|
||||
"iconPath": "svg/dotnet.svg"
|
||||
},
|
||||
"_editorconfig": {
|
||||
"iconPath": "svg/editorconfig.svg"
|
||||
},
|
||||
"_elm": {
|
||||
"iconPath": "svg/elm.svg"
|
||||
},
|
||||
"_erlang": {
|
||||
"iconPath": "svg/erlang.svg"
|
||||
},
|
||||
"_eslint": {
|
||||
"iconPath": "svg/eslint.svg"
|
||||
},
|
||||
"_ex": {
|
||||
"iconPath": "svg/ex.svg"
|
||||
},
|
||||
"_font": {
|
||||
"iconPath": "svg/font.svg"
|
||||
},
|
||||
"_git": {
|
||||
"iconPath": "svg/git.svg"
|
||||
},
|
||||
"_go": {
|
||||
"iconPath": "svg/go.svg"
|
||||
},
|
||||
"_gradle": {
|
||||
"iconPath": "svg/gradle.svg"
|
||||
},
|
||||
"_graphviz": {
|
||||
"iconPath": "svg/graphviz.svg"
|
||||
},
|
||||
"_groovy": {
|
||||
"iconPath": "svg/groovy.svg"
|
||||
},
|
||||
"_gruntfile": {
|
||||
"iconPath": "svg/gruntfile.svg"
|
||||
},
|
||||
"_gulpfile": {
|
||||
"iconPath": "svg/gulpfile.svg"
|
||||
},
|
||||
"_haml": {
|
||||
"iconPath": "svg/haml.svg"
|
||||
},
|
||||
"_haskell": {
|
||||
"iconPath": "svg/haskell.svg"
|
||||
},
|
||||
"_haxe": {
|
||||
"iconPath": "svg/haxe.svg"
|
||||
},
|
||||
"_html": {
|
||||
"iconPath": "svg/html.svg"
|
||||
},
|
||||
"_image": {
|
||||
"iconPath": "svg/image.svg"
|
||||
},
|
||||
"_java": {
|
||||
"iconPath": "svg/java.svg"
|
||||
},
|
||||
"_js": {
|
||||
"iconPath": "svg/js.svg"
|
||||
},
|
||||
"_json": {
|
||||
"iconPath": "svg/json.svg"
|
||||
},
|
||||
"_jsp": {
|
||||
"iconPath": "svg/jsp.svg"
|
||||
},
|
||||
"_jsx": {
|
||||
"iconPath": "svg/jsx.svg"
|
||||
},
|
||||
"_julia": {
|
||||
"iconPath": "svg/julia.svg"
|
||||
},
|
||||
"_less": {
|
||||
"iconPath": "svg/less.svg"
|
||||
},
|
||||
"_license": {
|
||||
"iconPath": "svg/license.svg"
|
||||
},
|
||||
"_liquid": {
|
||||
"iconPath": "svg/liquid.svg"
|
||||
},
|
||||
"_lisp": {
|
||||
"iconPath": "svg/lisp.svg"
|
||||
},
|
||||
"_lock": {
|
||||
"iconPath": "svg/lock.svg"
|
||||
},
|
||||
"_log": {
|
||||
"iconPath": "svg/log.svg"
|
||||
},
|
||||
"_lsl": {
|
||||
"iconPath": "svg/lsl.svg"
|
||||
},
|
||||
"_lua": {
|
||||
"iconPath": "svg/lua.svg"
|
||||
},
|
||||
"_markdown": {
|
||||
"iconPath": "svg/markdown.svg"
|
||||
},
|
||||
"_markup": {
|
||||
"iconPath": "svg/markup.svg"
|
||||
},
|
||||
"_matlab": {
|
||||
"iconPath": "svg/matlab.svg"
|
||||
},
|
||||
"_mustache": {
|
||||
"iconPath": "svg/mustache.svg"
|
||||
},
|
||||
"_nginx": {
|
||||
"iconPath": "svg/nginx.svg"
|
||||
},
|
||||
"_nodejs": {
|
||||
"iconPath": "svg/nodejs.svg"
|
||||
},
|
||||
"_note": {
|
||||
"iconPath": "svg/note.svg"
|
||||
},
|
||||
"_npm": {
|
||||
"iconPath": "svg/npm.svg"
|
||||
},
|
||||
"_nsis": {
|
||||
"iconPath": "svg/nsis.svg"
|
||||
},
|
||||
"_ocaml": {
|
||||
"iconPath": "svg/ocaml.svg"
|
||||
},
|
||||
"_pdf": {
|
||||
"iconPath": "svg/pdf.svg"
|
||||
},
|
||||
"_perl": {
|
||||
"iconPath": "svg/perl.svg"
|
||||
},
|
||||
"_php": {
|
||||
"iconPath": "svg/php.svg"
|
||||
},
|
||||
"_plist": {
|
||||
"iconPath": "svg/plist.svg"
|
||||
},
|
||||
"_postcss": {
|
||||
"iconPath": "svg/postcss.svg"
|
||||
},
|
||||
"_preferences": {
|
||||
"iconPath": "svg/preferences.svg"
|
||||
},
|
||||
"_procfile": {
|
||||
"iconPath": "svg/procfile.svg"
|
||||
},
|
||||
"_psd": {
|
||||
"iconPath": "svg/psd.svg"
|
||||
},
|
||||
"_pug": {
|
||||
"iconPath": "svg/pug.svg"
|
||||
},
|
||||
"_puppet": {
|
||||
"iconPath": "svg/puppet.svg"
|
||||
},
|
||||
"_python": {
|
||||
"iconPath": "svg/python.svg"
|
||||
},
|
||||
"_r": {
|
||||
"iconPath": "svg/r.svg"
|
||||
},
|
||||
"_rails": {
|
||||
"iconPath": "svg/rails.svg"
|
||||
},
|
||||
"_riot": {
|
||||
"iconPath": "svg/riot.svg"
|
||||
},
|
||||
"_ruby": {
|
||||
"iconPath": "svg/ruby.svg"
|
||||
},
|
||||
"_rust": {
|
||||
"iconPath": "svg/rust.svg"
|
||||
},
|
||||
"_sass": {
|
||||
"iconPath": "svg/sass.svg"
|
||||
},
|
||||
"_scala": {
|
||||
"iconPath": "svg/scala.svg"
|
||||
},
|
||||
"_scss": {
|
||||
"iconPath": "svg/scss.svg"
|
||||
},
|
||||
"_json": {
|
||||
"iconPath": "svg/json.svg"
|
||||
"_settings": {
|
||||
"iconPath": "svg/settings.svg"
|
||||
},
|
||||
"_shell": {
|
||||
"iconPath": "svg/shell.svg"
|
||||
},
|
||||
"_sketch": {
|
||||
"iconPath": "svg/sketch.svg"
|
||||
},
|
||||
"_slim": {
|
||||
"iconPath": "svg/slim.svg"
|
||||
},
|
||||
"_source": {
|
||||
"iconPath": "svg/source.svg"
|
||||
},
|
||||
"_sql": {
|
||||
"iconPath": "svg/sql.svg"
|
||||
},
|
||||
"_stata": {
|
||||
"iconPath": "svg/stata.svg"
|
||||
},
|
||||
"_stylelint": {
|
||||
"iconPath": "svg/stylelint.svg"
|
||||
},
|
||||
"_stylus": {
|
||||
"iconPath": "svg/stylus.svg"
|
||||
},
|
||||
"_sublime": {
|
||||
"iconPath": "svg/sublime.svg"
|
||||
},
|
||||
"_svg": {
|
||||
"iconPath": "svg/svg.svg"
|
||||
},
|
||||
"_swift": {
|
||||
"iconPath": "svg/swift.svg"
|
||||
},
|
||||
"_tcl": {
|
||||
"iconPath": "svg/tcl.svg"
|
||||
},
|
||||
"_tex": {
|
||||
"iconPath": "svg/tex.svg"
|
||||
},
|
||||
"_text": {
|
||||
"iconPath": "svg/text.svg"
|
||||
},
|
||||
"_textile": {
|
||||
"iconPath": "svg/textile.svg"
|
||||
},
|
||||
"_todo": {
|
||||
"iconPath": "svg/todo.svg"
|
||||
},
|
||||
"_twig": {
|
||||
"iconPath": "svg/twig.svg"
|
||||
},
|
||||
"_typescript": {
|
||||
"iconPath": "svg/typescript.svg"
|
||||
},
|
||||
"_vue": {
|
||||
"iconPath": "svg/vue.svg"
|
||||
},
|
||||
"_webpack": {
|
||||
"iconPath": "svg/webpack.svg"
|
||||
},
|
||||
"_windows": {
|
||||
"iconPath": "svg/windows.svg"
|
||||
},
|
||||
"_yaml": {
|
||||
"iconPath": "svg/yaml.svg"
|
||||
},
|
||||
"_yarn": {
|
||||
"iconPath": "svg/yarn.svg"
|
||||
}
|
||||
},
|
||||
"fileExtensions": {
|
||||
|
|
2
icons/svg/actionscript.svg
Normal file → Executable file
|
@ -2,7 +2,7 @@
|
|||
<defs>
|
||||
<style>
|
||||
.i-color {
|
||||
fill: #FF00FF;
|
||||
fill: #000;
|
||||
fill-rule: evenodd;
|
||||
}
|
||||
</style>
|
||||
|
|
Before Width: | Height: | Size: 672 B After Width: | Height: | Size: 669 B |
2
icons/svg/ai.svg
Executable file → Normal file
|
@ -2,7 +2,7 @@
|
|||
<defs>
|
||||
<style>
|
||||
.i-color {
|
||||
fill: #000;
|
||||
fill: #D28445;
|
||||
fill-rule: evenodd;
|
||||
}
|
||||
</style>
|
||||
|
|
Before Width: | Height: | Size: 476 B After Width: | Height: | Size: 479 B |
2
icons/svg/angular.svg
Executable file → Normal file
|
@ -2,7 +2,7 @@
|
|||
<defs>
|
||||
<style>
|
||||
.i-color {
|
||||
fill: #000;
|
||||
fill: #D14748;
|
||||
fill-rule: evenodd;
|
||||
}
|
||||
</style>
|
||||
|
|
Before Width: | Height: | Size: 415 B After Width: | Height: | Size: 418 B |
2
icons/svg/applescript.svg
Executable file → Normal file
|
@ -2,7 +2,7 @@
|
|||
<defs>
|
||||
<style>
|
||||
.i-color {
|
||||
fill: #000;
|
||||
fill: #7A8387;
|
||||
fill-rule: evenodd;
|
||||
}
|
||||
</style>
|
||||
|
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
2
icons/svg/bower.svg
Executable file → Normal file
|
@ -2,7 +2,7 @@
|
|||
<defs>
|
||||
<style>
|
||||
.i-color {
|
||||
fill: #000;
|
||||
fill: #7A8387;
|
||||
fill-rule: evenodd;
|
||||
}
|
||||
</style>
|
||||
|
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
2
icons/svg/coffeescript.svg
Executable file → Normal file
|
@ -2,7 +2,7 @@
|
|||
<defs>
|
||||
<style>
|
||||
.i-color {
|
||||
fill: #000;
|
||||
fill: #AB7558;
|
||||
fill-rule: evenodd;
|
||||
}
|
||||
</style>
|
||||
|
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
2
icons/svg/csharp.svg
Executable file → Normal file
|
@ -2,7 +2,7 @@
|
|||
<defs>
|
||||
<style>
|
||||
.i-color {
|
||||
fill: #000;
|
||||
fill: #6A9FB5;
|
||||
fill-rule: evenodd;
|
||||
}
|
||||
</style>
|
||||
|
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
2
icons/svg/css.svg
Executable file → Normal file
|
@ -2,7 +2,7 @@
|
|||
<defs>
|
||||
<style>
|
||||
.i-color {
|
||||
fill: #000;
|
||||
fill: #6A9FB5;
|
||||
fill-rule: evenodd;
|
||||
}
|
||||
</style>
|
||||
|
|
Before Width: | Height: | Size: 430 B After Width: | Height: | Size: 433 B |
2
icons/svg/dlang.svg
Executable file → Normal file
|
@ -2,7 +2,7 @@
|
|||
<defs>
|
||||
<style>
|
||||
.i-color {
|
||||
fill: #000;
|
||||
fill: #AC4142;
|
||||
fill-rule: evenodd;
|
||||
}
|
||||
</style>
|
||||
|
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
2
icons/svg/docker.svg
Executable file → Normal file
|
@ -2,7 +2,7 @@
|
|||
<defs>
|
||||
<style>
|
||||
.i-color {
|
||||
fill: #000;
|
||||
fill: #6A9FB5;
|
||||
fill-rule: evenodd;
|
||||
}
|
||||
</style>
|
||||
|
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
2
icons/svg/erlang.svg
Executable file → Normal file
|
@ -2,7 +2,7 @@
|
|||
<defs>
|
||||
<style>
|
||||
.i-color {
|
||||
fill: #000;
|
||||
fill: #AA759F;
|
||||
fill-rule: evenodd;
|
||||
}
|
||||
</style>
|
||||
|
|
Before Width: | Height: | Size: 653 B After Width: | Height: | Size: 656 B |
2
icons/svg/git.svg
Executable file → Normal file
|
@ -2,7 +2,7 @@
|
|||
<defs>
|
||||
<style>
|
||||
.i-color {
|
||||
fill: #000;
|
||||
fill: #AC4142;
|
||||
fill-rule: evenodd;
|
||||
}
|
||||
</style>
|
||||
|
|
Before Width: | Height: | Size: 624 B After Width: | Height: | Size: 627 B |
2
icons/svg/go.svg
Executable file → Normal file
|
@ -2,7 +2,7 @@
|
|||
<defs>
|
||||
<style>
|
||||
.i-color {
|
||||
fill: #000;
|
||||
fill: #6A9FB5;
|
||||
fill-rule: evenodd;
|
||||
}
|
||||
</style>
|
||||
|
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
2
icons/svg/graphviz.svg
Executable file → Normal file
|
@ -2,7 +2,7 @@
|
|||
<defs>
|
||||
<style>
|
||||
.i-color {
|
||||
fill: #000;
|
||||
fill: #D28445;
|
||||
fill-rule: evenodd;
|
||||
}
|
||||
</style>
|
||||
|
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
2
icons/svg/gruntfile.svg
Executable file → Normal file
|
@ -2,7 +2,7 @@
|
|||
<defs>
|
||||
<style>
|
||||
.i-color {
|
||||
fill: #000;
|
||||
fill: #F4BF75;
|
||||
fill-rule: evenodd;
|
||||
}
|
||||
</style>
|
||||
|
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
2
icons/svg/gulpfile.svg
Executable file → Normal file
|
@ -2,7 +2,7 @@
|
|||
<defs>
|
||||
<style>
|
||||
.i-color {
|
||||
fill: #000;
|
||||
fill: #D14748;
|
||||
fill-rule: evenodd;
|
||||
}
|
||||
</style>
|
||||
|
|
Before Width: | Height: | Size: 869 B After Width: | Height: | Size: 872 B |
2
icons/svg/license.svg
Executable file → Normal file
|
@ -2,7 +2,7 @@
|
|||
<defs>
|
||||
<style>
|
||||
.i-color {
|
||||
fill: #000;
|
||||
fill: #F4BF75;
|
||||
fill-rule: evenodd;
|
||||
}
|
||||
</style>
|
||||
|
|
Before Width: | Height: | Size: 518 B After Width: | Height: | Size: 521 B |
|
@ -46,8 +46,12 @@
|
|||
"gulp-bump": "^2.6.1",
|
||||
"gulp-colorize-svgs": "git+https://git@github.com/unic/gulp-colorize-svgs.git",
|
||||
"gulp-conventional-changelog": "^1.1.0",
|
||||
"gulp-data": "^1.2.1",
|
||||
"gulp-filelist": "^1.0.0",
|
||||
"gulp-if": "^2.0.2",
|
||||
"gulp-rename": "^1.2.2",
|
||||
"gulp-stats": "^0.0.4",
|
||||
"gulp-template": "^4.0.0",
|
||||
"gulp-watch": "^4.3.8",
|
||||
"run-sequence": "^1.2.2",
|
||||
"yargs": "^6.6.0"
|
||||
|
|
110
src/iconlist.json
Normal file
|
@ -0,0 +1,110 @@
|
|||
[
|
||||
"actionscript",
|
||||
"ai",
|
||||
"angular",
|
||||
"applescript",
|
||||
"archive",
|
||||
"babel",
|
||||
"binary",
|
||||
"blade",
|
||||
"bower",
|
||||
"c",
|
||||
"cf",
|
||||
"circleci",
|
||||
"clojure",
|
||||
"coffeescript",
|
||||
"composer",
|
||||
"cpp",
|
||||
"csharp",
|
||||
"css",
|
||||
"csv",
|
||||
"default",
|
||||
"dlang",
|
||||
"docker",
|
||||
"dotnet",
|
||||
"editorconfig",
|
||||
"elm",
|
||||
"erlang",
|
||||
"eslint",
|
||||
"ex",
|
||||
"font",
|
||||
"git",
|
||||
"go",
|
||||
"gradle",
|
||||
"graphviz",
|
||||
"groovy",
|
||||
"gruntfile",
|
||||
"gulpfile",
|
||||
"haml",
|
||||
"haskell",
|
||||
"haxe",
|
||||
"html",
|
||||
"image",
|
||||
"java",
|
||||
"js",
|
||||
"json",
|
||||
"jsp",
|
||||
"jsx",
|
||||
"julia",
|
||||
"less",
|
||||
"license",
|
||||
"liquid",
|
||||
"lisp",
|
||||
"lock",
|
||||
"log",
|
||||
"lsl",
|
||||
"lua",
|
||||
"markdown",
|
||||
"markup",
|
||||
"matlab",
|
||||
"mustache",
|
||||
"nginx",
|
||||
"nodejs",
|
||||
"note",
|
||||
"npm",
|
||||
"nsis",
|
||||
"ocaml",
|
||||
"pdf",
|
||||
"perl",
|
||||
"php",
|
||||
"plist",
|
||||
"postcss",
|
||||
"preferences",
|
||||
"procfile",
|
||||
"psd",
|
||||
"pug",
|
||||
"puppet",
|
||||
"python",
|
||||
"r",
|
||||
"rails",
|
||||
"riot",
|
||||
"ruby",
|
||||
"rust",
|
||||
"sass",
|
||||
"scala",
|
||||
"scss",
|
||||
"settings",
|
||||
"shell",
|
||||
"sketch",
|
||||
"slim",
|
||||
"source",
|
||||
"sql",
|
||||
"stata",
|
||||
"stylelint",
|
||||
"stylus",
|
||||
"sublime",
|
||||
"svg",
|
||||
"swift",
|
||||
"tcl",
|
||||
"tex",
|
||||
"text",
|
||||
"textile",
|
||||
"todo",
|
||||
"twig",
|
||||
"typescript",
|
||||
"vue",
|
||||
"webpack",
|
||||
"windows",
|
||||
"yaml",
|
||||
"yarn"
|
||||
]
|
69
src/settings/colors.js
Normal file
|
@ -0,0 +1,69 @@
|
|||
/* Color Palette: */
|
||||
let green = '90A959';
|
||||
let blue = '6A9FB5';
|
||||
let blueDesaturated = '78909C';
|
||||
let red = 'AC4142';
|
||||
let redLight = 'D14748';
|
||||
let maroon = 'AB7558';
|
||||
let limeGreen = 'B8E15E';
|
||||
let greenTea = '2ECC71';
|
||||
let purple = 'AA759F';
|
||||
let purpleDark = '8251A8';
|
||||
let yellow = 'F4BF75';
|
||||
let teal = '80CBC4';
|
||||
let orange = 'D28445';
|
||||
let gray = '7A8387';
|
||||
|
||||
|
||||
var iconsColors = {
|
||||
ai: {
|
||||
color: orange
|
||||
},
|
||||
git: {
|
||||
color: red
|
||||
},
|
||||
license: {
|
||||
color: yellow
|
||||
},
|
||||
angular: {
|
||||
color: redLight
|
||||
},
|
||||
applescript: {
|
||||
color: gray
|
||||
},
|
||||
bower: {
|
||||
color: gray
|
||||
},
|
||||
csharp: {
|
||||
color: blue
|
||||
},
|
||||
coffeescript: {
|
||||
color: maroon
|
||||
},
|
||||
css: {
|
||||
color: blue
|
||||
},
|
||||
dlang: {
|
||||
color: red
|
||||
},
|
||||
docker: {
|
||||
color: blue
|
||||
},
|
||||
erlang: {
|
||||
color: purple
|
||||
},
|
||||
go: {
|
||||
color: blue
|
||||
},
|
||||
graphviz: {
|
||||
color: orange
|
||||
},
|
||||
gruntfile: {
|
||||
color: yellow
|
||||
},
|
||||
gulpfile: {
|
||||
color: redLight
|
||||
}
|
||||
}
|
||||
|
||||
export default iconsColors;
|
13
src/theme-icon.template
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"iconDefinitions": {<% for( var i = 0; i < icons.length; i++ ){ %>
|
||||
"_<%= icons[i] %>": {
|
||||
"iconPath": "svg/<%= icons[i] %>.svg"
|
||||
}<% if( i !== (icons.length - 1)){ %>,<%} %><% } %>
|
||||
},
|
||||
"fileExtensions": {
|
||||
"md": "_markdown",
|
||||
"scss": "_scss",
|
||||
"sass": "_sass",
|
||||
"json": "_json"
|
||||
}
|
||||
}
|
56
yarn.lock
|
@ -1720,6 +1720,23 @@ gulp-conventional-changelog@^1.1.0:
|
|||
object-assign "^4.0.1"
|
||||
through2 "^2.0.0"
|
||||
|
||||
gulp-data@^1.2.1:
|
||||
version "1.2.1"
|
||||
resolved "https://registry.yarnpkg.com/gulp-data/-/gulp-data-1.2.1.tgz#a94b54de7d4f3b8ea1f40ef859749c24578cf12b"
|
||||
dependencies:
|
||||
gulp-util "^3.0.7"
|
||||
through2 "^2.0.0"
|
||||
util-extend "^1.0.1"
|
||||
|
||||
gulp-filelist@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/gulp-filelist/-/gulp-filelist-1.0.0.tgz#21e2408298a3d30de0ea60ed1f72fcab15c86889"
|
||||
dependencies:
|
||||
gulp-util "^3.0.7"
|
||||
path "^0.12.7"
|
||||
through2 "^2.0.0"
|
||||
vinyl "^1.1.0"
|
||||
|
||||
gulp-if@^2.0.2:
|
||||
version "2.0.2"
|
||||
resolved "https://registry.yarnpkg.com/gulp-if/-/gulp-if-2.0.2.tgz#a497b7e7573005041caa2bc8b7dda3c80444d629"
|
||||
|
@ -1734,6 +1751,10 @@ gulp-match@^1.0.3:
|
|||
dependencies:
|
||||
minimatch "^3.0.3"
|
||||
|
||||
gulp-rename@^1.2.2:
|
||||
version "1.2.2"
|
||||
resolved "https://registry.yarnpkg.com/gulp-rename/-/gulp-rename-1.2.2.tgz#3ad4428763f05e2764dec1c67d868db275687817"
|
||||
|
||||
gulp-stats@^0.0.4:
|
||||
version "0.0.4"
|
||||
resolved "https://registry.yarnpkg.com/gulp-stats/-/gulp-stats-0.0.4.tgz#f216c2bc079cb890cebf5d6aaa3b1eb397d12bab"
|
||||
|
@ -1742,6 +1763,14 @@ gulp-stats@^0.0.4:
|
|||
pretty-hrtime "^1.0.0"
|
||||
text-table "^0.2.0"
|
||||
|
||||
gulp-template@^4.0.0:
|
||||
version "4.0.0"
|
||||
resolved "https://registry.yarnpkg.com/gulp-template/-/gulp-template-4.0.0.tgz#05de36808c6fb9966578d5a94ee72cee08cdc53b"
|
||||
dependencies:
|
||||
gulp-util "^3.0.0"
|
||||
lodash "^4.8.2"
|
||||
through2 "^2.0.0"
|
||||
|
||||
gulp-util@*, gulp-util@^3.0.0, gulp-util@^3.0.4, gulp-util@^3.0.6, gulp-util@^3.0.7:
|
||||
version "3.0.8"
|
||||
resolved "https://registry.yarnpkg.com/gulp-util/-/gulp-util-3.0.8.tgz#0054e1e744502e27c04c187c3ecc505dd54bbb4f"
|
||||
|
@ -1912,6 +1941,10 @@ inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.0, inherits@~2.0.1:
|
|||
version "2.0.3"
|
||||
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
|
||||
|
||||
inherits@2.0.1:
|
||||
version "2.0.1"
|
||||
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1"
|
||||
|
||||
ini@^1.3.2, ini@^1.3.4, ini@~1.3.0:
|
||||
version "1.3.4"
|
||||
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.4.tgz#0537cb79daf59b59a1a517dff706c86ec039162e"
|
||||
|
@ -2376,7 +2409,7 @@ lodash@^3.6.0:
|
|||
version "3.10.1"
|
||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"
|
||||
|
||||
lodash@^4.0.0, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0:
|
||||
lodash@^4.0.0, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.8.2:
|
||||
version "4.17.4"
|
||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
|
||||
|
||||
|
@ -2721,6 +2754,13 @@ path-type@^1.0.0:
|
|||
pify "^2.0.0"
|
||||
pinkie-promise "^2.0.0"
|
||||
|
||||
path@^0.12.7:
|
||||
version "0.12.7"
|
||||
resolved "https://registry.yarnpkg.com/path/-/path-0.12.7.tgz#d4dc2a506c4ce2197eb481ebfcd5b36c0140b10f"
|
||||
dependencies:
|
||||
process "^0.11.1"
|
||||
util "^0.10.3"
|
||||
|
||||
pify@^2.0.0, pify@^2.3.0:
|
||||
version "2.3.0"
|
||||
resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"
|
||||
|
@ -2776,6 +2816,10 @@ process-nextick-args@~1.0.6:
|
|||
version "1.0.7"
|
||||
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3"
|
||||
|
||||
process@^0.11.1:
|
||||
version "0.11.9"
|
||||
resolved "https://registry.yarnpkg.com/process/-/process-0.11.9.tgz#7bd5ad21aa6253e7da8682264f1e11d11c0318c1"
|
||||
|
||||
progress@^1.1.8:
|
||||
version "1.1.8"
|
||||
resolved "https://registry.yarnpkg.com/progress/-/progress-1.1.8.tgz#e260c78f6161cdd9b0e56cc3e0a85de17c7a57be"
|
||||
|
@ -3405,6 +3449,16 @@ util-deprecate@~1.0.1:
|
|||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
|
||||
|
||||
util-extend@^1.0.1:
|
||||
version "1.0.3"
|
||||
resolved "https://registry.yarnpkg.com/util-extend/-/util-extend-1.0.3.tgz#a7c216d267545169637b3b6edc6ca9119e2ff93f"
|
||||
|
||||
util@^0.10.3:
|
||||
version "0.10.3"
|
||||
resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9"
|
||||
dependencies:
|
||||
inherits "2.0.1"
|
||||
|
||||
uuid@^3.0.0:
|
||||
version "3.0.1"
|
||||
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.1.tgz#6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1"
|
||||
|
|