diff options
| author | Henry Jameson <me@hjkos.com> | 2018-11-14 19:39:17 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-11-14 19:39:17 +0300 |
| commit | e7fe2dc9f9e52771c2ffe8d0ee1c4e8b2e38ab2f (patch) | |
| tree | a1068a131e503d8452098c8ca839187ed3c03012 /src/App.js | |
| parent | 1723f427f59bb6bf62bb35de93c7226aef2e8727 (diff) | |
collateral fixes, removed alpha control for alerts, added contrast text
generation for alerts, updated getTextColor to also have fallback to black/white
if resulting contrast isn't passable (only when inverting lightness!), updated
UI to use tabs.
Diffstat (limited to 'src/App.js')
| -rw-r--r-- | src/App.js | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 }, |
