This commit is contained in:
Henry Jameson 2020-01-12 04:16:04 +02:00
parent d342f32a94
commit 4418baf62a

View file

@ -27,8 +27,8 @@
:key="style.name" :key="style.name"
:value="style" :value="style"
:style="{ :style="{
backgroundColor: style[1] || style.theme.colors.bg, backgroundColor: style[1] || (style.theme || style.source).colors.bg,
color: style[3] || style.theme.colors.text color: style[3] || (style.theme || style.source).colors.text
}" }"
> >
{{ style[0] || style.name }} {{ style[0] || style.name }}