//
//  GameThemeExtensions.swift
//  MemoryCardGame
//
//  Created by Felipe on 24/09/21.
//

import SwiftUI

extension GameTheme.Color {
    var value: Color {
        get {
            switch self {
            case .red:
                return Color.red
            case .blue:
                return Color.blue
            case .orange:
                return Color.orange
            case .black:
                return Color.black
            case .gray:
                return Color.gray
            case .purple:
                return Color.purple
            case .yellow:
                return Color.yellow
            }
        }
    }
}
