aboutsummaryrefslogtreecommitdiff
path: root/src/components/style_switcher/style_switcher.vue
diff options
context:
space:
mode:
authorHenry <spam@hjkos.com>2018-08-12 12:05:08 +0000
committerHenry <spam@hjkos.com>2018-08-12 12:05:08 +0000
commit27adde9887d7205703ed461560f3272f6709b83b (patch)
treeb04030b899850b503097c2df1e7fde2a13043a7f /src/components/style_switcher/style_switcher.vue
parent3d72c2b964e460762b7ccecc10ddb119fbe80ace (diff)
parentdb6ff4824afa7adca1f3b633278e9ed033d8671d (diff)
Merge branch 'develop' into 'feature/accountHighlight'
# Conflicts: # src/components/user_card_content/user_card_content.vue
Diffstat (limited to 'src/components/style_switcher/style_switcher.vue')
-rw-r--r--src/components/style_switcher/style_switcher.vue5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/style_switcher/style_switcher.vue b/src/components/style_switcher/style_switcher.vue
index 7acba1dc..112bbc1e 100644
--- a/src/components/style_switcher/style_switcher.vue
+++ b/src/components/style_switcher/style_switcher.vue
@@ -3,7 +3,10 @@
<div>{{$t('settings.presets')}}
<label for="style-switcher" class='select'>
<select id="style-switcher" v-model="selected" class="style-switcher">
- <option v-for="style in availableStyles" :value="style">{{style[0]}}</option>
+ <option v-for="style in availableStyles" :value="style" :style="{
+ backgroundColor: style[1],
+ color: style[3]
+ }">{{style[0]}}</option>
</select>
<i class="icon-down-open"/>
</label>