bundling v2 themes works

This commit is contained in:
Henry Jameson 2018-11-22 04:37:49 +03:00
parent 324aadb7c1
commit 631b8433c0
3 changed files with 232 additions and 4 deletions

View file

@ -8,10 +8,10 @@
<option v-for="style in availableStyles"
:value="style"
:style="{
backgroundColor: style[1],
color: style[3]
backgroundColor: style[1] || style.theme.colors.bg,
color: style[3] || style.theme.colors.text
}">
{{style[0]}}
{{style[0] || style.name}}
</option>
</select>
<i class="icon-down-open"/>