-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.xaml
98 lines (67 loc) · 6.4 KB
/
App.xaml
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
<Application x:Class="Java_Bytecode_Toolkit.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Java_Bytecode_Toolkit"
xmlns:clr="clr-namespace:System;assembly=mscorlib"
StartupUri="MainWindow.xaml">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/Themes/LightTheme.xaml"/>
</ResourceDictionary.MergedDictionaries>
<clr:String x:Key="AppName">Java Bytecode Toolkit</clr:String>
<Path x:Key="AppIcon" Stretch="Uniform" Fill="#333333" Data="M 7.082 11.934 Q 7.082 13.622 6.3 14.518 Q 5.517 15.414 4.035 15.414 Q 3.373 15.414 2.81 15.186 L 2.81 13.411 Q 3.297 13.78 3.9 13.78 Q 5.195 13.78 5.195 11.858 L 5.195 6.866 L 7.082 6.866 Z M 8.914 15.268 L 8.914 6.866 L 11.973 6.866 Q 13.379 6.866 14.135 7.381 Q 14.891 7.897 14.891 8.834 Q 14.891 9.514 14.431 10.024 Q 13.971 10.534 13.256 10.733 L 13.256 10.756 Q 14.152 10.868 14.688 11.418 Q 15.225 11.969 15.225 12.76 Q 15.225 13.914 14.398 14.591 Q 13.572 15.268 12.143 15.268 Z M 10.807 8.26 L 10.807 10.252 L 11.639 10.252 Q 12.225 10.252 12.561 9.968 Q 12.898 9.684 12.898 9.186 Q 12.898 8.26 11.516 8.26 Z M 10.807 11.659 L 10.807 13.873 L 11.832 13.873 Q 12.488 13.873 12.86 13.569 Q 13.232 13.264 13.232 12.737 Q 13.232 12.233 12.866 11.946 Q 12.5 11.659 11.844 11.659 Z M 22.225 8.407 L 19.828 8.407 L 19.828 15.268 L 17.93 15.268 L 17.93 8.407 L 15.545 8.407 L 15.545 6.866 L 22.225 6.866 Z"/>
<Path x:Key="LightThemeIcon" Stretch="Uniform" Fill="#212121" Data="M11.996 19.01a.75.75 0 0 1 .743.649l.007.102v1.5a.75.75 0 0 1-1.493.101l-.007-.101v-1.5a.75.75 0 0 1 .75-.75Zm6.022-2.072 1.06 1.06a.75.75 0 1 1-1.06 1.061l-1.06-1.06a.75.75 0 0 1 1.06-1.061Zm-10.983 0a.75.75 0 0 1 0 1.06L5.974 19.06a.75.75 0 0 1-1.06-1.06l1.06-1.061a.75.75 0 0 1 1.06 0ZM12 6.475a5.525 5.525 0 1 1 0 11.05 5.525 5.525 0 0 1 0-11.05Zm0 1.5a4.025 4.025 0 1 0 0 8.05 4.025 4.025 0 0 0 0-8.05Zm9.25 3.293a.75.75 0 0 1 .102 1.493l-.102.007h-1.5a.75.75 0 0 1-.102-1.493l.102-.007h1.5Zm-17-.029a.75.75 0 0 1 .102 1.494l-.102.006h-1.5a.75.75 0 0 1-.102-1.493l.102-.007h1.5Zm1.64-6.37.084.072 1.06 1.06a.75.75 0 0 1-.976 1.134l-.084-.073-1.06-1.06a.75.75 0 0 1 .976-1.134Zm13.188.072a.75.75 0 0 1 .073.977l-.073.084-1.06 1.06a.75.75 0 0 1-1.133-.976l.072-.084 1.06-1.061a.75.75 0 0 1 1.061 0ZM12 1.99a.75.75 0 0 1 .743.648l.007.102v1.5a.75.75 0 0 1-1.493.101l-.007-.102v-1.5a.75.75 0 0 1 .75-.75Z"/>
<Path x:Key="DarkThemeIcon" Stretch="Uniform" Fill="#212121" Data="M20.026 17.001c-2.762 4.784-8.879 6.423-13.663 3.661a9.964 9.964 0 0 1-3.234-2.983.75.75 0 0 1 .365-1.131c3.767-1.348 5.785-2.911 6.956-5.146 1.232-2.353 1.551-4.93.689-8.464a.75.75 0 0 1 .769-.926 9.961 9.961 0 0 1 4.457 1.327C21.149 6.1 22.788 12.217 20.025 17Zm-8.248-4.903c-1.25 2.388-3.31 4.099-6.817 5.499a8.492 8.492 0 0 0 2.152 1.766 8.501 8.501 0 1 0 8.502-14.725 8.485 8.485 0 0 0-2.792-1.016c.647 3.384.23 6.044-1.045 8.476Z"/>
<Path x:Key="FileIcon" Stretch="Uniform" Stroke="#212121" StrokeThickness="1" Data="M 14.00,0.00 C 14.00,0.00 14.00,10.00 14.00,10.00 14.00,10.00 24.00,10.00 24.00,10.00M 0.00,0.00 C 0.00,0.00 0.00,32.00 0.00,32.00 0.00,32.00 24.00,32.00 24.00,32.00 24.00,32.00 24.00,10.00 24.00,10.00 24.00,10.00 14.00,0.00 14.00,0.00 14.00,0.00 0.00,0.00 0.00,0.00 Z"/>
<Style x:Key="DefaultSidebarButtonStyle" TargetType="Button">
<Setter Property="DockPanel.Dock" Value="Top"/>
<Setter Property="BorderThickness" Value="0"/>
<Setter Property="HorizontalAlignment" Value="Stretch"/>
<Setter Property="VerticalAlignment" Value="Stretch"/>
<Setter Property="HorizontalContentAlignment" Value="Left"/>
<Setter Property="VerticalContentAlignment" Value="Center"/>
<Setter Property="Padding" Value="10 10 10 10"/>
<Setter Property="Background" Value="{DynamicResource SecondaryBackgroundColor}"/>
</Style>
<Style x:Key="DefaultToolbarButtonStyle" TargetType="Button">
<Setter Property="DockPanel.Dock" Value="Left"/>
<Setter Property="BorderThickness" Value="0"/>
<Setter Property="HorizontalAlignment" Value="Stretch"/>
<Setter Property="VerticalAlignment" Value="Stretch"/>
<Setter Property="HorizontalContentAlignment" Value="Center"/>
<Setter Property="VerticalContentAlignment" Value="Top"/>
<Setter Property="Padding" Value="10 10 10 10"/>
<Setter Property="Background" Value="{DynamicResource SecondaryBackgroundColor}"/>
</Style>
<Style TargetType="local:ExtendedButton">
<Setter Property="Background" Value="{DynamicResource BackgroundColor2}"/>
<Setter Property="Foreground" Value="{DynamicResource ForegroundColor1}"/>
<Setter Property="CornerRadius" Value="6"/>
<Setter Property="BorderBrush" Value="LightGray"/>
<Setter Property="BorderThickness" Value="2"/>
<Setter Property="Padding" Value="14 6 14 6"/>
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="BorderBrush" Value="Gray"/>
</Trigger>
<Trigger Property="IsPressed" Value="True">
<Setter Property="Background" Value="DarkGray"/>
</Trigger>
</Style.Triggers>
</Style>
<Style x:Key="ConcealedButtonStyle" TargetType="Button">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Border Background="{TemplateBinding Background}">
<ContentPresenter Content="{TemplateBinding Content}">
</ContentPresenter>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>
</Application.Resources>
</Application>