aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authorHJ <spam@hjkos.com>2018-12-11 20:35:19 +0000
committerHJ <spam@hjkos.com>2018-12-11 20:35:19 +0000
commita8acba8cb2c639a3de3764df4226960458f996b8 (patch)
tree50c4d353576cc419eeea4f45c4497309222cf360 /src/App.js
parentfb5261b926adfb5b9bbe1bf55e36fe8b5f4eb57f (diff)
parent8fcc4c67667b0951d6c0d28cec320bd4b2f8f107 (diff)
Merge branch 'feature/theming2' into 'develop'
Themes v2 See merge request pleroma/pleroma-fe!377
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/App.js b/src/App.js
index 3bfd307f..89aed01d 100644
--- a/src/App.js
+++ b/src/App.js
@@ -59,7 +59,12 @@ export default {
})
},
logo () { return this.$store.state.instance.logo },
- style () { return { 'background-image': `url(${this.background})` } },
+ style () {
+ return {
+ '--body-background-image': `url(${this.background})`,
+ 'background-image': `url(${this.background})`
+ }
+ },
sitename () { return this.$store.state.instance.name },
chat () { return this.$store.state.chat.channel.state === 'joined' },
suggestionsEnabled () { return this.$store.state.instance.suggestionsEnabled },