Adding plain white circle behind symbols to account for dark mode
Signed-off-by: Ivan Boothe <ivan@rootwork.org>
This commit is contained in:
		
							parent
							
								
									805032d6dd
								
							
						
					
					
						commit
						d3ddadd81c
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		
							
								
								
									
										5
									
								
								main.py
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								main.py
									
										
									
									
									
								
							| 
						 | 
					@ -19,8 +19,9 @@ if sys.version_info[0] >= 3:
 | 
				
			||||||
FILE_PATH = os.path.dirname(sys.argv[0])
 | 
					FILE_PATH = os.path.dirname(sys.argv[0])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ICON_TEMPLATE = """
 | 
					ICON_TEMPLATE = """
 | 
				
			||||||
<svg  width="100" height="100">
 | 
					<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg">
 | 
				
			||||||
    <text x="50" y="50" dy=".35em" text-anchor="middle" font-family="{font}" font-size="80">{symbol}</text>
 | 
					  <circle cx="50" cy="50" r="50" fill="white" />
 | 
				
			||||||
 | 
					  <text x="50" y="50" dy=".35em" text-anchor="middle" font-family="{font}" font-size="60">{symbol}</text>
 | 
				
			||||||
</svg>
 | 
					</svg>
 | 
				
			||||||
"""
 | 
					"""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue