refs #98 Set color from theme color in lists

This commit is contained in:
AkiraFukushima 2018-04-13 22:58:54 +09:00
parent e7d008be36
commit 39136f8dc6
1 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@
<div class="list-timeline" v-for="message in timeline" v-bind:key="message.id">
<toot :message="message" v-on:update="updateToot"></toot>
</div>
<div class="loading-card" v-loading="lazyLoading"></div>
<div class="loading-card" v-loading="lazyLoading" :element-loading-background="backgroundColor"></div>
</div>
</template>
@ -18,7 +18,8 @@ export default {
computed: {
...mapState({
timeline: state => state.TimelineSpace.Contents.Lists.timeline,
lazyLoading: state => state.TimelineSpace.Contents.Lists.lazyLoading
lazyLoading: state => state.TimelineSpace.Contents.Lists.lazyLoading,
backgroundColor: state => state.App.theme.background_color
})
},
created () {