Skip to content

Commit ca260a7

Browse files
authored
Merge pull request #468 from sronveaux/md-to-mdfont
Replace material-icons with @material-design-icons/font
2 parents f0f8426 + 45a24eb commit ca260a7

4 files changed

Lines changed: 16 additions & 13 deletions

File tree

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
},
2424
"dependencies": {
2525
"@fontsource/roboto": "^5.2.8",
26+
"@material-design-icons/font": "0.14.15",
2627
"@mdi/font": "7.4.47",
2728
"@vue/compat": "^3.5.22",
2829
"axios": "^1.12.2",
2930
"canvas-record": "^3.1.0",
30-
"material-icons": "1.13.14",
3131
"ol": "10.2.1",
3232
"proj4": "2.9.0",
3333
"tiny-emitter": "^2.1.0",

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import '@fontsource/roboto/500-italic.css';
1717
import '@fontsource/roboto/700-italic.css';
1818
import '@fontsource/roboto/900-italic.css';
1919
import '@mdi/font/css/materialdesignicons.css';
20-
import 'material-icons/iconfont/material-icons.css';
20+
import '@material-design-icons/font';
2121
import 'ol/ol.css';
2222
import WguApp from 'APP/WguApp.vue';
2323
import UrlUtil from './util/Url';

upgrade-notes.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,15 @@ Please update your app code and configuration files accordingly.
106106

107107
### Material Design Icons
108108

109-
The `MDI` and `material-icons` icon libraries were upgraded to the following versions:
109+
The `MDI` icon library was upgraded to its current latest version.
110+
Please refer to the [official changelog](https://pictogrammers.com/docs/library/mdi/releases/changelog/) for versions later than `7.2.96` and check if you are using `updated` icons. These have changed visually and may impact the appearance of your `Wegue` application.
110111

111-
- `@mdi/font` => 7.4.47
112-
- `material-icons` => 1.13.14
112+
The `material-icons` icon library was replaced by `@material-design-icons` which is a lighter version of the previously used one. The available icons set is exactly the same but only the `woff2` format is included.
113113

114-
Please refer to the [official changelog](https://pictogrammers.com/docs/library/mdi/releases/changelog/) for versions later than `7.2.96` and check if you are using `updated` icons. These have changed visually and may impact the appearance of your `Wegue` application.
114+
Current pinned versions are the following:
115+
116+
- `@mdi/font` => 7.4.47
117+
- `@material-design-icons/font` => 0.14.15
115118

116119
### ESLint
117120

0 commit comments

Comments
 (0)