This commit is contained in:
Henry Jameson 2020-01-12 04:16:04 +02:00
parent d342f32a94
commit 4418baf62a
1 changed files with 2 additions and 2 deletions

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 }}