Hi, this is my code :
import SwiftUI
struct ColorManager { // create static variables for custom colors
static let spotifyGreen = Color("SpotifyGreen")
//... add the rest of your colors here}
// Or you can use an extension// this will allow you to just type .spotifyGreen and you wont have to use
ColorManager.spotifyGreenextension Color {
static let spotifyGreen = Color("SpotifyGreen") // ... add the rest of your colors here}
Topic:
App & System Services
SubTopic:
Core OS
Tags: