Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion apps/apple/CascadeMac/Views/MainWindowView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ struct MainWindowView: View {
.padding(.horizontal, 32)
.padding(.vertical, 28)
}
// The backdrop is always a dark gradient, so pin the window to dark
// mode — otherwise Light-mode label colors (.primary/.secondary)
// render dark-on-dark and become unreadable.
.preferredColorScheme(.dark)
}
}

Expand Down Expand Up @@ -94,7 +98,7 @@ private struct PlayButton: View {
.stroke(.tint.opacity(0.5), lineWidth: 1.5)
Image(systemName: isPlaying ? "pause.fill" : "play.fill")
.font(.system(size: 36, weight: .medium))
.foregroundStyle(isPlaying ? AnyShapeStyle(.tint) : AnyShapeStyle(.background))
.foregroundStyle(isPlaying ? AnyShapeStyle(.tint) : AnyShapeStyle(.white))
}
.frame(width: 132, height: 132)
.shadow(color: .black.opacity(0.25), radius: 12, y: 6)
Expand Down
Loading