mirror of
				https://github.com/chev2/botw-toolset.git
				synced 2025-10-30 08:12:17 +00:00 
			
		
		
		
	Simplify App.xaml style setters
This commit is contained in:
		
							parent
							
								
									08769b41e5
								
							
						
					
					
						commit
						eacd7821f0
					
				
					 1 changed files with 28 additions and 27 deletions
				
			
		
							
								
								
									
										43
									
								
								App.xaml
									
										
									
									
									
								
							
							
						
						
									
										43
									
								
								App.xaml
									
										
									
									
									
								
							|  | @ -17,12 +17,12 @@ | ||||||
|         <SolidColorBrush x:Key="BorderGray" Color="#506071"/> |         <SolidColorBrush x:Key="BorderGray" Color="#506071"/> | ||||||
| 
 | 
 | ||||||
|         <Style TargetType="{x:Type Label}"> |         <Style TargetType="{x:Type Label}"> | ||||||
|             <Setter Property="Foreground" Value="White"></Setter> |             <Setter Property="Foreground" Value="White"/> | ||||||
|         </Style> |         </Style> | ||||||
|         <Style TargetType="{x:Type Button}"> |         <Style TargetType="{x:Type Button}"> | ||||||
|             <Setter Property="Background" Value="{StaticResource ButtonBG}"></Setter> |             <Setter Property="Background" Value="{StaticResource ButtonBG}"/> | ||||||
|             <Setter Property="Foreground" Value="White"></Setter> <!-- Text color --> |             <Setter Property="Foreground" Value="White"/> <!-- Text color --> | ||||||
|             <Setter Property="BorderBrush" Value="White"></Setter> |             <Setter Property="BorderBrush" Value="White"/> | ||||||
| 
 | 
 | ||||||
|             <Setter Property="Template"> |             <Setter Property="Template"> | ||||||
|                 <Setter.Value> |                 <Setter.Value> | ||||||
|  | @ -54,14 +54,14 @@ | ||||||
|             </Setter> |             </Setter> | ||||||
|         </Style> |         </Style> | ||||||
|         <Style TargetType="{x:Type TabControl}"> |         <Style TargetType="{x:Type TabControl}"> | ||||||
|             <Setter Property="Background" Value="{StaticResource BGTone1}"></Setter> |             <Setter Property="Background" Value="{StaticResource BGTone1}"/> | ||||||
|             <Setter Property="Foreground" Value="White"></Setter> |             <Setter Property="Foreground" Value="White"/> | ||||||
|             <Setter Property="BorderBrush" Value="Transparent"></Setter> |             <Setter Property="BorderBrush" Value="Transparent"/> | ||||||
|         </Style> |         </Style> | ||||||
|         <Style TargetType="{x:Type TabItem}"> |         <Style TargetType="{x:Type TabItem}"> | ||||||
|             <Setter Property="Background" Value="{StaticResource BGTone2}"></Setter> |             <Setter Property="Background" Value="{StaticResource BGTone2}"/> | ||||||
|             <Setter Property="Foreground" Value="White"></Setter> |             <Setter Property="Foreground" Value="White"/> | ||||||
|             <Setter Property="BorderBrush" Value="Transparent"></Setter> |             <Setter Property="BorderBrush" Value="Transparent"/> | ||||||
| 
 | 
 | ||||||
|             <Setter Property="Template"> |             <Setter Property="Template"> | ||||||
|                 <Setter.Value> |                 <Setter.Value> | ||||||
|  | @ -99,30 +99,31 @@ | ||||||
|             </Setter> |             </Setter> | ||||||
|         </Style> |         </Style> | ||||||
|         <Style TargetType="{x:Type Menu}"> |         <Style TargetType="{x:Type Menu}"> | ||||||
|             <Setter Property="Background" Value="{StaticResource BGTone2}"></Setter> |             <Setter Property="Background" Value="{StaticResource BGTone2}"/> | ||||||
|             <Setter Property="Foreground" Value="White"></Setter> |             <Setter Property="Foreground" Value="White"/> | ||||||
|         </Style> |         </Style> | ||||||
|         <Style TargetType="{x:Type MenuItem}"> |         <Style TargetType="{x:Type MenuItem}"> | ||||||
|             <Setter Property="Foreground" Value="#FF212121"></Setter> |             <Setter Property="Foreground" Value="#FF212121"/> | ||||||
|  |             <Setter Property="BorderThickness" Value="0"/> | ||||||
|         </Style> |         </Style> | ||||||
|         <Style TargetType="{x:Type TextBox}"> |         <Style TargetType="{x:Type TextBox}"> | ||||||
|             <Setter Property="Background" Value="Transparent"></Setter> |             <Setter Property="Background" Value="Transparent"/> | ||||||
|             <Setter Property="Foreground" Value="White"></Setter> |             <Setter Property="Foreground" Value="White"/> | ||||||
|             <Setter Property="BorderBrush" Value="{StaticResource BorderGray}"></Setter> |             <Setter Property="BorderBrush" Value="{StaticResource BorderGray}"/> | ||||||
|         </Style> |         </Style> | ||||||
|         <Style TargetType="{x:Type Border}"> |         <Style TargetType="{x:Type Border}"> | ||||||
|             <Setter Property="BorderBrush" Value="{StaticResource BorderGray}"></Setter> |             <Setter Property="BorderBrush" Value="{StaticResource BorderGray}"/> | ||||||
|             <Setter Property="BorderThickness" Value="1"></Setter> |             <Setter Property="BorderThickness" Value="1"/> | ||||||
|         </Style> |         </Style> | ||||||
|         <Style TargetType="{x:Type Image}"> |         <Style TargetType="{x:Type Image}"> | ||||||
|             <!--Smooth edges on transparent images--> |             <!--Smooth edges on transparent images--> | ||||||
|             <Setter Property="RenderOptions.BitmapScalingMode" Value="HighQuality"></Setter> |             <Setter Property="RenderOptions.BitmapScalingMode" Value="HighQuality"/> | ||||||
|         </Style> |         </Style> | ||||||
|         <Style TargetType="{x:Type Expander}"> |         <Style TargetType="{x:Type Expander}"> | ||||||
|             <Setter Property="Foreground" Value="White"></Setter> |             <Setter Property="Foreground" Value="White"/> | ||||||
|         </Style> |         </Style> | ||||||
|         <Style TargetType="{x:Type CheckBox}"> |         <Style TargetType="{x:Type CheckBox}"> | ||||||
|             <Setter Property="Foreground" Value="White"></Setter> |             <Setter Property="Foreground" Value="White"/> | ||||||
|         </Style> |         </Style> | ||||||
|     </Application.Resources> |     </Application.Resources> | ||||||
| </Application> | </Application> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Chev
						Chev