-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCarlMode.xaml
More file actions
90 lines (85 loc) · 3.84 KB
/
Copy pathCarlMode.xaml
File metadata and controls
90 lines (85 loc) · 3.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!-- "Carl Mode (BALD)" theme: intentionally flat, minimal, and a bit snarky. -->
<!-- Core brushes: flatten gradients, tone down gloss, keep sharp edges -->
<SolidColorBrush x:Key="WindowBackgroundBrush" Color="#FFE9ECEF"/>
<SolidColorBrush x:Key="AeroHeaderBrush" Color="#FFF5F7F9"/>
<SolidColorBrush x:Key="AeroAccentBrush" Color="#FF2C3E50"/>
<SolidColorBrush x:Key="AeroBorderBrush" Color="#FF9AA3AD"/>
<!-- Carl keeps the glass panel subtle/optional -->
<SolidColorBrush x:Key="GlassMenuBackgroundBrush" Color="#D0F5F7F9"/>
<SolidColorBrush x:Key="GlassStatusBackgroundBrush" Color="#C8F0F3F6"/>
<SolidColorBrush x:Key="GlassPanelBrush" Color="#10FFFFFF"/>
<!-- Buttons: flat with subtle hover/press; square corners (bald) -->
<Style TargetType="Button">
<Setter Property="Foreground" Value="#FF000000"/>
<Setter Property="Background" Value="#FFF7F9FB"/>
<Setter Property="BorderBrush" Value="#FFAFB6BD"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="Padding" Value="10,4"/>
<Setter Property="SnapsToDevicePixels" Value="True"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Border Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Margin="10,3"/>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="#FFF0F3F6"/>
</Trigger>
<Trigger Property="IsPressed" Value="True">
<Setter Property="Background" Value="#FFE3E8ED"/>
<Setter Property="BorderBrush" Value="#FF9AA3AD"/>
</Trigger>
<Trigger Property="IsEnabled" Value="False">
<Setter Property="Opacity" Value="0.6"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Tabs: muted, flat background -->
<Style TargetType="TabControl">
<Setter Property="BorderBrush" Value="#FF9AA3AD"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="Background" Value="#FFFFFFFF"/>
</Style>
<Style TargetType="TabItem">
<Setter Property="Background" Value="#FFF7F9FB"/>
<Setter Property="BorderBrush" Value="#FFAFB6BD"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="Padding" Value="10,6"/>
<Setter Property="Margin" Value="2,0,2,0"/>
</Style>
<!-- Menu: flat hover tint -->
<Style TargetType="Menu">
<Setter Property="Background" Value="{StaticResource GlassMenuBackgroundBrush}"/>
<Setter Property="BorderBrush" Value="#FFAFB6BD"/>
<Setter Property="BorderThickness" Value="0,0,0,1"/>
</Style>
<Style TargetType="MenuItem">
<Setter Property="Padding" Value="6,3"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="MenuItem">
<Grid>
<Border x:Name="Hover" Background="Transparent"/>
<ContentPresenter Margin="6,2"/>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="IsHighlighted" Value="True">
<Setter TargetName="Hover" Property="Background" Value="#1A2C3E50"/>
</Trigger>
<Trigger Property="Role" Value="TopLevelHeader">
<Setter Property="Padding" Value="10,4"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>