[WIP] Allow theming of AbsUI controls

This commit is contained in:
Yoshi Askharoun
2024-05-17 02:43:06 -05:00
parent c5ef203009
commit b8071028f1
3 changed files with 20 additions and 16 deletions
@@ -5,8 +5,18 @@
<core:Double x:Key="DefaultAbstractUITitleFontSize">24</core:Double>
<core:Double x:Key="DefaultAbstractUISubtitleFontSize">16</core:Double>
<core:Double x:Key="DefaultAbstractUISubtitleFontSize">18</core:Double>
<FontWeight x:Key="DefaultAbstractUISubtitleFontWeight">Light</FontWeight>
<core:Double x:Key="DefaultAbstractUISubtitleOpacity">0.5</core:Double>
<Style x:Key="AbstractUICollectionTitleStyle" TargetType="TextBlock">
<Setter Property="FontSize" Value="{DynamicResource DefaultAbstractUITitleFontSize}"/>
</Style>
<Style x:Key="AbstractUICollectionSubtitleStyle" TargetType="TextBlock">
<Setter Property="FontSize" Value="{StaticResource DefaultAbstractUISubtitleFontSize}"/>
<Setter Property="FontWeight" Value="{StaticResource DefaultAbstractUISubtitleFontWeight}"/>
<Setter Property="Opacity" Value="{StaticResource DefaultAbstractUISubtitleOpacity}"/>
</Style>
</ResourceDictionary>