Skip to content

Commit

Permalink
docs(examples): adjust colors to match theme (#12226)
Browse files Browse the repository at this point in the history
* docs: removed hard coded color

The toolbar background in "CRUD Actions" section in "en\components\data-tables" is hard coded with

* docs: fixed broken images with `mdi-*` prefix

* docs: fixed broken icons

* docs: removed hard coded colors to work with dark theme
  • Loading branch information
sohamdev1 committed Sep 14, 2020
1 parent a611f94 commit a0866c8
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 15 deletions.
15 changes: 7 additions & 8 deletions packages/docs/src/examples/v-btn-toggle/misc-wysiwyg.vue
Expand Up @@ -18,19 +18,19 @@
v-model="formatting"
multiple
>
<v-btn color="white">
<v-btn>
<v-icon>mdi-format-italic</v-icon>
</v-btn>

<v-btn color="white">
<v-btn>
<v-icon>mdi-format-bold</v-icon>
</v-btn>

<v-btn color="white">
<v-btn>
<v-icon>mdi-format-underline</v-icon>
</v-btn>

<v-btn color="white">
<v-btn>
<v-row
align="center"
class="flex-column"
Expand All @@ -52,23 +52,22 @@
</v-btn-toggle>

<v-btn-toggle v-model="alignment">
<v-btn color="white">
<v-btn>
<v-icon>mdi-format-align-center</v-icon>
</v-btn>

<v-btn color="white">
<v-btn>
<v-icon>mdi-format-align-left</v-icon>
</v-btn>

<v-btn color="white">
<v-btn>
<v-icon>mdi-format-align-right</v-icon>
</v-btn>
</v-btn-toggle>
</v-row>

<v-sheet
class="pa-4 text-center"
color="grey lighten-3"
tile
>
<v-row
Expand Down
1 change: 0 additions & 1 deletion packages/docs/src/examples/v-calendar/event-click.vue
Expand Up @@ -4,7 +4,6 @@
<v-sheet height="64">
<v-toolbar
flat
color="white"
>
<v-btn
outlined
Expand Down
Expand Up @@ -4,7 +4,6 @@
<v-sheet height="64">
<v-toolbar
flat
color="white"
>
<v-btn
outlined
Expand Down
1 change: 0 additions & 1 deletion packages/docs/src/examples/v-calendar/usage.vue
Expand Up @@ -3,7 +3,6 @@
<v-sheet
tile
height="54"
color="grey lighten-3"
class="d-flex"
>
<v-btn
Expand Down
1 change: 1 addition & 0 deletions packages/docs/src/examples/v-menu/prop-offset-x.vue
Expand Up @@ -3,6 +3,7 @@
<v-switch
v-model="offset"
label="X offset"
color="primary"
></v-switch>
<v-menu
top
Expand Down
1 change: 1 addition & 0 deletions packages/docs/src/examples/v-menu/prop-offset-y.vue
Expand Up @@ -3,6 +3,7 @@
<v-switch
v-model="offset"
label="Y offset"
color="primary"
></v-switch>
<v-menu
top
Expand Down
Expand Up @@ -42,7 +42,6 @@
<v-expand-transition>
<v-sheet
v-if="model != null"
color="grey lighten-4"
height="200"
tile
>
Expand Down
2 changes: 2 additions & 0 deletions packages/docs/src/examples/v-switch/prop-model-as-array.vue
Expand Up @@ -3,11 +3,13 @@
<p>{{ people }}</p>
<v-switch
v-model="people"
color="primary"
label="John"
value="John"
></v-switch>
<v-switch
v-model="people"
color="primary"
label="Jacob"
value="Jacob"
></v-switch>
Expand Down
4 changes: 3 additions & 1 deletion packages/docs/src/examples/v-switch/prop-states.vue
Expand Up @@ -11,12 +11,13 @@
<v-row>
<v-col cols="6">
<v-switch
color="primary"
value
input-value="true"
></v-switch>
</v-col>
<v-col cols="6">
<v-switch></v-switch>
<v-switch color="primary"></v-switch>
</v-col>
</v-row>
<v-row class="dark--text">
Expand All @@ -30,6 +31,7 @@
<v-row>
<v-col cols="6">
<v-switch
color="primary"
value
input-value="true"
disabled
Expand Down
1 change: 0 additions & 1 deletion packages/docs/src/examples/v-tabs/prop-right.vue
@@ -1,7 +1,6 @@
<template>
<v-card>
<v-tabs
background-color="white"
color="deep-purple accent-4"
right
>
Expand Down
1 change: 0 additions & 1 deletion packages/docs/src/examples/v-timeline/misc-advanced.vue
Expand Up @@ -132,7 +132,6 @@
>
<v-btn
class="mx-0"
color="white"
>
Resend Email
</v-btn>
Expand Down

0 comments on commit a0866c8

Please sign in to comment.