mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 20:09:04 +00:00
Use the UIColors directly instead of wrapping the SwiftUI Colors. (#3324)
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Combine
|
||||
import Compound
|
||||
import HTMLParser
|
||||
import SwiftUI
|
||||
import WysiwygComposer
|
||||
@@ -207,14 +208,14 @@ enum ComposerConstant {
|
||||
private extension HTMLParserStyle {
|
||||
static let elementX = HTMLParserStyle(textColor: UIColor.label,
|
||||
linkColor: UIColor.link,
|
||||
codeBlockStyle: BlockStyle(backgroundColor: UIColor(.compound._bgCodeBlock),
|
||||
borderColor: UIColor(.compound.borderInteractiveSecondary),
|
||||
codeBlockStyle: BlockStyle(backgroundColor: UIColor.compound._bgCodeBlock,
|
||||
borderColor: UIColor.compound.borderInteractiveSecondary,
|
||||
borderWidth: 1.0,
|
||||
cornerRadius: 2.0,
|
||||
padding: BlockStyle.Padding(horizontal: 10, vertical: 12),
|
||||
type: .background),
|
||||
quoteBlockStyle: BlockStyle(backgroundColor: UIColor(.compound.iconTertiary),
|
||||
borderColor: UIColor(.compound.borderInteractiveSecondary),
|
||||
quoteBlockStyle: BlockStyle(backgroundColor: UIColor.compound.iconTertiary,
|
||||
borderColor: UIColor.compound.borderInteractiveSecondary,
|
||||
borderWidth: 0.0,
|
||||
cornerRadius: 0.0,
|
||||
padding: BlockStyle.Padding(horizontal: 25, vertical: 12),
|
||||
|
||||
Reference in New Issue
Block a user