From 0e248be1b08699306a50bd2cdba6fd8b0daffb88 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 28 Nov 2020 15:22:28 +0100 Subject: [PATCH] normalize source icon size for the icon font --- CHANGELOG.md | 2 ++ exampleSite/content/posts/getting-started.md | 2 +- gulpfile.js | 4 ++-- layouts/partials/svg-icon-symbols.html | 2 +- src/iconfont/uEA01-arrow_back.svg | 2 +- src/iconfont/uEA02-arrow_right.svg | 2 +- src/iconfont/uEA03-bookmarks.svg | 2 +- src/iconfont/uEA04-clear.svg | 2 +- src/iconfont/uEA05-contacts.svg | 2 +- src/iconfont/uEA06-create.svg | 2 +- src/iconfont/uEA07-date.svg | 2 +- src/iconfont/uEA08-download.svg | 2 +- src/iconfont/uEA0A-github.svg | 2 +- src/iconfont/uEA0B-heart.svg | 2 +- src/iconfont/uEA0C-link.svg | 2 +- src/iconfont/uEA0D-menu.svg | 2 +- src/iconfont/uEA0E-notifications.svg | 2 +- src/iconfont/uEA0F-person.svg | 2 +- src/iconfont/uEA10-rss_feed.svg | 2 +- src/iconfont/uEA11-search.svg | 2 +- src/iconfont/uEA12-security.svg | 2 +- src/iconfont/uEA13-telescope.svg | 2 +- src/iconfont/uEA14-tree.svg | 2 +- src/iconfont/uEA15-email.svg | 2 +- src/iconfont/uEA16-arrow_left.svg | 2 +- src/iconfont/uEA17-keyborad_arrow_right.svg | 2 +- src/iconfont/uEA18-keyborad_arrow_left.svg | 2 +- 27 files changed, 29 insertions(+), 27 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a5a9c4..d39fe6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ - ENHANCEMENT - add new icons for different vcs providers `bitbucket`, `gitlab` and generic `git` +- BUGFIX + - normalize source icon size for the icon font diff --git a/exampleSite/content/posts/getting-started.md b/exampleSite/content/posts/getting-started.md index 5b6fe50..448a7b5 100644 --- a/exampleSite/content/posts/getting-started.md +++ b/exampleSite/content/posts/getting-started.md @@ -47,7 +47,7 @@ If you want to use the theme from a cloned branch instead of a release tarball y npm install # run gulp pipeline to build required assets -gulp default +npx gulp default ``` ## Using the theme diff --git a/gulpfile.js b/gulpfile.js index c1cd94e..5fbbb56 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -114,8 +114,8 @@ gulp.task("svg-sprite", function () { config = { shape: { dimension: { - maxWidth: 24, - maxHeight: 24, + maxWidth: 22, + maxHeight: 22, attributes: false, }, spacing: { diff --git a/layouts/partials/svg-icon-symbols.html b/layouts/partials/svg-icon-symbols.html index d01be27..7863449 100644 --- a/layouts/partials/svg-icon-symbols.html +++ b/layouts/partials/svg-icon-symbols.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/iconfont/uEA01-arrow_back.svg b/src/iconfont/uEA01-arrow_back.svg index 1497a70..6ee7a48 100644 --- a/src/iconfont/uEA01-arrow_back.svg +++ b/src/iconfont/uEA01-arrow_back.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/iconfont/uEA02-arrow_right.svg b/src/iconfont/uEA02-arrow_right.svg index 56fad66..f0be9b9 100644 --- a/src/iconfont/uEA02-arrow_right.svg +++ b/src/iconfont/uEA02-arrow_right.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/iconfont/uEA03-bookmarks.svg b/src/iconfont/uEA03-bookmarks.svg index 62b5f52..3e41586 100644 --- a/src/iconfont/uEA03-bookmarks.svg +++ b/src/iconfont/uEA03-bookmarks.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/iconfont/uEA04-clear.svg b/src/iconfont/uEA04-clear.svg index c5ceeab..aec4391 100644 --- a/src/iconfont/uEA04-clear.svg +++ b/src/iconfont/uEA04-clear.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/iconfont/uEA05-contacts.svg b/src/iconfont/uEA05-contacts.svg index fea5716..2cefe27 100644 --- a/src/iconfont/uEA05-contacts.svg +++ b/src/iconfont/uEA05-contacts.svg @@ -1 +1 @@ - + diff --git a/src/iconfont/uEA06-create.svg b/src/iconfont/uEA06-create.svg index 8102a38..3e9e0f7 100644 --- a/src/iconfont/uEA06-create.svg +++ b/src/iconfont/uEA06-create.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/iconfont/uEA07-date.svg b/src/iconfont/uEA07-date.svg index 6f1bac1..17805f2 100644 --- a/src/iconfont/uEA07-date.svg +++ b/src/iconfont/uEA07-date.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/iconfont/uEA08-download.svg b/src/iconfont/uEA08-download.svg index b2c2f79..eca0fb6 100644 --- a/src/iconfont/uEA08-download.svg +++ b/src/iconfont/uEA08-download.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/iconfont/uEA0A-github.svg b/src/iconfont/uEA0A-github.svg index 5ef971a..f19d623 100644 --- a/src/iconfont/uEA0A-github.svg +++ b/src/iconfont/uEA0A-github.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/iconfont/uEA0B-heart.svg b/src/iconfont/uEA0B-heart.svg index 98db609..c2c912a 100644 --- a/src/iconfont/uEA0B-heart.svg +++ b/src/iconfont/uEA0B-heart.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/iconfont/uEA0C-link.svg b/src/iconfont/uEA0C-link.svg index 4e34601..3339f72 100644 --- a/src/iconfont/uEA0C-link.svg +++ b/src/iconfont/uEA0C-link.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/iconfont/uEA0D-menu.svg b/src/iconfont/uEA0D-menu.svg index 38beefd..653888e 100644 --- a/src/iconfont/uEA0D-menu.svg +++ b/src/iconfont/uEA0D-menu.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/iconfont/uEA0E-notifications.svg b/src/iconfont/uEA0E-notifications.svg index 83293d5..b3e9439 100644 --- a/src/iconfont/uEA0E-notifications.svg +++ b/src/iconfont/uEA0E-notifications.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/iconfont/uEA0F-person.svg b/src/iconfont/uEA0F-person.svg index 8fe03d1..a2bd7e7 100644 --- a/src/iconfont/uEA0F-person.svg +++ b/src/iconfont/uEA0F-person.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/iconfont/uEA10-rss_feed.svg b/src/iconfont/uEA10-rss_feed.svg index 896fe51..c89e723 100644 --- a/src/iconfont/uEA10-rss_feed.svg +++ b/src/iconfont/uEA10-rss_feed.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/iconfont/uEA11-search.svg b/src/iconfont/uEA11-search.svg index 3767127..dbc95f3 100644 --- a/src/iconfont/uEA11-search.svg +++ b/src/iconfont/uEA11-search.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/iconfont/uEA12-security.svg b/src/iconfont/uEA12-security.svg index 5327e7b..aabfc71 100644 --- a/src/iconfont/uEA12-security.svg +++ b/src/iconfont/uEA12-security.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/iconfont/uEA13-telescope.svg b/src/iconfont/uEA13-telescope.svg index 20d3430..cd5357b 100644 --- a/src/iconfont/uEA13-telescope.svg +++ b/src/iconfont/uEA13-telescope.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/iconfont/uEA14-tree.svg b/src/iconfont/uEA14-tree.svg index 981b686..70c7df9 100644 --- a/src/iconfont/uEA14-tree.svg +++ b/src/iconfont/uEA14-tree.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/iconfont/uEA15-email.svg b/src/iconfont/uEA15-email.svg index f38da85..7150c4d 100644 --- a/src/iconfont/uEA15-email.svg +++ b/src/iconfont/uEA15-email.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/iconfont/uEA16-arrow_left.svg b/src/iconfont/uEA16-arrow_left.svg index 73af9db..0b63e86 100644 --- a/src/iconfont/uEA16-arrow_left.svg +++ b/src/iconfont/uEA16-arrow_left.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/iconfont/uEA17-keyborad_arrow_right.svg b/src/iconfont/uEA17-keyborad_arrow_right.svg index 4283dad..8d4fc23 100644 --- a/src/iconfont/uEA17-keyborad_arrow_right.svg +++ b/src/iconfont/uEA17-keyborad_arrow_right.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/iconfont/uEA18-keyborad_arrow_left.svg b/src/iconfont/uEA18-keyborad_arrow_left.svg index a6030dd..b3f5071 100644 --- a/src/iconfont/uEA18-keyborad_arrow_left.svg +++ b/src/iconfont/uEA18-keyborad_arrow_left.svg @@ -1 +1 @@ - \ No newline at end of file +