diff --git a/Coder Desktop/Coder Desktop/VPNMenuState.swift b/Coder Desktop/Coder Desktop/VPNMenuState.swift index e3afa9a..69817e8 100644 --- a/Coder Desktop/Coder Desktop/VPNMenuState.swift +++ b/Coder Desktop/Coder Desktop/VPNMenuState.swift @@ -33,7 +33,7 @@ enum AgentStatus: Int, Equatable, Comparable { case .okay: .green case .warn: .yellow case .error: .red - case .off: .gray + case .off: .secondary } } diff --git a/Coder Desktop/Coder Desktop/Views/Agents.swift b/Coder Desktop/Coder Desktop/Views/Agents.swift index d44d95a..0ca6575 100644 --- a/Coder Desktop/Coder Desktop/Views/Agents.swift +++ b/Coder Desktop/Coder Desktop/Views/Agents.swift @@ -21,7 +21,7 @@ struct Agents: View { if items.count == 0 { Text("No workspaces!") .font(.body) - .foregroundColor(.gray) + .foregroundColor(.secondary) .padding(.horizontal, Theme.Size.trayInset) .padding(.top, 2) } @@ -30,7 +30,7 @@ struct Agents: View { Toggle(isOn: $viewAll) { Text(viewAll ? "Show less" : "Show all") .font(.headline) - .foregroundColor(.gray) + .foregroundColor(.secondary) .padding(.horizontal, Theme.Size.trayInset) .padding(.top, 2) }.toggleStyle(.button).buttonStyle(.plain) diff --git a/Coder Desktop/Coder Desktop/Views/VPNMenu.swift b/Coder Desktop/Coder Desktop/Views/VPNMenu.swift index e2f6771..5b3810d 100644 --- a/Coder Desktop/Coder Desktop/Views/VPNMenu.swift +++ b/Coder Desktop/Coder Desktop/Views/VPNMenu.swift @@ -30,7 +30,7 @@ struct VPNMenu: View { Divider() Text("Workspaces") .font(.headline) - .foregroundColor(.gray) + .foregroundColor(.secondary) VPNState() }.padding([.horizontal, .top], Theme.Size.trayInset) Agents() diff --git a/Coder Desktop/Coder Desktop/Views/VPNMenuItem.swift b/Coder Desktop/Coder Desktop/Views/VPNMenuItem.swift index 43aac47..b43e7c5 100644 --- a/Coder Desktop/Coder Desktop/Views/VPNMenuItem.swift +++ b/Coder Desktop/Coder Desktop/Views/VPNMenuItem.swift @@ -56,7 +56,7 @@ struct MenuItemView: View { var formattedName = AttributedString(name) formattedName.foregroundColor = .primary if let range = formattedName.range(of: ".coder") { - formattedName[range].foregroundColor = .gray + formattedName[range].foregroundColor = .secondary } return formattedName } diff --git a/Coder Desktop/Coder Desktop/Views/VPNState.swift b/Coder Desktop/Coder Desktop/Views/VPNState.swift index 1424d43..8ef4e2b 100644 --- a/Coder Desktop/Coder Desktop/Views/VPNState.swift +++ b/Coder Desktop/Coder Desktop/Views/VPNState.swift @@ -12,15 +12,15 @@ struct VPNState: View { case (.failed(.systemExtensionError(.needsUserApproval)), _): Text("Awaiting System Extension approval") .font(.body) - .foregroundStyle(.gray) + .foregroundStyle(.secondary) case (_, false): Text("Sign in to use CoderVPN") .font(.body) - .foregroundColor(.gray) + .foregroundColor(.secondary) case (.disabled, _): Text("Enable CoderVPN to see workspaces") .font(.body) - .foregroundStyle(.gray) + .foregroundStyle(.secondary) case (.connecting, _), (.disconnecting, _): HStack { Spacer()