/
githubmirror
/
Files
Обзор
Документация
Войти
/
githubmirror
/
Files
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Files.App/Styles/TextBlockStyles.xaml
46 строк
2 KB
Yair
Code Quality: Updated license header
31 дек 2024, 05:03
31 дек 2024, 05:03
8436c6d
Код
Авторство
О чём код?
<!-- Copyright (c) Files Community. Licensed under the MIT License. --> <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <Style x:Key="App.Theme.BaseTextBlockStyle" TargetType="TextBlock"> <Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" /> <Setter Property="FontSize" Value="{StaticResource BodyTextBlockFontSize}" /> <Setter Property="FontWeight" Value="SemiBold" /> <Setter Property="TextTrimming" Value="CharacterEllipsis" /> <Setter Property="TextWrapping" Value="Wrap" /> <Setter Property="LineStackingStrategy" Value="MaxHeight" /> <Setter Property="TextLineBounds" Value="Full" /> </Style> <Style x:Key="App.Theme.BodyTextBlockStyle" BasedOn="{StaticResource App.Theme.BaseTextBlockStyle}" TargetType="TextBlock"> <Setter Property="FontWeight" Value="Normal" /> </Style> <Style BasedOn="{StaticResource App.Theme.BaseTextBlockStyle}" TargetType="TextBlock"> <Setter Property="FontWeight" Value="Normal" /> </Style> <Style x:Key="App.Theme.BodyStrongTextBlockStyle" BasedOn="{StaticResource App.Theme.BaseTextBlockStyle}" TargetType="TextBlock" /> <Style x:Key="App.Theme.CaptionTextBlockStyle" BasedOn="{StaticResource App.Theme.BaseTextBlockStyle}" TargetType="TextBlock"> <Setter Property="FontSize" Value="{StaticResource CaptionTextBlockFontSize}" /> <Setter Property="FontWeight" Value="Normal" /> </Style> <Style x:Key="App.Theme.SubtitleTextBlockStyle" BasedOn="{StaticResource App.Theme.BaseTextBlockStyle}" TargetType="TextBlock"> <Setter Property="FontSize" Value="{StaticResource SubtitleTextBlockFontSize}" /> <Setter Property="OpticalMarginAlignment" Value="TrimSideBearings" /> </Style> </ResourceDictionary>