From b051d764f8c12559527ffecc8d8a9c98681a6674 Mon Sep 17 00:00:00 2001 From: Stefan Zermatten Date: Tue, 13 Sep 2022 15:47:31 +0200 Subject: [PATCH] Slot cards have slot color as outline --- app/imports/ui/creature/slots/SlotCard.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/imports/ui/creature/slots/SlotCard.vue b/app/imports/ui/creature/slots/SlotCard.vue index 73c52813..44f6ab76 100644 --- a/app/imports/ui/creature/slots/SlotCard.vue +++ b/app/imports/ui/creature/slots/SlotCard.vue @@ -62,8 +62,10 @@ export default { hover: false, }}, computed: { - accentColor(){ - if (this.theme.isDark){ + accentColor() { + if (this.model.color) { + return this.model.color + } else if (this.theme.isDark){ return this.$vuetify.theme.themes.dark.primary; } else { return this.$vuetify.theme.themes.light.primary;