1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-07-07 07:28:57 +00:00
6502bench/SourceGen/Res/Theme_Light.xaml
Andy McFadden df2f3803f4 SourceGen After Dark
Most of SourceGen uses standard WPF controls, which get their default
style from the system theme.  The main disassembly list uses a
custom style, and always looks like the Windows default theme.

Some people greatly prefer white text on a black background, so we
now provide a way to get that.  This also requires muting the colors
used for Notes, since those were chosen to contrast with black text.

This does not affect anything other than the ListView used for
code, because everything else can be set through the Windows
"personalization" interface.  We might want to change the way the
Notes window looks though, to avoid having glowing bookmarks on
the side.
2019-10-12 17:23:32 -07:00

45 lines
2.1 KiB
XML

<!--
Copyright 2019 faddenSoft
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:SourceGen.Res">
<!-- colors for ListView and ListViewItem (see CodeListItemStyle.xaml) -->
<SolidColorBrush x:Key="Brush_ListViewForeground" Color="Black"/>
<SolidColorBrush x:Key="Brush_ListViewBackground" Color="White"/>
<Color x:Key="Color_HoverFill0">#FFF1FBFF</Color>
<Color x:Key="Color_HoverFill1">#FFD5F1FE</Color>
<Color x:Key="Color_SelectedFill0">#FFD9F4FF</Color>
<Color x:Key="Color_SelectedFill1">#FF9BDDFB</Color>
<Color x:Key="Color_SelectedInactiveFill0">#FFEEEDED</Color>
<Color x:Key="Color_SelectedInactiveFill1">#FFDDDDDD</Color>
<Color x:Key="Color_SelectedHoverFill0">#FFEAF9FF</Color>
<Color x:Key="Color_SelectedHoverFill1">#FFC9EDFD</Color>
<Color x:Key="Color_HighlightedCellFill0">#FFD9FFF4</Color>
<Color x:Key="Color_HighlightedCellFill1">#FF9BFBDD</Color>
<SolidColorBrush x:Key="Brush_MouseOverBorder" Color="#FFCCF0FF"/>
<SolidColorBrush x:Key="Brush_SelectedBorder" Color="#FF98DDFB"/> <!-- Color_SelectedFill1? -->
<SolidColorBrush x:Key="Brush_SelectedActiveBorder" Color="#FFCFCFCF"/>
<SolidColorBrush x:Key="Brush_SelectedMouseOverBorder" Color="#FF98DDFB"/> <!-- Color_SelectedFill1? -->
<SolidColorBrush x:Key="Brush_UpperHighlight" Color="#75FFFFFF"/>
<SolidColorBrush x:Key="Brush_SelectedUpperHighlight" Color="#40FFFFFF"/>
</ResourceDictionary>