Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
feat: upgrade mdi version
Browse files Browse the repository at this point in the history
  • Loading branch information
lc-soft committed Dec 16, 2018
1 parent 851450c commit bcc4eb5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@
"npm-run-all": "^4.1.1"
},
"dependencies": {
"mdi": "^2.0.46"
"@mdi/font": "^3.2.89"
}
}
2 changes: 1 addition & 1 deletion scripts/build-font.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ if (!fs.existsSync(fontdir)) {
fs.mkdirSync(fontdir);
}

fs.createReadStream('./node_modules/mdi/fonts/materialdesignicons-webfont.ttf')
fs.createReadStream('./node_modules/@mdi/font/fonts/materialdesignicons-webfont.ttf')
.pipe(fs.createWriteStream(fontdir + 'iconfont.ttf'));
4 changes: 2 additions & 2 deletions src/scss/_iconfont.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
$mdi-font-size-base: 16px;
$mdi-css-prefix: icon;

@import "../../node_modules/mdi/scss/variables";
@import "../../node_modules/mdi/scss/functions";
@import "../../node_modules/@mdi/font/scss/variables";
@import "../../node_modules/@mdi/font/scss/functions";
@import "iconfont/path";
@import "iconfont/core";
@import "iconfont/icons";
Expand Down

0 comments on commit bcc4eb5

Please sign in to comment.