diff --git a/ios/WonderousWidget/Colors.swift b/ios/WonderousWidget/Colors.swift index efc3a826..e64aac14 100644 --- a/ios/WonderousWidget/Colors.swift +++ b/ios/WonderousWidget/Colors.swift @@ -2,8 +2,8 @@ import Foundation import SwiftUI struct Colors { - static let accentColor:Color = Color(red: 0.89, green: 0.58, blue: 0.36) - static let offWhiteColor:Color = Color(red: 0.97, green: 0.92, blue: 0.9) + static let accent:Color = Color(red: 0.89, green: 0.58, blue: 0.36) + static let offWhite:Color = Color(red: 0.97, green: 0.92, blue: 0.9) static let mediumGrey:Color = Color(red: 0.62, green: 0.6, blue: 0.58) static let darkGrey:Color = Color(red: 0.32, green: 0.31, blue: 0.3); } diff --git a/ios/WonderousWidget/WonderWidgetViewComponents.swift b/ios/WonderousWidget/WonderWidgetViewComponents.swift index c41d5616..4ce3f066 100644 --- a/ios/WonderousWidget/WonderWidgetViewComponents.swift +++ b/ios/WonderousWidget/WonderWidgetViewComponents.swift @@ -40,7 +40,7 @@ struct GaugeProgressStyle: ProgressViewStyle { .stroke(Colors.darkGrey, style: StrokeStyle(lineWidth: 2)) Circle() .trim(from: 0, to: fractionCompleted) - .stroke(Colors.accentColor, style: StrokeStyle(lineWidth: 4, lineCap: .round)) + .stroke(Colors.accent, style: StrokeStyle(lineWidth: 4, lineCap: .round)) .rotationEffect(.degrees(90)) } } diff --git a/ios/WonderousWidget/WonderousWidgetView.swift b/ios/WonderousWidget/WonderousWidgetView.swift index 5a09e46c..baa58166 100644 --- a/ios/WonderousWidget/WonderousWidgetView.swift +++ b/ios/WonderousWidget/WonderousWidgetView.swift @@ -20,7 +20,7 @@ struct WonderousWidgetView : View { if(showTitle) { Text("Collection") .font(.system(size: 15)) - .foregroundColor(Colors.offWhiteColor) + .foregroundColor(Colors.offWhite) } Spacer(); if(showIcon) {