[improvement] adjust icon-font unicode (#330)

* fix: Tabbar icon line-height

* [new feature] progress add showPivot prop

* [new feature] TabItem support vue-router

* [new feature] update document header style

* [Doc] add toast english ducoment

* [bugfix] Search box-sizing wrong

* [Doc] update vant-demo respo

* [Doc] translate theme & demo pages

* [Doc] add Internationalization document

* [bugfix] remove unnecessary props

* [fix] optimize clickoutside

* [new feature] optimize find-parent

* [new feature]: change document title accordinng to language

* [new feature] Pagination code review

* [improvement] adjust icon-font unicode
This commit is contained in:
neverland
2017-11-20 13:52:30 +08:00
committed by GitHub
parent a518063718
commit 2914845dae
2 changed files with 85 additions and 85 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ function getCodePoints() {
config.glyphs.forEach((icon, index) => {
const svgPath = path.join(__dirname, './icons/', icon.css + '.svg');
if (fs.existsSync(svgPath)) {
codePoints[icon.css] = 0xe800 + index;
codePoints[icon.css] = 0xf000 + index;
}
});
}
@@ -49,7 +49,7 @@ gulp.task('icon-font-ttf', () => {
path: 'scripts/icon-template.css',
targetPath: './icon.css',
normalize: true,
firstGlyph: 0xe800,
firstGlyph: 0xf000,
fixedCodepoints: getCodePoints()
})
)