forked from AkkomaGang/akkoma-fe
fix coldboot
This commit is contained in:
parent
b7fb720c19
commit
aa93664fd6
1 changed files with 2 additions and 3 deletions
|
@ -5,9 +5,8 @@ export default {
|
|||
props: [ 'user', 'switcher', 'selected', 'hideBio' ],
|
||||
computed: {
|
||||
headingStyle () {
|
||||
const color = this.$store.state.config.customTheme.colors.bg
|
||||
if (color) {
|
||||
const rgb = hex2rgb(color)
|
||||
const rgb = this.$store.state.config.customTheme.colors.bg
|
||||
if (rgb) {
|
||||
const tintColor = `rgba(${Math.floor(rgb.r)}, ${Math.floor(rgb.g)}, ${Math.floor(rgb.b)}, .5)`
|
||||
return {
|
||||
backgroundColor: `rgb(${Math.floor(rgb.r * 0.53)}, ${Math.floor(rgb.g * 0.56)}, ${Math.floor(rgb.b * 0.59)})`,
|
||||
|
|
Loading…
Reference in a new issue