Skip to content

Commit

Permalink
fixing material-design icons, etc
Browse files Browse the repository at this point in the history
  • Loading branch information
leungwensen committed Aug 3, 2016
1 parent 1726896 commit 45e495e
Show file tree
Hide file tree
Showing 1,873 changed files with 1,895 additions and 2,011 deletions.
9 changes: 9 additions & 0 deletions bin/svg-sprite.sh
@@ -0,0 +1,9 @@
gulp svg-sprite-ant && gulp svg-sprite-awesome && gulp svg-sprite-bootstrap && gulp svg-sprite-dev && gulp svg-sprite-elusive && gulp svg-sprite-entypo && gulp svg-sprite-evil

gulp svg-sprite-flag && gulp svg-sprite-flat && gulp svg-sprite-foundation && gulp svg-sprite-geom && gulp svg-sprite-icomoon && gulp svg-sprite-ionic

gulp svg-sprite-logos && gulp svg-sprite-maki && gulp svg-sprite-map && gulp svg-sprite-material && gulp svg-sprite-metro && gulp svg-sprite-mfglabs

gulp svg-sprite-oct && gulp svg-sprite-open && gulp svg-sprite-payment && gulp svg-sprite-payment-web && gulp svg-sprite-simple && gulp svg-sprite-subway

gulp svg-sprite-typcn && gulp svg-sprite-weather && gulp svg-sprite-windows && gulp svg-sprite-zero && gulp svg-sprite-zocial
4 changes: 3 additions & 1 deletion bin/trim-svg-icons.js
Expand Up @@ -11,8 +11,8 @@ const argv = process.argv;
function trimming(pathnames, prefixName, index, finalCall) {
if (pathnames[index]) {
console.log(pathnames[index]);
index++;
trimSvg(pathnames[index], prefixName, true, () => {
index++;
trimming(pathnames, prefixName, index)
});
} else {
Expand All @@ -25,6 +25,7 @@ function trimSvgIcons(meta, callback) {
const svgRoot = path.resolve(__dirname, `../dist/svg/${prefixName}/`);
console.log(`trimming ${prefixName}`);
fs.readdir(svgRoot, (err, files) => {
//trimSvg(path.join(svgRoot, files[0]), prefixName, true, () => {});
files = lang.map(files, (file) => path.join(svgRoot, file));
console.log(prefixName);
trimming(files, prefixName, 0, callback);
Expand Down Expand Up @@ -54,4 +55,5 @@ if (argv.length === 3) {
} else {
const metas = lang.values(iconsMetaByPrefix);
trimFlow(metas, 0);
//lang.each(metas, trimSvgIcons);
}
2 changes: 1 addition & 1 deletion dist/sprite/symbol/ant.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/awesome.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/bootstrap.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/dev.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/elusive.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/entypo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/evil.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/flag.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/flat.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/foundation.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/geom.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/icomoon.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/ionic.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/logos.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/maki.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/map.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/material.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/metro.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/mfglabs.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/oct.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/open.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/payment-web.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/payment.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/simple.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/subway.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/sprite/symbol/typcn.svg

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/sprite/symbol/weather.svg

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/sprite/symbol/windows.svg

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/sprite/symbol/zero.svg

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/sprite/symbol/zocial.svg

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/svg/logos/soundcloud.svg
2 changes: 1 addition & 1 deletion dist/svg/material/3d-rotation.svg
2 changes: 1 addition & 1 deletion dist/svg/material/ac-unit.svg
2 changes: 1 addition & 1 deletion dist/svg/material/access-alarm.svg
2 changes: 1 addition & 1 deletion dist/svg/material/access-alarms.svg
2 changes: 1 addition & 1 deletion dist/svg/material/access-time.svg
2 changes: 1 addition & 1 deletion dist/svg/material/accessibility.svg
2 changes: 1 addition & 1 deletion dist/svg/material/accessible.svg
2 changes: 1 addition & 1 deletion dist/svg/material/account-balance-wallet.svg
2 changes: 1 addition & 1 deletion dist/svg/material/account-balance.svg
2 changes: 1 addition & 1 deletion dist/svg/material/account-box.svg
2 changes: 1 addition & 1 deletion dist/svg/material/account-circle.svg
2 changes: 1 addition & 1 deletion dist/svg/material/adb.svg
2 changes: 1 addition & 1 deletion dist/svg/material/add-alarm.svg
2 changes: 1 addition & 1 deletion dist/svg/material/add-alert.svg
2 changes: 1 addition & 1 deletion dist/svg/material/add-box.svg
2 changes: 1 addition & 1 deletion dist/svg/material/add-circle-outline.svg
2 changes: 1 addition & 1 deletion dist/svg/material/add-circle.svg
2 changes: 1 addition & 1 deletion dist/svg/material/add-location.svg
2 changes: 1 addition & 1 deletion dist/svg/material/add-shopping-cart.svg
2 changes: 1 addition & 1 deletion dist/svg/material/add-to-photos.svg
2 changes: 1 addition & 1 deletion dist/svg/material/add-to-queue.svg
2 changes: 1 addition & 1 deletion dist/svg/material/add.svg
2 changes: 1 addition & 1 deletion dist/svg/material/adjust.svg

0 comments on commit 45e495e

Please sign in to comment.