mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 09:57:43 +03:00 
			
		
		
		
	Use different logos for light and dark mode
This commit is contained in:
		
							parent
							
								
									abd9eda499
								
							
						
					
					
						commit
						3ce484bd3d
					
				| 
						 | 
					@ -129,7 +129,10 @@ html_theme = "furo"
 | 
				
			||||||
# Theme options are theme-specific and customize the look and feel of a theme
 | 
					# Theme options are theme-specific and customize the look and feel of a theme
 | 
				
			||||||
# further.  For a list of options available for each theme, see the
 | 
					# further.  For a list of options available for each theme, see the
 | 
				
			||||||
# documentation.
 | 
					# documentation.
 | 
				
			||||||
# html_theme_options = {}
 | 
					html_theme_options = {
 | 
				
			||||||
 | 
					    "light_logo": "pillow-logo-dark-text.png",
 | 
				
			||||||
 | 
					    "dark_logo": "pillow-logo.png",
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Add any paths that contain custom themes here, relative to this directory.
 | 
					# Add any paths that contain custom themes here, relative to this directory.
 | 
				
			||||||
# html_theme_path = []
 | 
					# html_theme_path = []
 | 
				
			||||||
| 
						 | 
					@ -143,7 +146,7 @@ html_theme = "furo"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# The name of an image file (relative to this directory) to place at the top
 | 
					# The name of an image file (relative to this directory) to place at the top
 | 
				
			||||||
# of the sidebar.
 | 
					# of the sidebar.
 | 
				
			||||||
html_logo = "resources/pillow-logo.png"
 | 
					# html_logo = "resources/pillow-logo.png"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# The name of an image file (within the static path) to use as favicon of the
 | 
					# The name of an image file (within the static path) to use as favicon of the
 | 
				
			||||||
# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
 | 
					# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								docs/resources/pillow-logo-dark-text.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								docs/resources/pillow-logo-dark-text.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 16 KiB  | 
		Loading…
	
		Reference in New Issue
	
	Block a user