There is a bug where the conversion of UIColor(Color) does not respect dark/light mode properly, the conversion is lossy with respect to color scheme. I’ve added a small helper that handles this properly, with a safe fallback to UIColor(Color) in the very unlikely event that asset catalog formats change in the future.
There is a bug where the conversion of
UIColor(Color)
does not respect dark/light mode properly, the conversion is lossy with respect to color scheme. I’ve added a small helper that handles this properly, with a safe fallback toUIColor(Color)
in the very unlikely event that asset catalog formats change in the future.Dark Mode Before
Dark Mode After