SwiftUI AccentColor Between Targets

Viewed 68

Is it possible to share the accent color between targets?

Color.accentColor
1 Answers

AccentColor is kept in Assets.xcassets file by default. And you can decide its source name in Project>Buid Settings>Global Accent Color Name. So, you can create an .xcassets file, share between your targets and set your AccentColor in this file.

Related