fix: UndoButton color when dark mode

This commit is contained in:
puriphatt 2025-01-06 10:57:41 +07:00
parent 4d0371903b
commit 71986121bc

View file

@ -18,7 +18,7 @@ defineProps<{
@click="(e) => $emit('click', e)"
v-bind="{ ...$props, ...$attrs }"
icon="mdi-arrow-left"
color="var(--gray-8-hsl)"
:color="`var(--gray-${$q.dark.isActive ? '6' : '8'}-hsl)`"
:title="iconOnly ? $t('general.undo') : undefined"
>
{{ $t('general.undo') }}