Custom health bar colors. Also works for setting mid and low health colors

This commit is contained in:
Stefan Zermatten
2022-04-08 17:58:45 +02:00
parent b876c2801d
commit cb80f3a6da
7 changed files with 207 additions and 93 deletions

View File

@@ -13,7 +13,10 @@
v-on="on"
>
{{ label }}
<v-icon :right="!!label">
<v-icon
:right="!!label"
:color="!!label && value"
>
mdi-format-paint
</v-icon>
</v-btn>