Skip to content
Snippets Groups Projects
Commit 8add4f35 authored by syuilo's avatar syuilo
Browse files

🎨

parent d8933c13
No related branches found
No related tags found
No related merge requests found
......@@ -29,9 +29,10 @@ export default defineComponent({
computed: {
bg(): any {
return this.info.themeColor ? {
background: `linear-gradient(90deg, ${this.info.themeColor}, ${this.info.themeColor + '00'})`
} : null;
const themeColor = this.info.themeColor || '#777777';
return {
background: `linear-gradient(90deg, ${themeColor}, ${themeColor + '00'})`
};
}
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment