-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.xaml
More file actions
130 lines (125 loc) · 8.06 KB
/
Copy pathApp.xaml
File metadata and controls
130 lines (125 loc) · 8.06 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?xml version="1.0" encoding="utf-8"?>
<Application
x:Class="WinVora.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:WinVora">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
<!-- Other merged dictionaries here -->
</ResourceDictionary.MergedDictionaries>
<!-- Einheitlicher WinVora-Akzent. Explizite AccentButtonStyle-Verweise
dürfen nicht auf das blaue Windows-Systemakzent zurückfallen. -->
<SolidColorBrush x:Key="WinVoraPurpleBrush" Color="#6C5CE7"/>
<SolidColorBrush x:Key="WinVoraPurpleHoverBrush" Color="#7D6FF0"/>
<SolidColorBrush x:Key="WinVoraPurplePressedBrush" Color="#5848CD"/>
<SolidColorBrush x:Key="WinVoraPurpleDisabledBrush" Color="#596C5CE7"/>
<SolidColorBrush x:Key="WinVoraSecondaryButtonBrush" Color="#302B50"/>
<SolidColorBrush x:Key="WinVoraToggleOffBrush" Color="#383838"/>
<SolidColorBrush x:Key="WinVoraTransparentBrush" Color="Transparent"/>
<FontFamily x:Key="WinVoraFontFamily">Segoe UI</FontFamily>
<x:Double x:Key="ScrollBarSize">16</x:Double>
<x:Double x:Key="ScrollBarVerticalThumbMinWidth">10</x:Double>
<SolidColorBrush x:Key="SystemControlFocusVisualPrimaryBrush" Color="#8B7CF6"/>
<SolidColorBrush x:Key="SystemControlFocusVisualSecondaryBrush" Color="Transparent"/>
<SolidColorBrush x:Key="TextControlBorderBrushFocused" Color="#8B7CF6"/>
<SolidColorBrush x:Key="TextControlSelectionHighlightColor" Color="#6C5CE7"/>
<!-- Eine gemeinsame typografische Basis für statische und dynamisch
erzeugte Oberflächen. FontIcons behalten ihre Symbolschrift. -->
<Style TargetType="TextBlock">
<Setter Property="FontFamily" Value="{StaticResource WinVoraFontFamily}"/>
</Style>
<Style TargetType="Button">
<Setter Property="FontFamily" Value="{StaticResource WinVoraFontFamily}"/>
<Setter Property="CornerRadius" Value="8"/>
<Setter Property="MinHeight" Value="36"/>
<Setter Property="Padding" Value="12,7"/>
</Style>
<Style TargetType="TextBox">
<Setter Property="FontFamily" Value="{StaticResource WinVoraFontFamily}"/>
<Setter Property="CornerRadius" Value="8"/>
<Setter Property="MinHeight" Value="40"/>
</Style>
<Style TargetType="PasswordBox">
<Setter Property="FontFamily" Value="{StaticResource WinVoraFontFamily}"/>
<Setter Property="CornerRadius" Value="8"/>
<Setter Property="MinHeight" Value="40"/>
</Style>
<Style TargetType="ComboBox">
<Setter Property="FontFamily" Value="{StaticResource WinVoraFontFamily}"/>
<Setter Property="CornerRadius" Value="8"/>
<Setter Property="MinHeight" Value="40"/>
</Style>
<Style TargetType="ToggleSwitch">
<Setter Property="FontFamily" Value="{StaticResource WinVoraFontFamily}"/>
</Style>
<Style TargetType="CheckBox">
<Setter Property="FontFamily" Value="{StaticResource WinVoraFontFamily}"/>
</Style>
<Style x:Key="WinVoraPageTitleStyle" TargetType="TextBlock">
<Setter Property="FontFamily" Value="{StaticResource WinVoraFontFamily}"/>
<Setter Property="FontSize" Value="34"/>
<Setter Property="FontWeight" Value="Bold"/>
</Style>
<Style x:Key="WinVoraSectionTitleStyle" TargetType="TextBlock">
<Setter Property="FontFamily" Value="{StaticResource WinVoraFontFamily}"/>
<Setter Property="FontSize" Value="18"/>
<Setter Property="FontWeight" Value="SemiBold"/>
</Style>
<Style x:Key="WinVoraCardTitleStyle" TargetType="TextBlock">
<Setter Property="FontFamily" Value="{StaticResource WinVoraFontFamily}"/>
<Setter Property="FontSize" Value="15"/>
<Setter Property="FontWeight" Value="SemiBold"/>
</Style>
<Style x:Key="WinVoraBodyTextStyle" TargetType="TextBlock">
<Setter Property="FontFamily" Value="{StaticResource WinVoraFontFamily}"/>
<Setter Property="FontSize" Value="14"/>
</Style>
<Style x:Key="WinVoraCaptionTextStyle" TargetType="TextBlock">
<Setter Property="FontFamily" Value="{StaticResource WinVoraFontFamily}"/>
<Setter Property="FontSize" Value="12"/>
</Style>
<!-- Deckende Auswahlflächen ohne die feine Systemkontur, die bei
Skalierung als helle Mischkante an den Rundungen sichtbar war. -->
<SolidColorBrush x:Key="CheckBoxCheckBackgroundStrokeChecked" Color="Transparent"/>
<SolidColorBrush x:Key="CheckBoxCheckBackgroundStrokeCheckedPointerOver" Color="Transparent"/>
<SolidColorBrush x:Key="CheckBoxCheckBackgroundStrokeCheckedPressed" Color="Transparent"/>
<SolidColorBrush x:Key="CheckBoxCheckBackgroundFillChecked" Color="#6C5CE7"/>
<SolidColorBrush x:Key="CheckBoxCheckBackgroundFillCheckedPointerOver" Color="#7D6FF0"/>
<SolidColorBrush x:Key="CheckBoxCheckBackgroundFillCheckedPressed" Color="#5848CD"/>
<SolidColorBrush x:Key="ToggleSwitchFillOff" Color="#383838"/>
<SolidColorBrush x:Key="ToggleSwitchFillOffPointerOver" Color="#424242"/>
<SolidColorBrush x:Key="ToggleSwitchFillOffPressed" Color="#303030"/>
<SolidColorBrush x:Key="ToggleSwitchFillOn" Color="#6C5CE7"/>
<SolidColorBrush x:Key="ToggleSwitchFillOnPointerOver" Color="#7D6FF0"/>
<SolidColorBrush x:Key="ToggleSwitchFillOnPressed" Color="#5848CD"/>
<SolidColorBrush x:Key="ToggleSwitchStrokeOff" Color="Transparent"/>
<SolidColorBrush x:Key="ToggleSwitchStrokeOffPointerOver" Color="Transparent"/>
<SolidColorBrush x:Key="ToggleSwitchStrokeOffPressed" Color="Transparent"/>
<SolidColorBrush x:Key="ToggleSwitchStrokeOn" Color="Transparent"/>
<SolidColorBrush x:Key="ToggleSwitchStrokeOnPointerOver" Color="Transparent"/>
<SolidColorBrush x:Key="ToggleSwitchStrokeOnPressed" Color="Transparent"/>
<x:Double x:Key="ToggleSwitchOuterBorderStrokeThickness">0</x:Double>
<SolidColorBrush x:Key="AccentButtonBackground" Color="#6C5CE7"/>
<SolidColorBrush x:Key="AccentButtonBackgroundPointerOver" Color="#7D6FF0"/>
<SolidColorBrush x:Key="AccentButtonBackgroundPressed" Color="#5848CD"/>
<SolidColorBrush x:Key="AccentButtonBackgroundDisabled" Color="#596C5CE7"/>
<SolidColorBrush x:Key="AccentButtonForeground" Color="White"/>
<SolidColorBrush x:Key="AccentButtonForegroundPointerOver" Color="White"/>
<SolidColorBrush x:Key="AccentButtonForegroundPressed" Color="White"/>
<SolidColorBrush x:Key="AccentButtonForegroundDisabled" Color="#B0FFFFFF"/>
<Style x:Key="WinVoraButtonStyle"
TargetType="Button"
BasedOn="{StaticResource DefaultButtonStyle}">
<Setter Property="Background" Value="{StaticResource WinVoraSecondaryButtonBrush}"/>
<Setter Property="Foreground" Value="{ThemeResource TextFillColorPrimaryBrush}"/>
<Setter Property="BorderBrush" Value="Transparent"/>
<Setter Property="BorderThickness" Value="0"/>
<Setter Property="CornerRadius" Value="8"/>
<Setter Property="UseLayoutRounding" Value="True"/>
</Style>
</ResourceDictionary>
</Application.Resources>
</Application>