File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed
Sources/MarkdownKit/AttributedString Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 44
44
}
45
45
}
46
46
47
- public let mdDefaultColor = UIColor . darkText. hexString
48
- public let mdDefaultBackgroundColor = UIColor . systemBackground. hexString
49
-
50
47
#elseif os(macOS)
51
48
52
49
import Cocoa
68
65
public let mdDefaultBackgroundColor = NSColor . textBackgroundColor. hexString
69
66
70
67
#endif
68
+
69
+ #if os(iOS)
70
+
71
+ public let mdDefaultColor = UIColor . label. hexString
72
+ public let mdDefaultBackgroundColor = UIColor . systemBackground. hexString
73
+
74
+ #elseif os(tvOS)
75
+
76
+ public let mdDefaultColor = UIColor . label. hexString
77
+ public let mdDefaultBackgroundColor = UIColor . white. hexString
78
+
79
+ #elseif os(watchOS)
80
+
81
+ public let mdDefaultColor = UIColor . black. hexString
82
+ public let mdDefaultBackgroundColor = UIColor . white. hexString
83
+
84
+ #endif
You can’t perform that action at this time.
0 commit comments