danielsaidi / RichTextKit

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

Disable palette color scheme for symbols #125

Closed danielsaidi closed 9 months ago

danielsaidi commented 10 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 10 months ago

@DominikBucher12 Very strange :D