Skip to content

Commit 5586b2e

Browse files
committed
docs: avoid light grey to support dark theme in examples
fixes #21961
1 parent 1733666 commit 5586b2e

File tree

12 files changed

+23
-18
lines changed

12 files changed

+23
-18
lines changed

packages/docs/src/examples/grid/misc-unique-layouts.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<v-container class="bg-grey-lighten-5">
2+
<v-container class="bg-surface-variant">
33
<!-- Stack the columns on mobile by making one full-width and the other half-width -->
44
<v-row>
55
<v-col

packages/docs/src/examples/grid/misc-variable-content.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<v-container class="bg-grey-lighten-5">
2+
<v-container class="bg-surface-variant">
33
<v-row
44
class="mb-6"
55
justify="center"

packages/docs/src/examples/text-and-typography/typography.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<div>
33
<v-card v-for="[name, cls] in classes" :key="name" class="my-4">
44
<div :class="[cls, 'pa-2']">{{ name }}</div>
5-
<div class="text-caption pa-2 bg-grey-lighten-4">
6-
<div class="text-grey">Class</div>
5+
<div class="text-caption pa-2 border-t">
6+
<div class="opacity-70">Class</div>
77
<div class="font-weight-medium">{{ cls }}</div>
88
</div>
99
</v-card>

packages/docs/src/examples/v-btn-toggle/prop-divided.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<template>
2-
<div class="d-flex align-center flex-column bg-grey-lighten-4 pa-6">
2+
<div class="d-flex align-center flex-column pa-6">
33
<v-btn-toggle
44
v-model="toggle"
5+
border
56
divided
67
>
78
<v-btn icon="mdi-format-align-left"></v-btn>

packages/docs/src/examples/v-btn-toggle/prop-mandatory.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<template>
2-
<div class="d-flex flex-column align-center bg-grey-lighten-4 pa-6">
2+
<div class="d-flex flex-column align-center pa-6">
33
<v-btn-toggle
44
v-model="toggle"
55
color="primary"
6+
border
67
mandatory
78
>
89
<v-btn icon="mdi-format-align-left" value="left"></v-btn>

packages/docs/src/examples/v-btn-toggle/prop-multiple.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<template>
2-
<div class="d-flex flex-column align-center bg-grey-lighten-4 pa-6">
2+
<div class="d-flex flex-column align-center pa-6">
33
<v-btn-toggle
44
v-model="toggle"
5+
border
56
multiple
67
>
78
<v-btn icon="mdi-format-align-left" value="left"></v-btn>

packages/docs/src/examples/v-btn-toggle/prop-rounded.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<template>
2-
<div class="d-flex justify-space-around bg-grey-lighten-4 pa-6">
2+
<div class="d-flex justify-space-around pa-6">
33
<v-btn-toggle
44
rounded="0"
5+
border
56
>
67
<v-btn icon="mdi-format-align-left"></v-btn>
78
<v-btn icon="mdi-format-align-center"></v-btn>
@@ -11,6 +12,7 @@
1112

1213
<v-btn-toggle
1314
rounded="xl"
15+
border
1416
>
1517
<v-btn icon="mdi-format-align-left"></v-btn>
1618
<v-btn icon="mdi-format-align-center"></v-btn>

packages/docs/src/examples/v-btn-toggle/prop-variant.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="d-flex align-center flex-column bg-grey-lighten-4 pa-6">
2+
<div class="d-flex align-center flex-column pa-6">
33
<div class="text-subtitle-2">Default</div>
44
<v-btn-toggle
55
v-model="toggle"

packages/docs/src/examples/v-fab/misc-small.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@
107107
108108
const dialog = ref(false)
109109
const items = ref([
110-
{ icon: 'mdi-folder', iconClass: 'bg-grey-lighten-1 text-white', title: 'Photos', subtitle: 'Jan 9, 2014' },
111-
{ icon: 'mdi-folder', iconClass: 'bg-grey-lighten-1 text-white', title: 'Recipes', subtitle: 'Jan 17, 2014' },
112-
{ icon: 'mdi-folder', iconClass: 'bg-grey-lighten-1 text-white', title: 'Work', subtitle: 'Jan 28, 2014' },
110+
{ icon: 'mdi-folder', iconClass: 'bg-grey text-white', title: 'Photos', subtitle: 'Jan 9, 2014' },
111+
{ icon: 'mdi-folder', iconClass: 'bg-grey text-white', title: 'Recipes', subtitle: 'Jan 17, 2014' },
112+
{ icon: 'mdi-folder', iconClass: 'bg-grey text-white', title: 'Work', subtitle: 'Jan 28, 2014' },
113113
])
114114
const items2 = ref([
115115
{ icon: 'mdi-clipboard-text', iconClass: 'bg-blue text-white', title: 'Vacation itinerary', subtitle: 'Jan 20, 2014' },

packages/docs/src/examples/v-hotkey/prop-inline.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<div class="d-flex flex-column ga-4">
2424
<div>
2525
<h4 class="text-subtitle-1 mb-2">Standard Display (Block-level)</h4>
26-
<div class="pa-3 bg-grey-lighten-5 rounded">
26+
<div class="pa-3 border rounded">
2727
<p class="mb-2">
2828
Save your work with <v-hotkey :display-mode="displayMode" :platform="platform" keys="cmd+s"></v-hotkey>
2929
or create a new file using <v-hotkey :display-mode="displayMode" :platform="platform" keys="cmd+n"></v-hotkey>.
@@ -37,7 +37,7 @@
3737

3838
<div>
3939
<h4 class="text-subtitle-1 mb-2">Inline Display (Text-integrated)</h4>
40-
<div class="pa-4 bg-grey-lighten-5 rounded" style="line-height: 1.7;">
40+
<div class="pa-4 border rounded" style="line-height: 1.7;">
4141
<h4 class="text-h6 mb-3">Getting Started with Code Editor</h4>
4242

4343
<p class="mb-3">

0 commit comments

Comments
 (0)