Skip to content

Commit

Permalink
More TextBlock classes to theme
Browse files Browse the repository at this point in the history
  • Loading branch information
insomnious committed Sep 19, 2024
1 parent a6570a4 commit d619693
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@
<StackPanel Classes="SuggestedHeaderStackPanel" Orientation="Vertical">
<!-- Header: 'ALL FOLDERS' -->
<TextBlock Theme="{StaticResource TitleXSSemiTheme}"
Classes="TitleXSSemi"
Text="{x:Static resources:Language.AllFoldersAreaHeaderText_ALL_FOLDERS}" />
<!-- Description: 'Select from full folder structure' -->
<TextBlock Theme="{StaticResource BodySMNormalTheme}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
xmlns:resources="clr-namespace:NexusMods.Games.AdvancedInstaller.UI.Resources"
mc:Ignorable="d" d:DesignWidth="1232" d:DesignHeight="672"
x:Class="NexusMods.Games.AdvancedInstaller.UI.AdvancedInstallerPageView">

<Design.DataContext>
<ui:AdvancedInstallerPageDesignViewModel />
</Design.DataContext>

<Grid RowDefinitions="*, Auto">
<Grid.Styles>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,27 +64,31 @@

<icons:UnifiedIcon Grid.Column="0" Classes="AlertOutline" x:Name="WarningIcon" />

<TextBlock Grid.Column="1" Classes="BodyLGBold"
<TextBlock Grid.Column="1" Theme="{StaticResource BodyLGBoldTheme}"
Text="{x:Static resources:Language.UnsupportedModHeader_Unsupported_mod}"
x:Name="OverlayHeaderTextBlock" />
</Grid>
</Border>
<Border Grid.Row="1">
<StackPanel Orientation="Vertical">

<TextBlock Classes="HeadingMDSemi ModNameTitle" Text="TEMP MOD NAME"
<TextBlock Theme="{StaticResource HeadingMDSemiTheme}"
Classes="ModNameTitle" Text="TEMP MOD NAME"
x:Name="ModNameTextBlock" />

<TextBlock Classes="HeadingMDSemi MessageTitle"
<TextBlock Theme="{StaticResource HeadingMDSemiTheme}"
Classes="MessageTitle"
Text="{x:Static resources:Language.UnsupportedTitleTextBlock_This_mod_is_not_supported}"
x:Name="UnsupportedTitleTextBlock"
IsVisible="False"/>

<TextBlock Classes="BodyLGNormal DescriptionText" TextWrapping="Wrap"
<TextBlock Theme="{StaticResource BodyLGNormalTheme}"
Classes="DescriptionText" TextWrapping="Wrap"
Text="{x:Static resources:Language.UnsupportedDescriptionTextBlock_This_mod_is_structured}"
x:Name="UnsupportedDescriptionTextBlock" />

<TextBlock Classes="BodyLGNormal DescriptionText" TextWrapping="Wrap"
<TextBlock Theme="{StaticResource BodyLGNormalTheme}"
Classes="DescriptionText" TextWrapping="Wrap"
Text="{x:Static resources:Language.ExtraDescriptionTextBlock_If_you_are_confident}"
x:Name="ExtraDescriptionTextBlock" />
</StackPanel>
Expand Down

0 comments on commit d619693

Please sign in to comment.