Skip to content

Commit ddb7b7f

Browse files
committed
Update Wave UI.
1 parent 77dd900 commit ddb7b7f

File tree

4 files changed

+22
-18
lines changed

4 files changed

+22
-18
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"vite": "^3.2.11",
5959
"vue": "^3.5.13",
6060
"vue-router": "^4.5.0",
61-
"wave-ui": "^2.48.0"
61+
"wave-ui": "^3.18.0"
6262
},
6363
"peerDependencies": {
6464
"vue": "^2.6.14 || ^3.2.0"

pnpm-lock.yaml

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

src/app.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template lang="pug">
2-
w-app(:class="{ ready }" v-scroll="onScroll")
2+
div(:class="{ ready }" v-scroll="onScroll")
33
top-bar(:offset-top="offsetTop")
44
router-view
55

src/main.js

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,22 @@ import router from '@/router/index'
88
import '@fortawesome/fontawesome-free/css/fontawesome.css'
99
import '@fortawesome/fontawesome-free/css/brands.css'
1010

11-
const app = createApp(App).use(router)
11+
const app = createApp(App)
1212

13-
// eslint-disable-next-line no-new
14-
new WaveUI(app, {
13+
app.use(router)
14+
app.use(WaveUI, {
1515
iconsLigature: 'material-icons',
1616
colors: {
17-
primary: '#ff5252',
18-
secondary: '#42b983',
19-
maintext: '#999',
20-
darktext: '#444',
21-
lightertext: '#ccc',
22-
lightgrey: '#eee'
23-
}
17+
light: {
18+
primary: '#ff5252',
19+
secondary: '#42b983',
20+
maintext: '#999',
21+
darktext: '#444',
22+
lightertext: '#ccc',
23+
lightgrey: '#eee'
24+
}
25+
},
26+
theme: 'light'
2427
})
2528

2629
app.mount('#app')

0 commit comments

Comments
 (0)