-
Notifications
You must be signed in to change notification settings - Fork 3.4k
/
MaterialDesignTheme.TextBlock.xaml
116 lines (101 loc) · 5.24 KB
/
MaterialDesignTheme.TextBlock.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Hyperlink.xaml" />
</ResourceDictionary.MergedDictionaries>
<Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignTextBlock">
<Setter Property="Padding" Value="0,4" />
<Setter Property="FontSize" Value="13" />
<Setter Property="FontWeight" Value="Regular" />
</Style>
<Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignCaptionTextBlock"
BasedOn="{StaticResource MaterialDesignTextBlock}">
<Style.Resources>
<Style TargetType="Hyperlink" BasedOn="{StaticResource MaterialDesignCaptionHyperlink}" />
</Style.Resources>
<Setter Property="FontSize" Value="12" />
<Setter Property="FontWeight" Value="Regular" />
</Style>
<Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignBody1TextBlock"
BasedOn="{StaticResource MaterialDesignTextBlock}">
<Style.Resources>
<Style TargetType="Hyperlink" BasedOn="{StaticResource MaterialDesignBody1Hyperlink}" />
</Style.Resources>
<Setter Property="FontSize" Value="16" />
<Setter Property="FontWeight" Value="Regular" />
</Style>
<Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignBody2TextBlock">
<Style.Resources>
<Style TargetType="Hyperlink" BasedOn="{StaticResource MaterialDesignBody2Hyperlink}" />
</Style.Resources>
<Setter Property="FontSize" Value="14" />
<Setter Property="FontWeight" Value="Regular" />
</Style>
<Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignOverlineTextBlock">
<Style.Resources>
<Style TargetType="Hyperlink" BasedOn="{StaticResource MaterialDesignOverlineHyperlink}" />
</Style.Resources>
<Setter Property="FontSize" Value="10" />
<Setter Property="FontWeight" Value="Regular" />
</Style>
<Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignSubtitle1TextBlock">
<Style.Resources>
<Style TargetType="Hyperlink" BasedOn="{StaticResource MaterialDesignSubtitle1Hyperlink}" />
</Style.Resources>
<Setter Property="FontSize" Value="16" />
<Setter Property="FontWeight" Value="Regular" />
</Style>
<Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignSubtitle2TextBlock">
<Style.Resources>
<Style TargetType="Hyperlink" BasedOn="{StaticResource MaterialDesignSubtitle2Hyperlink}" />
</Style.Resources>
<Setter Property="FontSize" Value="14" />
<Setter Property="FontWeight" Value="Medium" />
</Style>
<Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignHeadline6TextBlock">
<Style.Resources>
<Style TargetType="Hyperlink" BasedOn="{StaticResource MaterialDesignHeadline6Hyperlink}" />
</Style.Resources>
<Setter Property="FontSize" Value="20" />
<Setter Property="FontWeight" Value="Medium" />
</Style>
<Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignHeadline5TextBlock">
<Style.Resources>
<Style TargetType="Hyperlink" BasedOn="{StaticResource MaterialDesignHeadline5Hyperlink}" />
</Style.Resources>
<Setter Property="FontSize" Value="24" />
<Setter Property="FontWeight" Value="Regular" />
</Style>
<Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignHeadline4TextBlock">
<Style.Resources>
<Style TargetType="Hyperlink" BasedOn="{StaticResource MaterialDesignHeadline4Hyperlink}" />
</Style.Resources>
<Setter Property="FontSize" Value="34" />
<Setter Property="FontWeight" Value="Regular" />
</Style>
<Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignHeadline3TextBlock">
<Style.Resources>
<Style TargetType="Hyperlink" BasedOn="{StaticResource MaterialDesignHeadline3Hyperlink}" />
</Style.Resources>
<Setter Property="FontSize" Value="48" />
<Setter Property="FontWeight" Value="Regular" />
</Style>
<Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignHeadline2TextBlock">
<Style.Resources>
<Style TargetType="Hyperlink" BasedOn="{StaticResource MaterialDesignHeadline2Hyperlink}" />
</Style.Resources>
<Setter Property="FontSize" Value="60" />
<Setter Property="FontWeight" Value="Light" />
</Style>
<Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignHeadline1TextBlock">
<Style.Resources>
<Style TargetType="Hyperlink" BasedOn="{StaticResource MaterialDesignHeadline1Hyperlink}" />
</Style.Resources>
<Setter Property="FontSize" Value="96" />
<Setter Property="FontWeight" Value="Light" />
</Style>
<Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignButtonTextBlock">
<Setter Property="FontSize" Value="14" />
<Setter Property="FontWeight" Value="Medium" />
</Style>
</ResourceDictionary>