fix: acknowledgments tab was hard to read in dark mode (closes #4019)

This commit is contained in:
lwouis committed 2024-12-24 09:55:20 +01:00
1 parent 982a6dd5f2
commit 4481d94fa2
1 file changed
+2 -1
+2 -1
View File
@@ -22,7 +22,8 @@ class Markdown {
.underlineStyle: NSUnderlineStyle.single.rawValue
]
private static let baseAttributes: [NSAttributedString.Key: Any] = [
.font: NSFont.systemFont(ofSize: 13)
.font: NSFont.systemFont(ofSize: 13),
.foregroundColor: NSColor.labelColor,
]
private static let linkRegex = try! NSRegularExpression(pattern: "\\[(.*?)\\]\\((.*?)\\)")
private static let boldRegex = try! NSRegularExpression(pattern: "\\*\\*(.*?)\\*\\*")