Skip to content

Commit

Permalink
UI Fixes & Improvements
Browse files Browse the repository at this point in the history
- Fix the background not covering entire window
- Make clock a bit bolder
  • Loading branch information
asboy2035 committed Jan 4, 2025
1 parent 9106bd8 commit c27d600
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions SitStandTimer.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@
CODE_SIGN_ENTITLEMENTS = SitStandTimer/SitStandTimer.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 2;
CURRENT_PROJECT_VERSION = 3;
DEVELOPMENT_ASSET_PATHS = "\"SitStandTimer/Preview Content\"";
DEVELOPMENT_TEAM = UCN29PZL3V;
ENABLE_HARDENED_RUNTIME = YES;
Expand Down Expand Up @@ -433,7 +433,7 @@
CODE_SIGN_ENTITLEMENTS = SitStandTimer/SitStandTimer.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 2;
CURRENT_PROJECT_VERSION = 3;
DEVELOPMENT_ASSET_PATHS = "\"SitStandTimer/Preview Content\"";
DEVELOPMENT_TEAM = UCN29PZL3V;
ENABLE_HARDENED_RUNTIME = YES;
Expand Down
Binary file not shown.
8 changes: 4 additions & 4 deletions SitStandTimer/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ struct LargeClockView: View {
var body: some View {
Text(timeString(from: currentTime))
.font(.system(size: 96, design: .monospaced))
.fontWeight(.light)
.foregroundColor(.gray)
.fontWeight(.regular)
}

private func timeString(from date: Date) -> String {
Expand Down Expand Up @@ -78,7 +77,8 @@ struct ContentView: View {
NormalModeView(timerManager: timerManager, sittingTime: $sittingTime, standingTime: $standingTime)
}
}
.frame(width: isFullScreen ? nil : 450, height: isFullScreen ? nil : 400)
// .frame(width: isFullScreen ? nil : 450, height: isFullScreen ? nil : 400)
// .background(VisualEffectView(material: .sidebar, blendingMode: .behindWindow))
.onReceive(timer) { input in
currentTime = input
}
Expand Down Expand Up @@ -159,7 +159,7 @@ struct IdleModeView: View {
LargeClockView(currentTime: currentTime)
Spacer()
}
.padding(.bottom, 20)
.padding(.bottom, 40)
.padding(.leading, 40)
}
.padding()
Expand Down

0 comments on commit c27d600

Please sign in to comment.