Add correct icons for dark/light mode switch.
This commit is contained in:
		
							parent
							
								
									383b100fc7
								
							
						
					
					
						commit
						458082c738
					
				
					 7 changed files with 6 additions and 3 deletions
				
			
		
							
								
								
									
										
											BIN
										
									
								
								Telegram/Resources/icons/menu/header_mode_day.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Telegram/Resources/icons/menu/header_mode_day.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 420 B  | 
							
								
								
									
										
											BIN
										
									
								
								Telegram/Resources/icons/menu/header_mode_day@2x.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Telegram/Resources/icons/menu/header_mode_day@2x.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 891 B  | 
							
								
								
									
										
											BIN
										
									
								
								Telegram/Resources/icons/menu/header_mode_day@3x.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Telegram/Resources/icons/menu/header_mode_day@3x.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 1.3 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								Telegram/Resources/icons/menu/header_mode_night.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Telegram/Resources/icons/menu/header_mode_night.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 636 B  | 
							
								
								
									
										
											BIN
										
									
								
								Telegram/Resources/icons/menu/header_mode_night@2x.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Telegram/Resources/icons/menu/header_mode_night@2x.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 1.3 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								Telegram/Resources/icons/menu/header_mode_night@3x.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Telegram/Resources/icons/menu/header_mode_night@3x.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 1.9 KiB  | 
| 
						 | 
				
			
			@ -1313,8 +1313,8 @@ backgroundSwitchToDark: IconButton(defaultIconButton) {
 | 
			
		|||
	width: 48px;
 | 
			
		||||
	height: 48px;
 | 
			
		||||
 | 
			
		||||
	icon: boxTitleCloseIcon;
 | 
			
		||||
	iconOver: boxTitleCloseIconOver;
 | 
			
		||||
	icon: icon {{ "menu/header_mode_night", boxTitleCloseFg }};
 | 
			
		||||
	iconOver: icon {{ "menu/header_mode_night", boxTitleCloseFgOver }};
 | 
			
		||||
 | 
			
		||||
	rippleAreaPosition: point(4px, 4px);
 | 
			
		||||
	rippleAreaSize: 40px;
 | 
			
		||||
| 
						 | 
				
			
			@ -1322,4 +1322,7 @@ backgroundSwitchToDark: IconButton(defaultIconButton) {
 | 
			
		|||
		color: windowBgOver;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
backgroundSwitchToLight: backgroundSwitchToDark;
 | 
			
		||||
backgroundSwitchToLight: IconButton(backgroundSwitchToDark) {
 | 
			
		||||
	icon: icon {{ "menu/header_mode_day", boxTitleCloseFg }};
 | 
			
		||||
	iconOver: icon {{ "menu/header_mode_day", boxTitleCloseFgOver }};
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue