|
5 | 5 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
6 | 6 | xmlns:local="clr-namespace:UnityLauncherPro" |
7 | 7 | mc:Ignorable="d" |
8 | | - Title="UnityLauncherPro" Height="600" Width="500" WindowStartupLocation="CenterScreen" Background="#FF121212" MinWidth="500" MinHeight="300" WindowStyle="None" ResizeMode="CanResizeWithGrip" AllowsTransparency="True"> |
| 8 | + Title="UnityLauncherPro" Height="600" Width="500" WindowStartupLocation="CenterScreen" Background="{DynamicResource DarkestBackground}" MinWidth="500" MinHeight="300" WindowStyle="None" ResizeMode="CanResizeWithGrip" AllowsTransparency="True"> |
9 | 9 |
|
10 | 10 | <Window.Resources> |
11 | | - |
12 | 11 | <!-- tabs --> |
13 | 12 | <Style x:Key="TabItemStyle1" TargetType="{x:Type TabItem}"> |
14 | 13 | <Setter Property="Template"> |
|
255 | 254 |
|
256 | 255 | <!-- menubar --> |
257 | 256 | <Grid Grid.Row="0" UseLayoutRounding="False"> |
258 | | - <Rectangle Fill="#FF0C0C0C" MouseDown="OnRectangleMouseDown" /> |
| 257 | + <Rectangle Fill="{DynamicResource DarkMenuBar}" MouseDown="OnRectangleMouseDown" /> |
259 | 258 | <Image Source="Images/icon.png" RenderOptions.BitmapScalingMode="NearestNeighbor" HorizontalAlignment="Left" Width="16" Height="16" Margin="4,0,0,0" SnapsToDevicePixels="True" UseLayoutRounding="True" /> |
260 | 259 | <Label Content="UnityLauncherPro" IsHitTestVisible="False" Margin="19,0,0,-5" Foreground="#FFB8B8B8" FontSize="12" HorizontalAlignment="Left" /> |
261 | 260 | <!-- minimize --> |
|
269 | 268 | </Grid> |
270 | 269 |
|
271 | 270 | <!-- main content : Tabs --> |
272 | | - <TabControl Grid.Row="1" x:Name="tabControl" Background="#FF262626" BorderBrush="{x:Null}" Padding="0" Margin="0"> |
| 271 | + <TabControl Grid.Row="1" x:Name="tabControl" Background="{DynamicResource MainBackgroundColor}" BorderBrush="{x:Null}" Padding="0" Margin="0"> |
273 | 272 | <!-- Tab: Projects--> |
274 | 273 | <TabItem Header="Projects" Style="{DynamicResource TabItemStyle1}" Padding="0,0,0,0" Margin="-1,1,1,-1" BorderBrush="{x:Null}" Background="Black"> |
275 | 274 | <Grid> |
276 | 275 | <!-- search box --> |
277 | | - <Grid Background="#FF333337" HorizontalAlignment="Left" VerticalAlignment="Top" Width="222" Margin="6,5,0,0" Height="20" > |
| 276 | + <Grid Background="{DynamicResource TextBoxBackground}" HorizontalAlignment="Left" VerticalAlignment="Top" Width="222" Margin="6,5,0,0" Height="20" > |
278 | 277 | <TextBlock Margin="3,2" MinWidth="100" Text="Search" Foreground="#7F919191" Visibility="{Binding ElementName=txtSearchBox, Path=Text.IsEmpty, Converter={StaticResource MyBoolToVisibilityConverter}}" Height="24" /> |
279 | 278 | <TextBox MinWidth="100" CaretBrush="#FFE2E2E2" Name="txtSearchBox" Background="Transparent" BorderBrush="{x:Null}" Foreground="#FFC7C7C7" SelectionBrush="#FF003966" BorderThickness="0" Margin="2,2,0,0" UndoLimit="64" /> |
280 | 279 | <Button Name="btnClearSearch" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" BorderThickness="0" HorizontalAlignment="Right" VerticalAlignment="Top" Height="23" Width="23" Background="Transparent" Padding="0,2" Visibility="Visible" BorderBrush="{x:Null}"> |
|
370 | 369 | <Grid.RowDefinitions> |
371 | 370 | <RowDefinition Height="32" /> |
372 | 371 | </Grid.RowDefinitions> |
373 | | - <Button Grid.Column="0" Style="{StaticResource CustomButton}" x:Name="btnUpgradeProject" Background="#FF3F3F46" Foreground="#FFC1C1C1" Margin="5,0,0,0" BorderBrush="{x:Null}"> |
| 372 | + <Button Grid.Column="0" Style="{StaticResource CustomButton}" x:Name="btnUpgradeProject" Background="{DynamicResource ButtonBackground}" Foreground="#FFC1C1C1" Margin="5,0,0,0" BorderBrush="{x:Null}"> |
374 | 373 | <Label Foreground="#FFC1C1C1">_Upgrade</Label> |
375 | 374 | </Button> |
376 | | - <Button Grid.Column="1" Style="{StaticResource CustomButton}" x:Name="btnLaunchUnity" Background="#FF3F3F46" Foreground="#FFC1C1C1" Margin="8,0,0,0" BorderBrush="{x:Null}" > |
| 375 | + <Button Grid.Column="1" Style="{StaticResource CustomButton}" x:Name="btnLaunchUnity" Background="{DynamicResource ButtonBackground}" Foreground="#FFC1C1C1" Margin="8,0,0,0" BorderBrush="{x:Null}" > |
377 | 376 | <Label Foreground="#FFC1C1C1">_Run Unity</Label> |
378 | 377 | </Button> |
379 | 378 |
|
380 | | - <Button Grid.Column="2" Style="{StaticResource CustomButton}" x:Name="btnLaunchProject" Background="#FF3F3F46" Foreground="#FFC1C1C1" Margin="8,0,0,0" BorderBrush="{x:Null}" > |
| 379 | + <Button Grid.Column="2" Style="{StaticResource CustomButton}" x:Name="btnLaunchProject" Background="{DynamicResource ButtonBackground}" Foreground="#FFC1C1C1" Margin="8,0,0,0" BorderBrush="{x:Null}" > |
381 | 380 | <Label Foreground="#FFC1C1C1">_Open Project</Label> |
382 | 381 | </Button> |
383 | 382 |
|
384 | | - <Button Grid.Column="3" Style="{StaticResource CustomButton}" x:Name="btnExplore" Background="#FF3F3F46" Foreground="#FFC1C1C1" Margin="8,0,0,0" BorderBrush="{x:Null}" > |
| 383 | + <Button Grid.Column="3" Style="{StaticResource CustomButton}" x:Name="btnExplore" Background="{DynamicResource ButtonBackground}" Foreground="#FFC1C1C1" Margin="8,0,0,0" BorderBrush="{x:Null}" > |
385 | 384 | <Label Foreground="#FFC1C1C1">_Explore</Label> |
386 | 385 | </Button> |
387 | 386 |
|
|
0 commit comments