Skip to content

Commit e490a22

Browse files
committed
Improve colors used in demo for pre and quote formats.
1 parent 4c220f8 commit e490a22

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Example/Example/EditorDemoController.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,9 @@ class EditorDemoController: UIViewController {
177177
titleTextView.textColor = UIColor.label
178178
editorView.htmlTextView.textColor = UIColor.label
179179
editorView.richTextView.textColor = UIColor.label
180-
editorView.richTextView.blockquoteBackgroundColor = UIColor.tertiarySystemBackground
181-
editorView.richTextView.preBackgroundColor = UIColor.tertiarySystemBackground
180+
editorView.richTextView.blockquoteBackgroundColor = UIColor.secondarySystemBackground
181+
editorView.richTextView.preBackgroundColor = UIColor.secondarySystemBackground
182+
editorView.richTextView.blockquoteBorderColor = UIColor.secondarySystemFill
182183
var attributes = editorView.richTextView.linkTextAttributes
183184
attributes?[.foregroundColor] = UIColor.link
184185
} else {

0 commit comments

Comments
 (0)