🎨
This commit is contained in:
parent
d8933c135f
commit
8add4f359b
@ -29,9 +29,10 @@ export default defineComponent({
|
|||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
bg(): any {
|
bg(): any {
|
||||||
return this.info.themeColor ? {
|
const themeColor = this.info.themeColor || '#777777';
|
||||||
background: `linear-gradient(90deg, ${this.info.themeColor}, ${this.info.themeColor + '00'})`
|
return {
|
||||||
} : null;
|
background: `linear-gradient(90deg, ${themeColor}, ${themeColor + '00'})`
|
||||||
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user