aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Console
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2019-07-28 13:22:50 +0300
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2019-07-28 13:22:50 +0300
commit16cc209e80498a0b39c1ad57d4f36be906cbb313 (patch)
treeb16173749f6a1420f617a7e6eed872b073069420 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Console
parentefea9b7b9eb9874034ce3f726ac09b9cc173df0f (diff)
downloadTango-16cc209e80498a0b39c1ad57d4f36be906cbb313.tar.gz
Tango-16cc209e80498a0b39c1ad57d4f36be906cbb313.zip
Refactored machine studio for using colors static resources.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Console')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Console/ConsoleWindow.xaml31
1 files changed, 18 insertions, 13 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Console/ConsoleWindow.xaml b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Console/ConsoleWindow.xaml
index 22338fea7..0408319ea 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Console/ConsoleWindow.xaml
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Console/ConsoleWindow.xaml
@@ -98,7 +98,7 @@
<fa:ImageAwesome Icon="Play" Width="12" Margin="2">
<fa:ImageAwesome.Style>
<Style TargetType="fa:ImageAwesome">
- <Setter Property="Foreground" Value="#8DD28A"></Setter>
+ <Setter Property="Foreground" Value="{StaticResource GreenMenuDebugBrush}"></Setter>
<Style.Triggers>
<Trigger Property="IsEnabled" Value="False">
<Setter Property="Foreground" Value="Gray"></Setter>
@@ -114,7 +114,7 @@
<fa:ImageAwesome Icon="Stop" Width="12" Margin="2">
<fa:ImageAwesome.Style>
<Style TargetType="fa:ImageAwesome">
- <Setter Property="Foreground" Value="#F38B76"></Setter>
+ <Setter Property="Foreground" Value="{StaticResource OrangeBrush400}"/>
<Style.Triggers>
<Trigger Property="IsEnabled" Value="False">
<Setter Property="Foreground" Value="Gray"></Setter>
@@ -129,7 +129,7 @@
</Menu>
<DockPanel Grid.Row="1">
- <materialDesign:ColorZone Background="#2E2E2E" Padding="16" materialDesign:ShadowAssist.ShadowDepth="Depth2"
+ <materialDesign:ColorZone Background="{StaticResource GrayBrush300}" Padding="16" materialDesign:ShadowAssist.ShadowDepth="Depth2"
Mode="PrimaryMid" DockPanel.Dock="Top">
<DockPanel>
<Grid>
@@ -156,22 +156,26 @@
<RowDefinition Height="200*"/>
</Grid.RowDefinitions>
- <controls:ScriptEditorControl BorderThickness="0 1 0 0" BorderBrush="#616161" Text="{Binding Code,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" RunCommand="{Binding RunCommand}" StopCommand="{Binding StopCommand}" HighlightTypes="{Binding HighlightTypes}" IntellisenseTypes="{Binding IntellisenseTypes}"></controls:ScriptEditorControl>
+ <controls:ScriptEditorControl BorderThickness="0 1 0 0"
+ BorderBrush="#616161"
+ Text="{Binding Code,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
+ RunCommand="{Binding RunCommand}"
+ StopCommand="{Binding StopCommand}" IntellisenseTypes="{Binding IntellisenseTypes}"
+ HighlightTypes="{Binding HighlightTypes}"/>
+ <GridSplitter Grid.Row="1" Background="{StaticResource DarkGrayBrush100}" Foreground="{StaticResource DarkGrayBrush200}" BorderBrush="{StaticResource DarkGrayBrush200}" Height="5" HorizontalAlignment="Stretch" VerticalAlignment="Center" />
- <GridSplitter Grid.Row="1" Background="#101010" Foreground="#202020" BorderBrush="#202020" Height="5" HorizontalAlignment="Stretch" VerticalAlignment="Center" />
-
- <Grid Grid.Row="2" Background="#1B1B1B">
+ <Grid Grid.Row="2" Background="{StaticResource DarkGrayBrush}">
<Grid.RowDefinitions>
<RowDefinition Height="20"/>
<RowDefinition Height="57*"/>
</Grid.RowDefinitions>
- <Border BorderThickness="0 0 0 1" BorderBrush="#595959">
+ <Border BorderThickness="0 0 0 1" BorderBrush="{StaticResource GrayBrush250}">
<TextBlock Margin="2" HorizontalAlignment="Center">LOG</TextBlock>
</Border>
- <TextBox x:Name="txtLog" TextChanged="TextBox_TextChanged" FontFamily="Lucida Console" Background="#202020" BorderThickness="0" AcceptsReturn="True" VerticalScrollBarVisibility="Visible" Padding="5" IsReadOnly="True" TextWrapping="Wrap" FontSize="11" Foreground="Gainsboro" Grid.Row="2"></TextBox>
+ <TextBox x:Name="txtLog" TextChanged="TextBox_TextChanged" FontFamily="Lucida Console" Background="{StaticResource DarkGrayBrush200}" BorderThickness="0" AcceptsReturn="True" VerticalScrollBarVisibility="Visible" Padding="5" IsReadOnly="True" TextWrapping="Wrap" FontSize="11" Foreground="Gainsboro" Grid.Row="2"></TextBox>
</Grid>
</Grid>
</Grid>
@@ -180,6 +184,7 @@
<Border HorizontalAlignment="Right" Margin="0 -1 10 0" VerticalAlignment="Top" Width="300" Height="40" Padding="5" CornerRadius="0 0 30 30" BorderThickness="1 0 1 1" BorderBrush="DimGray">
<Border.Style>
<Style TargetType="Border">
+ <Setter Property="Background" Value="{StaticResource BlueGradientBrush}"></Setter>
<Setter Property="RenderTransform">
<Setter.Value>
<ScaleTransform ScaleX="1" ScaleY="0"></ScaleTransform>
@@ -205,12 +210,12 @@
</Style.Triggers>
</Style>
</Border.Style>
- <Border.Background>
- <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
+ <!--<Border.Background>-->
+ <!--<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
<GradientStop Color="#03A9F4"/>
<GradientStop Color="#0081BB" Offset="1"/>
- </LinearGradientBrush>
- </Border.Background>
+ </LinearGradientBrush>-->
+ <!--</Border.Background>-->
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="20 0 0 0">
<mahapps:ProgressRing Width="24" Height="24" Foreground="White"></mahapps:ProgressRing>