This commit is contained in:
Shawn 2023-10-23 18:31:07 -06:00
parent a8f0b43c99
commit b188e77449
3 changed files with 4 additions and 4 deletions

View File

@ -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);
}

View File

@ -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))
}
}

View File

@ -20,7 +20,7 @@ struct WonderousWidgetView : View {
if(showTitle) {
Text("Collection")
.font(.system(size: 15))
.foregroundColor(Colors.offWhiteColor)
.foregroundColor(Colors.offWhite)
}
Spacer();
if(showIcon) {