@@ -43,15 +43,15 @@ public sealed class MarkdownThemes : DependencyObject
4343
4444 public FontWeight H1FontWeight { get ; set ; } = FontWeights . SemiBold ;
4545
46- public FontWeight H2FontWeight { get ; set ; } = FontWeights . Normal ;
46+ public FontWeight H2FontWeight { get ; set ; } = FontWeights . SemiBold ;
4747
48- public FontWeight H3FontWeight { get ; set ; } = FontWeights . Normal ;
48+ public FontWeight H3FontWeight { get ; set ; } = FontWeights . SemiBold ;
4949
50- public FontWeight H4FontWeight { get ; set ; } = FontWeights . Normal ;
50+ public FontWeight H4FontWeight { get ; set ; } = FontWeights . SemiBold ;
5151
52- public FontWeight H5FontWeight { get ; set ; } = FontWeights . Normal ;
52+ public FontWeight H5FontWeight { get ; set ; } = FontWeights . SemiBold ;
5353
54- public FontWeight H6FontWeight { get ; set ; } = FontWeights . Normal ;
54+ public FontWeight H6FontWeight { get ; set ; } = FontWeights . SemiBold ;
5555
5656 public Thickness H1Margin { get ; set ; } = new ( left : 0 , top : 16 , right : 0 , bottom : 0 ) ;
5757 public Thickness H2Margin { get ; set ; } = new ( left : 0 , top : 16 , right : 0 , bottom : 0 ) ;
@@ -60,14 +60,14 @@ public sealed class MarkdownThemes : DependencyObject
6060 public Thickness H5Margin { get ; set ; } = new ( left : 0 , top : 8 , right : 0 , bottom : 0 ) ;
6161 public Thickness H6Margin { get ; set ; } = new ( left : 0 , top : 8 , right : 0 , bottom : 0 ) ;
6262
63- public Brush BorderBrush { get ; set ; } = new SolidColorBrush ( Colors . Gray ) ;
63+ public Brush BorderBrush { get ; set ; } = ( Brush ) Application . Current . Resources [ "CardStrokeColorDefaultBrush" ] ;
6464
65- public Brush TableHeadingBackground { get ; set ; } = Extensions . GetAccentColorBrush ( Windows . UI . ViewManagement . UIColorType . AccentLight3 ) ;
65+ public Brush TableHeadingBackground { get ; set ; } = ( Brush ) Application . Current . Resources [ "CardBackgroundFillColorDefaultBrush" ] ;
6666
67- public Brush InlineCodeBackground { get ; set ; } = ( Brush ) Application . Current . Resources [ "ExpanderHeaderBackground " ] ;
67+ public Brush InlineCodeBackground { get ; set ; } = ( Brush ) Application . Current . Resources [ "CardBackgroundFillColorSecondaryBrush " ] ;
6868 public Brush InlineCodeForeground { get ; set ; } = ( Brush ) Application . Current . Resources [ "TextFillColorPrimaryBrush" ] ;
6969
70- public Brush InlineCodeBorderBrush { get ; set ; } = new SolidColorBrush ( Colors . Gray ) ;
70+ public Brush InlineCodeBorderBrush { get ; set ; } = ( Brush ) Application . Current . Resources [ "CardStrokeColorDefaultBrush" ] ;
7171
7272 public Thickness InlineCodeBorderThickness { get ; set ; } = new ( 1 ) ;
7373
@@ -79,12 +79,12 @@ public sealed class MarkdownThemes : DependencyObject
7979
8080 public FontWeight InlineCodeFontWeight { get ; set ; } = FontWeights . Normal ;
8181
82- public FontWeight BoldFontWeight { get ; set ; } = FontWeights . Bold ;
82+ public FontWeight BoldFontWeight { get ; set ; } = FontWeights . SemiBold ;
8383
8484 // Legacy parity properties (new)
8585 // Code block styling
86- public Brush CodeBlockBackground { get ; set ; } = ( Brush ) Application . Current . Resources [ "ExpanderHeaderBackground " ] ;
87- public Brush CodeBlockBorderBrush { get ; set ; } = new SolidColorBrush ( Colors . Gray ) ;
86+ public Brush CodeBlockBackground { get ; set ; } = ( Brush ) Application . Current . Resources [ "CardBackgroundFillColorSecondaryBrush " ] ;
87+ public Brush CodeBlockBorderBrush { get ; set ; } = ( Brush ) Application . Current . Resources [ "CardStrokeColorDefaultBrush" ] ;
8888 public Thickness CodeBlockBorderThickness { get ; set ; } = new Thickness ( 1 ) ;
8989 public Thickness CodeBlockPadding { get ; set ; } = new Thickness ( 8 ) ;
9090 public Thickness CodeBlockMargin { get ; set ; } = new Thickness ( 0 , 8 , 0 , 8 ) ;
@@ -93,23 +93,23 @@ public sealed class MarkdownThemes : DependencyObject
9393 public CornerRadius CodeBlockCornerRadius { get ; set ; } = new CornerRadius ( 4 ) ;
9494
9595 // Horizontal rule
96- public Brush HorizontalRuleBrush { get ; set ; } = new SolidColorBrush ( Colors . Gray ) ;
96+ public Brush HorizontalRuleBrush { get ; set ; } = ( Brush ) Application . Current . Resources [ "DividerStrokeColorDefaultBrush" ] ;
9797 public double HorizontalRuleThickness { get ; set ; } = 1.0 ;
9898 public Thickness HorizontalRuleMargin { get ; set ; } = new Thickness ( 0 , 12 , 0 , 12 ) ;
9999
100100 // Link styling
101- public Brush LinkForeground { get ; set ; } = ( Brush ) Application . Current . Resources [ "AccentTextFillColorPrimaryBrush" ] ?? new SolidColorBrush ( Colors . DodgerBlue ) ;
101+ public Brush LinkForeground { get ; set ; } = ( Brush ) Application . Current . Resources [ "AccentTextFillColorPrimaryBrush" ] ;
102102
103103 // Paragraph / list
104104 public Thickness ParagraphMargin { get ; set ; } = new Thickness ( 0 , 8 , 0 , 8 ) ;
105105 public double ParagraphLineHeight { get ; set ; } = 0 ; // 0 = default
106106 public double ListBulletSpacing { get ; set ; } = 4 ; // spaces after bullet
107- public double ListGutterWidth { get ; set ; } = 30 ; // indent delta per level
107+ public double ListGutterWidth { get ; set ; } = 32 ; // indent delta per level
108108 public Thickness ListMargin { get ; set ; } = new Thickness ( 0 , 4 , 0 , 4 ) ;
109109
110110 // Quote styling
111111 public Brush QuoteBackground { get ; set ; } = new SolidColorBrush ( Colors . Transparent ) ;
112- public Brush QuoteBorderBrush { get ; set ; } = new SolidColorBrush ( Colors . Gray ) ;
112+ public Brush QuoteBorderBrush { get ; set ; } = ( Brush ) Application . Current . Resources [ "CardStrokeColorDefaultBrush" ] ;
113113 public Thickness QuoteBorderThickness { get ; set ; } = new Thickness ( 4 , 0 , 0 , 0 ) ;
114114 public Brush QuoteForeground { get ; set ; } = ( Brush ) Application . Current . Resources [ "TextFillColorPrimaryBrush" ] ;
115115 public Thickness QuoteMargin { get ; set ; } = new Thickness ( 0 , 4 , 0 , 4 ) ;
@@ -122,12 +122,12 @@ public sealed class MarkdownThemes : DependencyObject
122122 public Stretch ImageStretch { get ; set ; } = Stretch . Uniform ;
123123
124124 // Table styling
125- public Brush TableBorderBrush { get ; set ; } = new SolidColorBrush ( Colors . Gray ) ;
125+ public Brush TableBorderBrush { get ; set ; } = ( Brush ) Application . Current . Resources [ "CardStrokeColorDefaultBrush" ] ;
126126 public double TableBorderThickness { get ; set ; } = 1 ;
127127 public Thickness TableCellPadding { get ; set ; } = new Thickness ( 4 ) ;
128- public Thickness TableMargin { get ; set ; } = new Thickness ( 0 , 10 , 0 , 10 ) ;
128+ public Thickness TableMargin { get ; set ; } = new Thickness ( 0 , 8 , 0 , 8 ) ;
129129
130130 // YAML / not currently used - placeholders for parity
131- public Brush YamlBorderBrush { get ; set ; } = new SolidColorBrush ( Colors . Gray ) ;
131+ public Brush YamlBorderBrush { get ; set ; } = ( Brush ) Application . Current . Resources [ "CardStrokeColorDefaultBrush" ] ;
132132 public Thickness YamlBorderThickness { get ; set ; } = new Thickness ( 1 ) ;
133133}
0 commit comments