OSDN Git Service

メトロ版の色の定義がおかしかったので修正した
authorkonekoneko <test2214@hotmail.co.jp>
Thu, 30 Jul 2015 23:54:00 +0000 (08:54 +0900)
committerkonekoneko <test2214@hotmail.co.jp>
Thu, 30 Jul 2015 23:54:00 +0000 (08:54 +0900)
Metro/FooEditEngine/Themes/Generic.xaml

index d19a0c0..b6b7f27 100644 (file)
             <Style TargetType="local:FooTextBox">
                 <Setter Property="MinWidth" Value="{StaticResource TextControlThemeMinWidth}"/>
                 <Setter Property="MinHeight" Value="{StaticResource TextControlThemeMinHeight}"/>
-                <Setter Property="Foreground" Value="{StaticResource TextBoxForegroundThemeBrush}"/>
-                <Setter Property="InsertCaret" Value="{StaticResource TextBoxForegroundThemeBrush}"/>
-                <Setter Property="OverwriteCaret" Value="{StaticResource TextBoxForegroundThemeBrush}"/>
-                <Setter Property="Background" Value="{StaticResource TextBoxBackgroundThemeBrush}"/>
+                <Setter Property="Foreground" Value="#FF000000"/>
+                <Setter Property="InsertCaret" Value="#FF000000"/>
+                <Setter Property="OverwriteCaret" Value="#FF000000"/>
+                <Setter Property="Background" Value="#FFFFFFFF"/>
                 <Setter Property="LineMarker" Value="LightGray"/>
                 <Setter Property="Template" Value="{StaticResource FooTextBoxTemplate}"/>
             </Style>
             <Style TargetType="local:FooTextBox">
                 <Setter Property="MinWidth" Value="{StaticResource TextControlThemeMinWidth}"/>
                 <Setter Property="MinHeight" Value="{StaticResource TextControlThemeMinHeight}"/>
-                <Setter Property="Foreground" Value="{StaticResource TextBoxForegroundThemeBrush}"/>
-                <Setter Property="InsertCaret" Value="{StaticResource TextBoxForegroundThemeBrush}"/>
-                <Setter Property="OverwriteCaret" Value="{StaticResource TextBoxForegroundThemeBrush}"/>
-                <Setter Property="Background" Value="{StaticResource TextBoxBackgroundThemeBrush}"/>
+                <Setter Property="Foreground" Value="#FFFFFFFF"/>
+                <Setter Property="InsertCaret" Value="#FFFFFFFF"/>
+                <Setter Property="OverwriteCaret" Value="#FFFFFFFF"/>
+                <Setter Property="Background" Value="#FF000000"/>
                 <Setter Property="LineMarker" Value="Gray"/>
                 <Setter Property="Template" Value="{StaticResource FooTextBoxTemplate}"/>
             </Style>
             <Style TargetType="local:FooTextBox">
                 <Setter Property="MinWidth" Value="{StaticResource TextControlThemeMinWidth}"/>
                 <Setter Property="MinHeight" Value="{StaticResource TextControlThemeMinHeight}"/>
-                <Setter Property="Foreground" Value="{StaticResource TextBoxForegroundThemeBrush}"/>
-                <Setter Property="InsertCaret" Value="{StaticResource TextBoxForegroundThemeBrush}"/>
-                <Setter Property="OverwriteCaret" Value="{StaticResource TextBoxForegroundThemeBrush}"/>
-                <Setter Property="Background" Value="{StaticResource TextBoxBackgroundThemeBrush}"/>
+                <Setter Property="Foreground" Value="#FF000000"/>
+                <Setter Property="InsertCaret" Value="#FF000000"/>
+                <Setter Property="OverwriteCaret" Value="#FF000000"/>
+                <Setter Property="Background" Value="#FFFFFFFF"/>
                 <Setter Property="LineMarker" Value="LightGray"/>
                 <Setter Property="Template" Value="{StaticResource FooTextBoxTemplate}"/>
             </Style>
             <Style TargetType="local:FooTextBox">
                 <Setter Property="MinWidth" Value="{StaticResource TextControlThemeMinWidth}"/>
                 <Setter Property="MinHeight" Value="{StaticResource TextControlThemeMinHeight}"/>
-                <Setter Property="Foreground" Value="{StaticResource TextBoxForegroundThemeBrush}"/>
-                <Setter Property="InsertCaret" Value="{StaticResource TextBoxForegroundThemeBrush}"/>
-                <Setter Property="OverwriteCaret" Value="{StaticResource TextBoxForegroundThemeBrush}"/>
-                <Setter Property="Background" Value="{StaticResource TextBoxBackgroundThemeBrush}"/>
+                <Setter Property="Foreground" Value="#FF000000"/>
+                <Setter Property="InsertCaret" Value="#FF000000"/>
+                <Setter Property="OverwriteCaret" Value="#FF000000"/>
+                <Setter Property="Background" Value="#FFFFFFFF"/>
                 <Setter Property="LineMarker" Value="DarkGray"/>
                 <Setter Property="Template" Value="{StaticResource FooTextBoxTemplate}"/>
             </Style>