@@ -32,25 +32,25 @@ public enum STMarkdownPresets {
3232 }
3333
3434 public static let article = STMarkdownStyle (
35- font: . st_systemFont( ofSize: 17 , weight: . regular) ,
36- textColor: . label,
35+ font: UIFont . st_systemFont ( ofSize: 17 , weight: . regular) ,
36+ textColor: UIColor . label,
3737 lineHeight: 26 ,
3838 kern: 0.1 ,
3939 paragraphSpacing: 10 ,
4040 bodyLineSpacing: 3 ,
41- headingTextColor: . label,
42- linkColor: . systemBlue,
43- inlineCodeTextColor: . secondaryLabel,
44- codeBlockTextColor: . label,
45- codeBlockHeaderTextColor: . secondaryLabel,
41+ headingTextColor: UIColor . label,
42+ linkColor: UIColor . systemBlue,
43+ inlineCodeTextColor: UIColor . secondaryLabel,
44+ codeBlockTextColor: UIColor . label,
45+ codeBlockHeaderTextColor: UIColor . secondaryLabel,
4646 codeBlockBackgroundColor: UIColor . secondarySystemBackground,
47- tableTextColor: . label,
48- tableHeaderTextColor: . label,
47+ tableTextColor: UIColor . label,
48+ tableHeaderTextColor: UIColor . label,
4949 tableBorderColor: UIColor . separator,
5050 tableBackgroundColor: UIColor . secondarySystemBackground,
51- imagePlaceholderTextColor: . label,
51+ imagePlaceholderTextColor: UIColor . label,
5252 imagePlaceholderBackgroundColor: UIColor . tertiarySystemBackground,
53- imagePlaceholderCaptionColor: . secondaryLabel,
53+ imagePlaceholderCaptionColor: UIColor . secondaryLabel,
5454 horizontalRuleColor: UIColor . separator,
5555 horizontalRuleLength: 24 ,
5656 listItemSpacing: 10 ,
@@ -59,25 +59,25 @@ public enum STMarkdownPresets {
5959 )
6060
6161 public static let compact = STMarkdownStyle (
62- font: . st_systemFont( ofSize: 14 , weight: . regular) ,
63- textColor: . label,
62+ font: UIFont . st_systemFont ( ofSize: 14 , weight: UIFont . Weight . regular) ,
63+ textColor: UIColor . label,
6464 lineHeight: 20 ,
6565 kern: 0.08 ,
6666 paragraphSpacing: 6 ,
6767 bodyLineSpacing: 1 ,
68- headingTextColor: . label,
69- linkColor: . systemBlue,
70- inlineCodeTextColor: . secondaryLabel,
71- codeBlockTextColor: . label,
72- codeBlockHeaderTextColor: . secondaryLabel,
68+ headingTextColor: UIColor . label,
69+ linkColor: UIColor . systemBlue,
70+ inlineCodeTextColor: UIColor . secondaryLabel,
71+ codeBlockTextColor: UIColor . label,
72+ codeBlockHeaderTextColor: UIColor . secondaryLabel,
7373 codeBlockBackgroundColor: UIColor . secondarySystemBackground,
74- tableTextColor: . label,
75- tableHeaderTextColor: . label,
74+ tableTextColor: UIColor . label,
75+ tableHeaderTextColor: UIColor . label,
7676 tableBorderColor: UIColor . separator,
7777 tableBackgroundColor: UIColor . secondarySystemBackground,
78- imagePlaceholderTextColor: . label,
78+ imagePlaceholderTextColor: UIColor . label,
7979 imagePlaceholderBackgroundColor: UIColor . tertiarySystemBackground,
80- imagePlaceholderCaptionColor: . secondaryLabel,
80+ imagePlaceholderCaptionColor: UIColor . secondaryLabel,
8181 horizontalRuleColor: UIColor . separator,
8282 horizontalRuleLength: 18 ,
8383 listItemSpacing: 6 ,
0 commit comments