some initial work for user highlight v2

This commit is contained in:
Henry Jameson 2018-11-14 21:53:51 +03:00
parent e7fe2dc9f9
commit 75f0c191dd
3 changed files with 13 additions and 4 deletions

View file

@ -5,7 +5,7 @@ export default {
props: [ 'user', 'switcher', 'selected', 'hideBio' ],
computed: {
headingStyle () {
const color = this.$store.state.config.colors.bg
const color = this.$store.state.config.customTheme.colors.bg
if (color) {
const rgb = hex2rgb(color)
const tintColor = `rgba(${Math.floor(rgb.r)}, ${Math.floor(rgb.g)}, ${Math.floor(rgb.b)}, .5)`