diff options
| author | Shpuld Shpludson <shp@cock.li> | 2018-04-09 20:29:06 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2018-04-09 20:29:06 +0000 |
| commit | 716e37d95cd463ede4a5fbe91e7170515719a0fe (patch) | |
| tree | eb64b6f74aef25045b72d820bb11a949212c6b04 /src/components/user_card_content/user_card_content.js | |
| parent | e409ca56e586217786f46cd1fdda8c4090f38aa3 (diff) | |
| parent | bf2d4516d59884c657feed4ebe16bf3f1357bda1 (diff) | |
Merge branch 'cssOverhaul' into 'develop'
Transition to CSS-variables for themes and stuff.
See merge request pleroma/pleroma-fe!217
Diffstat (limited to 'src/components/user_card_content/user_card_content.js')
| -rw-r--r-- | src/components/user_card_content/user_card_content.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/components/user_card_content/user_card_content.js b/src/components/user_card_content/user_card_content.js index 8c9ccda1..2e448f1c 100644 --- a/src/components/user_card_content/user_card_content.js +++ b/src/components/user_card_content/user_card_content.js @@ -5,7 +5,7 @@ export default { props: [ 'user', 'switcher' ], computed: { headingStyle () { - const color = this.$store.state.config.colors['base00'] + const color = this.$store.state.config.colors.bg if (color) { const rgb = hex2rgb(color) console.log(rgb) @@ -15,11 +15,6 @@ export default { } } }, - bodyStyle () { - return { - background: `linear-gradient(to bottom, rgba(0, 0, 0, 0), ${this.$store.state.config.colors['base00']} 80%)` - } - }, isOtherUser () { return this.user.id !== this.$store.state.users.currentUser.id }, |
