Skip to content

Commit bd781c2

Browse files
committed
migation across the framework
1 parent c0a7e8b commit bd781c2

File tree

48 files changed

+62
-64
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+62
-64
lines changed

packages/api-generator/src/locale/en/VCard.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"props": {
33
"flat": "Removes the card's elevation.",
4-
"hover": "Applies **4dp** of elevation when hovered (default 2dp). You can find more information on the [elevation page](/styles/elevation).",
4+
"hover": "Applies **3dp** (level 2) of elevation when hovered (default 1dp). You can find more information on the [elevation page](/styles/elevation).",
55
"image": "Apply a specific background image to the component.",
66
"prependIcon": "Prepends a [v-icon](/components/icons/) component to the header."
77
},

packages/docs/src/examples/v-app-bar/usage.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<template v-slot:configuration>
2929
<v-checkbox v-model="actions" label="Actions"></v-checkbox>
3030

31-
<v-slider v-model="elevation" label="Elevation" max="24" min="0" step="1"></v-slider>
31+
<v-slider v-model="elevation" label="Elevation" max="5" min="0" step="1"></v-slider>
3232
</template>
3333
</ExamplesUsageExample>
3434
</template>
@@ -37,13 +37,13 @@
3737
const name = 'v-app-bar'
3838
const model = ref('default')
3939
const actions = ref(false)
40-
const elevation = ref(2)
40+
const elevation = ref(1)
4141
const options = ['collapse', 'rounded']
4242
4343
const props = computed(() => {
4444
return {
4545
collapse: model.value === 'collapse' ? true : undefined,
46-
elevation: elevation.value === 4 ? undefined : elevation.value,
46+
elevation: elevation.value === 1 ? undefined : elevation.value,
4747
rounded: model.value === 'rounded' ? true : undefined,
4848
}
4949
})

packages/docs/src/examples/v-img/prop-cover.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="text-subtitle-2">Default</div>
55
<v-img
66
:aspect-ratio="1"
7-
class="bg-surface elevation-10"
7+
class="bg-surface elevation-3"
88
src="https://cdn.vuetifyjs.com/images/parallax/material.jpg"
99
width="300"
1010
></v-img>
@@ -14,7 +14,7 @@
1414
<div class="text-subtitle-2">Cover</div>
1515
<v-img
1616
:aspect-ratio="1"
17-
class="bg-surface elevation-10"
17+
class="bg-surface elevation-3"
1818
src="https://cdn.vuetifyjs.com/images/parallax/material.jpg"
1919
width="300"
2020
cover

packages/docs/src/examples/v-parallax/misc-welcome.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
<v-col cols="12" md="6">
88
<h1 class="text-h1 mb-8">John Doe</h1>
99
<h3 class="text-h3 mb-8 font-weight-thin">Web Developer</h3>
10-
<v-btn class="elevation-4 rounded-xl mb-4" color="primary">
10+
<v-btn class="elevation-2 rounded-xl mb-4" color="primary">
1111
Contact Me
1212
</v-btn>
1313
</v-col>
1414
<v-col class="text-center" cols="12" md="6">
15-
<v-avatar :size="300" class="elevation-12 mx-auto mb-8">
15+
<v-avatar :size="300" class="elevation-4 mx-auto mb-8">
1616
<v-img src="https://randomuser.me/api/portraits/men/78.jpg"></v-img>
1717
</v-avatar>
1818
</v-col>

packages/docs/src/examples/v-pie/prop-palette.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
v-for="(c, ci) in palette"
3333
:key="ci"
3434
:color="c.color || c"
35-
class="ma-2 elevation-2"
35+
class="ma-2 elevation-1"
3636
rounded="lg"
3737
size="24"
3838
>

packages/docs/src/examples/v-ripple/option-center.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div
3-
class="text-center elevation-2 pa-12 text-h5"
3+
class="text-center elevation-1 pa-12 text-h5"
44
v-ripple.center
55
>
66
HTML element with centered ripple

packages/docs/src/examples/v-ripple/usage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div
3-
class="text-center elevation-2 pa-12 text-h5"
3+
class="text-center elevation-1 pa-12 text-h5"
44
v-ripple
55
>
66
HTML element with v-ripple

packages/docs/src/examples/v-sheet/usage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<v-slider
4545
v-model="elevation"
4646
label="Elevation"
47-
max="24"
47+
max="5"
4848
min="0"
4949
></v-slider>
5050
</template>

packages/docs/src/examples/v-skeleton-loader/usage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<v-slider
3232
v-model="elevation"
3333
label="Elevation"
34-
max="24"
34+
max="5"
3535
min="0"
3636
></v-slider>
3737
</template>

packages/docs/src/examples/v-snackbar/prop-variants.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626

2727
<v-snackbar
2828
:timeout="2000"
29-
class="elevation-24"
29+
class="elevation-5"
3030
color="deep-purple-accent-4"
3131
>
3232
<template v-slot:activator="{ props }">
3333
<v-btn class="ma-2" color="deep-purple-accent-4" v-bind="props">open</v-btn>
3434
</template>
3535

36-
Snackbar with <strong>elevation="24"</strong>.
36+
Snackbar with <strong>elevation="5"</strong>.
3737
</v-snackbar>
3838

3939
<v-snackbar

0 commit comments

Comments
 (0)