File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,7 +86,6 @@ private void UpdateCurrentTheme()
8686 // Update typography settings
8787 string defaultFontSize = FormatFontSize ( UserPreferences . DefaultFontSize ) ;
8888 CurrentTheme . Typography . Default . FontSize = defaultFontSize ;
89- CurrentTheme . Typography . Subtitle1 . FontSize = defaultFontSize ;
9089
9190 CurrentTheme . Typography . Button . FontSize = FormatFontSize ( UserPreferences . ButtonFontSize ) ;
9291 CurrentTheme . Typography . Button . LineHeight = UserPreferences . ButtonLineHeight . ToString ( ) ;
@@ -116,9 +115,8 @@ private void UpdateCurrentTheme()
116115 CurrentTheme . Typography . Overline . LineHeight = UserPreferences . OverlineLineHeight . ToString ( ) ;
117116
118117 // Subtitles
119- string subtitleFontSize = FormatFontSize ( UserPreferences . Subtitle1FontSize ) ;
120- CurrentTheme . Typography . Subtitle1 . FontSize = subtitleFontSize ;
121- CurrentTheme . Typography . Subtitle2 . FontSize = subtitleFontSize ;
118+ CurrentTheme . Typography . Subtitle1 . FontSize = FormatFontSize ( UserPreferences . Subtitle1FontSize ) ;
119+ CurrentTheme . Typography . Subtitle2 . FontSize = FormatFontSize ( UserPreferences . Subtitle2FontSize ) ; ;
122120 }
123121
124122 /// <summary>
Original file line number Diff line number Diff line change @@ -126,8 +126,8 @@ public class UserPreference
126126 public double OverlineLineHeight => LineHeight ;
127127
128128 // Subtitle text properties
129- public double Subtitle1FontSize => DefaultFontSize + 0.125 ;
130- public double Subtitle2FontSize => DefaultFontSize - 0.0625 ;
129+ public double Subtitle1FontSize => DefaultFontSize ;
130+ public double Subtitle2FontSize => DefaultFontSize + 0.125 ;
131131
132132 /// <summary>
133133 /// The theme mode (System, Light, or Dark).
Original file line number Diff line number Diff line change @@ -138,14 +138,14 @@ public static MudTheme ApplicationTheme()
138138 } ,
139139 Subtitle1 = new Subtitle1Typography
140140 {
141- FontSize = ".875rem " ,
142- FontWeight = "500 " ,
141+ FontSize = ".8125rem " ,
142+ FontWeight = "400 " ,
143143 LineHeight = "1.5" ,
144144 LetterSpacing = "normal" ,
145145 } ,
146146 Subtitle2 = new Subtitle2Typography
147147 {
148- FontSize = ".8125rem " ,
148+ FontSize = ".875rem " ,
149149 FontWeight = "500" ,
150150 LineHeight = "1.57" ,
151151 } ,
Original file line number Diff line number Diff line change 2020}
2121
2222.mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol {
23- font-size : var (--mud-typography-subtitle1-size );
23+ font-size : var (--mud-typography-subtitle1-size ) !important ;
2424}
2525.mud-input > input .mud-input-root , div .mud-input-slot .mud-input-root {
2626 font-size : var (--mud-typography-default-size ) !important ;
2727}
2828.mud-input > textarea .mud-input-root {
2929 font-size : var (--mud-typography-default-size ) !important ;
3030}
31- .mud-simple-table table * tr > td , .mud-simple-table table * tr th {
31+ .mud-simple-table table * tr > td , .mud-simple-table table * tr th {
3232 font-size : var (--mud-typography-default-size ) !important ;
33-
3433}
3534
3635.mud-expand-panel .mud-expand-panel-header {
You can’t perform that action at this time.
0 commit comments