You can export every color shade to a Swift file on your computer, regarding the framework you use for building UI in your Xcode project. Learn more about Color Structure on the Apple Developer Documentation.
The export file follows this model:
import SwiftUI
public extension Color {
static let Token = Color.TokenColor()
struct TokenColor {
// themeName - sourceColorName
public let themeNameSourceColorNameStopName = Color(red: 0.133, green: 0.329, blue: 0.961)
...
}
}
import UIKit
struct Color {
struct ThemeName {
// sourceColorName
public let SourceColorNameStopName = Color(red: 0.133, green: 0.329, blue: 0.961)
...
}
}