From 6c8fc99d5a602cb0a38dc0bdbe906e228a6a7cc7 Mon Sep 17 00:00:00 2001 From: shpuld Date: Thu, 9 Mar 2017 01:09:23 +0200 Subject: Make style setter create an often used base03-border class, use that class in notifications, navpanel and statuses. --- src/components/status/status.js | 7 ++++++- src/components/status/status.vue | 8 ++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) (limited to 'src/components/status') diff --git a/src/components/status/status.js b/src/components/status/status.js index bc9d6e6c..3e442656 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -32,7 +32,12 @@ const Status = { return !!this.$store.state.users.currentUser }, muted () { return !this.unmuted && this.status.user.muted }, - isReply () { return !!this.status.in_reply_to_status_id } + isReply () { return !!this.status.in_reply_to_status_id }, + borderColor () { + return { + borderBottomColor: this.$store.state.config.colors['base02'], + } + } }, components: { Attachment, diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 6476e1e5..9b0827a7 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -1,5 +1,5 @@