Skip to content

Commit d2df1f3

Browse files
author
Douglas Hewitt
committed
new default colors
for library and demo
1 parent 65cea9f commit d2df1f3

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

Aztec/Classes/TextKit/LayoutManager.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@ class LayoutManager: NSLayoutManager {
99

1010
/// Blockquote's Left Border Color
1111
/// Set the array with how many colors you like, they appear in the order they are set in the array.
12-
var blockquoteBorderColors = [UIColor(hexString: "9252FF")!,
13-
UIColor(hexString: "5A4AE8")!,
14-
UIColor(hexString: "5D77FE")!,
15-
UIColor(hexString: "4A8EE8")!,
16-
UIColor(hexString: "52CAFF")!]
12+
var blockquoteBorderColors = [UIColor.systemGray]
1713

1814
/// Blockquote's Background Color
1915
///

Example/Example/EditorDemoController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ class EditorDemoController: UIViewController {
181181
editorView.richTextView.textColor = UIColor.label
182182
editorView.richTextView.blockquoteBackgroundColor = UIColor.secondarySystemBackground
183183
editorView.richTextView.preBackgroundColor = UIColor.secondarySystemBackground
184-
editorView.richTextView.blockquoteBorderColors = [.red, .blue, .green]
184+
editorView.richTextView.blockquoteBorderColors = [.secondarySystemFill, .systemTeal, .systemBlue]
185185
var attributes = editorView.richTextView.linkTextAttributes
186186
attributes?[.foregroundColor] = UIColor.link
187187
} else {

0 commit comments

Comments
 (0)