danielsaidi / RichTextKit

RichTextKit is a Swift SDK that helps you use rich text in Swift and SwiftUI.
MIT License
885 stars 114 forks source link

Disable palette color scheme for symbols #125

Closed danielsaidi closed 8 months ago

danielsaidi commented 8 months ago

In the code base, this has been added:

private extension Image {

    static func symbol(_ name: String) -> Image {
        Image(systemName: name)
            .symbolRenderingMode(.palette)
    }
}

This should not be applied to the default symbol.

However, this seems to be needed for the tint in e.g. the format sheet, so let's fix this in a better way in the next patch.

danielsaidi commented 8 months ago

@DominikBucher12 Very strange :D