mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-28 06:48:12 +09:00
🎨
This commit is contained in:
parent
53392c05f7
commit
796886c534
@ -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'})`
|
||||
};
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user