Made icon search compatible with dark mode

This commit is contained in:
Stefan Zermatten
2019-02-15 12:48:24 +02:00
parent f773a20a59
commit 38da95256b

View File

@@ -15,7 +15,7 @@
slot-scope="{ item, tile }"
>
<v-list-tile-avatar>
<svg class="avatar" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#000" :d="item.shape"/></svg>
<svg class="avatar" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path :d="item.shape"/></svg>
</v-list-tile-avatar>
<v-list-tile-content>
<v-list-tile-title v-text="item.name"></v-list-tile-title>
@@ -73,4 +73,7 @@ export default {
width: 100%;
height: 100%;
}
.theme--dark .avatar {
fill: white;
}
</style>