Files
Lattice/Lattice.Themes.VS2026/Typography.xaml
2026-01-18 16:33:35 +03:00

43 lines
2.2 KiB
XML

<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!-- VS2026 Typography (optimized for code editors) -->
<x:Double x:Key="VS2026.FontSize.Caption">11</x:Double>
<x:Double x:Key="VS2026.FontSize.Body">12</x:Double>
<x:Double x:Key="VS2026.FontSize.BodyStrong">12</x:Double>
<x:Double x:Key="VS2026.FontSize.Subtitle">13</x:Double>
<x:Double x:Key="VS2026.FontSize.Title">15</x:Double>
<x:Double x:Key="VS2026.FontSize.TitleLarge">18</x:Double>
<x:Double x:Key="VS2026.FontSize.Display">22</x:Double>
<!-- Font Weights -->
<FontWeight x:Key="VS2026.FontWeight.Regular">Normal</FontWeight>
<FontWeight x:Key="VS2026.FontWeight.Medium">Medium</FontWeight>
<FontWeight x:Key="VS2026.FontWeight.SemiBold">SemiBold</FontWeight>
<FontWeight x:Key="VS2026.FontWeight.Bold">Bold</FontWeight>
<!-- Line Heights -->
<x:Double x:Key="VS2026.LineHeight.None">1</x:Double>
<x:Double x:Key="VS2026.LineHeight.Tight">1.1</x:Double>
<x:Double x:Key="VS2026.LineHeight.Normal">1.3</x:Double>
<x:Double x:Key="VS2026.LineHeight.Relaxed">1.5</x:Double>
<!-- Font Families (VS-style) -->
<FontFamily x:Key="VS2026.FontFamily.Base">Segoe UI</FontFamily>
<FontFamily x:Key="VS2026.FontFamily.Monospace">Cascadia Mono, Consolas, Courier New</FontFamily>
<FontFamily x:Key="VS2026.FontFamily.Code">Cascadia Code, Consolas</FontFamily>
<!-- Text Styles -->
<Style x:Key="VS2026.TextStyle.Code" TargetType="TextBlock">
<Setter Property="FontFamily" Value="{StaticResource VS2026.FontFamily.Code}" />
<Setter Property="FontSize" Value="{StaticResource VS2026.FontSize.Body}" />
<Setter Property="Foreground" Value="{StaticResource VS2026.Brush.Text.Primary}" />
</Style>
<Style x:Key="VS2026.TextStyle.StatusBar" TargetType="TextBlock">
<Setter Property="FontSize" Value="{StaticResource VS2026.FontSize.Caption}" />
<Setter Property="FontWeight" Value="{StaticResource VS2026.FontWeight.Regular}" />
<Setter Property="Foreground" Value="{StaticResource VS2026.Brush.Text.Secondary}" />
</Style>
</ResourceDictionary>