Skip to content

Commit 0070791

Browse files
committed
Replace all the Vuetify components to Wave UI ones.
1 parent 4cf6a22 commit 0070791

File tree

6 files changed

+168
-168
lines changed

6 files changed

+168
-168
lines changed

src/app.vue

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
<template lang="pug">
2-
v-app(:class="{ ready: ready }" v-scroll="onScroll")
3-
v-container.px-0(fluid)
4-
top-bar(:offset-top="offsetTop")
5-
router-view
2+
w-app(:class="{ ready }" v-scroll="onScroll")
3+
top-bar(:offset-top="offsetTop")
4+
router-view
65

7-
v-fab-transition
8-
v-btn(color="primary" fixed bottom right fab v-show="!goTopHidden" small v-scroll-to="'#top'")
9-
//- Width to prevent ugly first load animation when icon is not yet ready.
10-
v-icon(color="white" size="26" style="width: 24px") keyboard_arrow_up
6+
w-transition-twist
7+
w-button(color="primary" fixed bottom right fab v-show="!goTopHidden" small v-scroll-to="'#top'")
8+
//- Width to prevent ugly first load animation when icon is not yet ready.
9+
w-icon(color="white" size="26" style="width: 24px") md keyboard_arrow_up
1110

12-
v-footer.px-0.py-2(color="white")
13-
v-layout.max-widthed(wrap justify-center)
14-
v-flex.xs12.sm6.text-center.text-sm-left.copyright.
15-
Copyright © {{ (new Date()).getFullYear() }} Antoni André, all rights reserved.
16-
v-flex.xs12.sm6.text-center.text-sm-right.made-with
17-
.mb-1 This documentation is made with #[v-icon fab fa-vuejs], #[v-icon fab fa-html5], #[v-icon fab fa-css3], #[v-icon fab fa-sass] &amp; #[v-icon.heart favorite]
18-
| View this project on #[a(href="https://github.com/antoniandre/vueper-slides" target="_blank") #[v-icon fab fa-github] Github].
11+
footer.px-0.py-2(color="white")
12+
w-flex.max-widthed(wrap justify-center)
13+
.xs12.sm6.text-center.text-sm-left.copyright.
14+
Copyright © {{ (new Date()).getFullYear() }} Antoni André, all rights reserved.
15+
.xs12.sm6.text-center.text-sm-right.made-with
16+
.mb-1 This documentation is made with #[w-icon fab fa-vuejs], #[w-icon fab fa-html5], #[w-icon fab fa-css3], #[w-icon fab fa-sass] &amp; #[w-icon.heart md favorite]
17+
| View this project on #[a(href="https://github.com/antoniandre/vueper-slides" target="_blank") #[w-icon fab fa-github] Github].
1918
</template>
2019

2120
<script>
@@ -55,7 +54,7 @@ $main-text: #888;
5554
height: 650px;
5655
}
5756
58-
.v-card {box-shadow: none;}
57+
.w-card {box-shadow: none;}
5958
6059
// FOOTER
6160
//=================================================//

src/components/highlight-message/index.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template lang="pug">
22
component(:class="`highlight highlight--${type}`" :is="tag")
3-
v-icon(v-if="!noIcon") {{ icon }}
3+
w-icon(v-if="!noIcon") {{ icon }}
44
slot
55
</template>
66

@@ -58,7 +58,7 @@ export default {
5858
border-color: #f33 !important;
5959
}
6060
61-
> .v-icon {
61+
> .w-icon {
6262
position: absolute;
6363
left: -10px;
6464
color: #fff !important;
@@ -70,10 +70,10 @@ export default {
7070
top: 0.5em;
7171
}
7272
73-
&--info > .v-icon {background: #09f !important;transform: rotate(180deg);}
74-
&--success > .v-icon {background-color: #6c0 !important;}
75-
&--error > .v-icon {background-color: #f33 !important;}
76-
&--tips > .v-icon {background-color: #fd0 !important;transform: rotate(180deg);font-size: 14px;}
77-
&--warning > .v-icon {background-color: #fa0 !important;}
73+
&--info > .w-icon {background: #09f !important;transform: rotate(180deg);}
74+
&--success > .w-icon {background-color: #6c0 !important;}
75+
&--error > .w-icon {background-color: #f33 !important;}
76+
&--tips > .w-icon {background-color: #fd0 !important;transform: rotate(180deg);font-size: 14px;}
77+
&--warning > .w-icon {background-color: #fa0 !important;}
7878
}
7979
</style>

src/documentation/_typography.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ body {
44
}
55

66
.application.theme--light,
7-
.application .theme--light.v-card, .theme--light .v-card {
7+
.application .theme--light.w-card, .theme--light .w-card {
88
color: inherit;
99
}
1010

@@ -65,4 +65,4 @@ a {
6565
p b {
6666
color: $darker-text;
6767
font-weight: 500;
68-
}
68+
}

src/documentation/examples.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@
126126

127127
.ex--arrows-and-bullets-4 {
128128
.vueperslides__bullets button {
129-
.v-icon {position: relative;}
130-
& .v-icon:before {
129+
.w-icon {position: relative;}
130+
& .w-icon:before {
131131
position: absolute;
132132
content: '';
133133
top: 0;
@@ -137,7 +137,7 @@
137137
transition: 0.3s;
138138
border-radius: 100%;
139139
}
140-
&:focus .v-icon:before {
140+
&:focus .w-icon:before {
141141
opacity: 0.4;
142142
box-shadow: 0 0 0 4px currentColor;
143143
}

0 commit comments

Comments
 (0)