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"
:value="style"
:style="{
backgroundColor: style[1] || style.theme.colors.bg,
color: style[3] || style.theme.colors.text
backgroundColor: style[1] || (style.theme || style.source).colors.bg,
color: style[3] || (style.theme || style.source).colors.text
}"
>
{{ style[0] || style.name }}