From eb7269458dcb3433d7a1ca30d324c17b7b22c928 Mon Sep 17 00:00:00 2001 From: Seth Ladygo Date: Mon, 1 Apr 2019 22:49:54 -0700 Subject: [PATCH] switch to local material design icons --- cateditor/package-lock.json | 6 ++++++ cateditor/package.json | 1 + cateditor/src/main.js | 1 + cateditor/src/plugins/vuetify.js | 2 +- templates/catalogedit/catalogedit.html | 1 - 5 files changed, 9 insertions(+), 2 deletions(-) diff --git a/cateditor/package-lock.json b/cateditor/package-lock.json index 79d76d9..9ee1384 100644 --- a/cateditor/package-lock.json +++ b/cateditor/package-lock.json @@ -8197,6 +8197,12 @@ "object-visit": "^1.0.0" } }, + "material-design-icons-iconfont": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/material-design-icons-iconfont/-/material-design-icons-iconfont-4.0.5.tgz", + "integrity": "sha512-ByJJ1yz8+RfCx2uNiC5WjVCR7K3UWRb8ytWV3RMaoFRzQLNr/J5x7+Wg1+3OlIZahNXrId9Hu+BfXfQIo01v7g==", + "dev": true + }, "md5.js": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", diff --git a/cateditor/package.json b/cateditor/package.json index eaba69e..975f18a 100644 --- a/cateditor/package.json +++ b/cateditor/package.json @@ -21,6 +21,7 @@ "eslint": "^5.8.0", "eslint-plugin-vue": "^5.0.0", "fibers": "^3.1.1", + "material-design-icons-iconfont": "^4.0.5", "sass": "^1.17.2", "sass-loader": "^7.1.0", "stylus": "^0.54.5", diff --git a/cateditor/src/main.js b/cateditor/src/main.js index f022544..77ea654 100644 --- a/cateditor/src/main.js +++ b/cateditor/src/main.js @@ -2,6 +2,7 @@ import Vue from 'vue' import './plugins/vuetify' import App from './App.vue' import store from './store' +import 'material-design-icons-iconfont/dist/material-design-icons.css' // Ensure you are using css-loader Vue.config.productionTip = false diff --git a/cateditor/src/plugins/vuetify.js b/cateditor/src/plugins/vuetify.js index bf490f2..8475fb7 100644 --- a/cateditor/src/plugins/vuetify.js +++ b/cateditor/src/plugins/vuetify.js @@ -15,5 +15,5 @@ Vue.use(Vuetify, { options: { customProperties: true }, - iconfont: 'mdi', + iconfont: 'md' }) diff --git a/templates/catalogedit/catalogedit.html b/templates/catalogedit/catalogedit.html index f4c94f9..d52edff 100644 --- a/templates/catalogedit/catalogedit.html +++ b/templates/catalogedit/catalogedit.html @@ -10,7 +10,6 @@ Django Vue Integration -