We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ef6d5d commit d4c70c0Copy full SHA for d4c70c0
Sources/RunestoneSwiftUI/TextEditor.swift
@@ -41,6 +41,10 @@ public struct TextEditor: UIViewRepresentable {
41
// We assume your theme matches the device's mode
42
textView.backgroundColor = .systemBackground
43
44
+ textView.insertionPointColor = theme.textColor
45
+ textView.selectionBarColor = theme.textColor
46
+ textView.selectionHighlightColor = theme.textColor.withAlphaComponent(0.2)
47
+
48
return textView
49
}
50
0 commit comments