Skip to content
Snippets Groups Projects
Commit aa93664f authored by HJ's avatar HJ :fire:
Browse files

fix coldboot

parent b7fb720c
Branches
No related tags found
No related merge requests found
......@@ -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)})`,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment