DragAndDrop core
This commit is contained in:
50
Lattice.Themes.Fluent/Typography.xaml
Normal file
50
Lattice.Themes.Fluent/Typography.xaml
Normal file
@@ -0,0 +1,50 @@
|
||||
<ResourceDictionary
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:ui="using:Microsoft.UI.Xaml.Controls">
|
||||
|
||||
<!-- Fluent UI 2 Font Sizes -->
|
||||
<x:Double x:Key="Fluent.FontSize.Caption">12</x:Double>
|
||||
<x:Double x:Key="Fluent.FontSize.Body">14</x:Double>
|
||||
<x:Double x:Key="Fluent.FontSize.BodyStrong">14</x:Double>
|
||||
<x:Double x:Key="Fluent.FontSize.Subtitle">16</x:Double>
|
||||
<x:Double x:Key="Fluent.FontSize.Title">20</x:Double>
|
||||
<x:Double x:Key="Fluent.FontSize.TitleLarge">24</x:Double>
|
||||
<x:Double x:Key="Fluent.FontSize.Display">28</x:Double>
|
||||
<x:Double x:Key="Fluent.FontSize.DisplayLarge">40</x:Double>
|
||||
|
||||
<!-- Fluent UI 2 Font Weights -->
|
||||
<FontWeight x:Key="Fluent.FontWeight.Regular">Normal</FontWeight>
|
||||
<FontWeight x:Key="Fluent.FontWeight.Medium">Medium</FontWeight>
|
||||
<FontWeight x:Key="Fluent.FontWeight.SemiBold">SemiBold</FontWeight>
|
||||
<FontWeight x:Key="Fluent.FontWeight.Bold">Bold</FontWeight>
|
||||
|
||||
<!-- Fluent UI 2 Line Heights -->
|
||||
<x:Double x:Key="Fluent.LineHeight.None">1</x:Double>
|
||||
<x:Double x:Key="Fluent.LineHeight.Tight">1.2</x:Double>
|
||||
<x:Double x:Key="Fluent.LineHeight.Normal">1.5</x:Double>
|
||||
<x:Double x:Key="Fluent.LineHeight.Relaxed">1.8</x:Double>
|
||||
|
||||
<!-- Fluent UI 2 Font Families -->
|
||||
<FontFamily x:Key="Fluent.FontFamily.Base">Segoe UI</FontFamily>
|
||||
<FontFamily x:Key="Fluent.FontFamily.Monospace">Cascadia Mono</FontFamily>
|
||||
|
||||
<!-- Text Styles -->
|
||||
<Style x:Key="Fluent.TextStyle.Caption" TargetType="TextBlock">
|
||||
<Setter Property="FontSize" Value="{StaticResource Fluent.FontSize.Caption}" />
|
||||
<Setter Property="FontWeight" Value="{StaticResource Fluent.FontWeight.Regular}" />
|
||||
<Setter Property="Foreground" Value="{StaticResource Fluent.Brush.Text.Secondary}" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="Fluent.TextStyle.Body" TargetType="TextBlock">
|
||||
<Setter Property="FontSize" Value="{StaticResource Fluent.FontSize.Body}" />
|
||||
<Setter Property="FontWeight" Value="{StaticResource Fluent.FontWeight.Regular}" />
|
||||
<Setter Property="Foreground" Value="{StaticResource Fluent.Brush.Text.Primary}" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="Fluent.TextStyle.Title" TargetType="TextBlock">
|
||||
<Setter Property="FontSize" Value="{StaticResource Fluent.FontSize.Title}" />
|
||||
<Setter Property="FontWeight" Value="{StaticResource Fluent.FontWeight.SemiBold}" />
|
||||
<Setter Property="Foreground" Value="{StaticResource Fluent.Brush.Text.Primary}" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
Reference in New Issue
Block a user