mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-30 21:14:12 +00:00 
			
		
		
		
	🎨
This commit is contained in:
		
							parent
							
								
									d8933c135f
								
							
						
					
					
						commit
						8add4f359b
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		|  | @ -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…
	
	Add table
		
		Reference in a new issue