mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-05-11 13:17:29 +08:00
Revert "feat: apply sugar theme for toasts"
This reverts commit f961fc211c.
This commit is contained in:
13
open-isle-cli/package-lock.json
generated
13
open-isle-cli/package-lock.json
generated
@@ -17,7 +17,6 @@
|
|||||||
"vue-easy-lightbox": "^1.19.0",
|
"vue-easy-lightbox": "^1.19.0",
|
||||||
"vue-echarts": "^7.0.3",
|
"vue-echarts": "^7.0.3",
|
||||||
"vue-router": "^4.5.1",
|
"vue-router": "^4.5.1",
|
||||||
"vue-toast-notification": "^3.1.3",
|
|
||||||
"vue-toastification": "^2.0.0-rc.5"
|
"vue-toastification": "^2.0.0-rc.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -11603,18 +11602,6 @@
|
|||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/vue-toast-notification": {
|
|
||||||
"version": "3.1.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/vue-toast-notification/-/vue-toast-notification-3.1.3.tgz",
|
|
||||||
"integrity": "sha512-XNyWqwLIGBFfX5G9sK+clq3N3IPlhDjzNdbZaXkEElcotPlWs0wWZailk1vqhdtLYT/93Y4FHAVuzyatLmPZRA==",
|
|
||||||
"license": "MIT",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=12.15.0"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"vue": "^3.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/vue-toastification": {
|
"node_modules/vue-toastification": {
|
||||||
"version": "2.0.0-rc.5",
|
"version": "2.0.0-rc.5",
|
||||||
"resolved": "https://registry.npmjs.org/vue-toastification/-/vue-toastification-2.0.0-rc.5.tgz",
|
"resolved": "https://registry.npmjs.org/vue-toastification/-/vue-toastification-2.0.0-rc.5.tgz",
|
||||||
|
|||||||
@@ -17,8 +17,7 @@
|
|||||||
"vue-toastification": "^2.0.0-rc.5",
|
"vue-toastification": "^2.0.0-rc.5",
|
||||||
"vue-easy-lightbox": "^1.19.0",
|
"vue-easy-lightbox": "^1.19.0",
|
||||||
"echarts": "^5.6.0",
|
"echarts": "^5.6.0",
|
||||||
"vue-echarts": "^7.0.3",
|
"vue-echarts": "^7.0.3"
|
||||||
"vue-toast-notification": "^3.1.3"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.12.16",
|
"@babel/core": "^7.12.16",
|
||||||
|
|||||||
@@ -4,9 +4,6 @@ import router from './router'
|
|||||||
import './assets/global.css'
|
import './assets/global.css'
|
||||||
import Toast, { POSITION } from 'vue-toastification'
|
import Toast, { POSITION } from 'vue-toastification'
|
||||||
import 'vue-toastification/dist/index.css'
|
import 'vue-toastification/dist/index.css'
|
||||||
// Use Sugar theme from vue-toast-notification for better toast styling.
|
|
||||||
// If you prefer Bootstrap style, replace with theme-bootstrap.css instead.
|
|
||||||
import 'vue-toast-notification/dist/theme-sugar.css'
|
|
||||||
import { useToast } from 'vue-toastification'
|
import { useToast } from 'vue-toastification'
|
||||||
import { checkToken, clearToken } from './utils/auth'
|
import { checkToken, clearToken } from './utils/auth'
|
||||||
import { initTheme } from './utils/theme'
|
import { initTheme } from './utils/theme'
|
||||||
|
|||||||
Reference in New Issue
Block a user