You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be able to store the color better than what we currently do. We still need to preserve backwards compatibility, so we can first try loading it as Color.Resolved and if it fails, we can use the old way.
Color.Resolved is Codable, so we should use that for the serialization.
The text was updated successfully, but these errors were encountered:
Hmm, actually, this means it would not be able to preserve colors that contain both light and dark variants. I wonder if that is currently supported with our current method.
https://developer.apple.com/documentation/swiftui/color/resolve(in:)
https://developer.apple.com/documentation/swiftui/color/resolved
It should be able to store the color better than what we currently do. We still need to preserve backwards compatibility, so we can first try loading it as
Color.Resolved
and if it fails, we can use the old way.Color.Resolved
isCodable
, so we should use that for the serialization.The text was updated successfully, but these errors were encountered: