gonzalezreal / swift-markdown-ui

Display and customize Markdown text in SwiftUI
MIT License
2.44k stars 298 forks source link

Ambiguous use of 'init(light:dark:) #265

Closed iTarek closed 11 months ago

iTarek commented 11 months ago

With the new XCode I can not use init(light:dark:) on my own custom theme I get error

Ambiguous use of 'init(light:dark:)' Screenshot 2023-10-07 at 2 04 40 AM

It was working good before I update my XCode also updated to the latest swift-markdown-ui. Any solution?

gonzalezreal commented 11 months ago

Hey @iTarek,

I cannot reproduce that issue. Could it be that you have the same extension on Color but introduced by another dependency, causing the ambiguity?