Fixed toolbar colors for vuetify 2

This commit is contained in:
Stefan Zermatten
2021-03-28 14:29:56 +02:00
parent 60ae1ef604
commit 838e2ed35f
9 changed files with 51 additions and 33 deletions

View File

@@ -44,6 +44,7 @@
</template>
<script lang="js">
import getThemeColor from '/imports/ui/utility/getThemeColor.js';
import isDarkColor from '/imports/ui/utility/isDarkColor.js';
export default {
@@ -66,7 +67,7 @@
return isDarkColor(this.computedColor);
},
computedColor(){
return this.color || this.$vuetify.theme.themes.light.secondary;
return this.color || getThemeColor('secondary');
}
},
methods: {