diff options
Diffstat (limited to 'DomainDigWidget')
| -rw-r--r-- | DomainDigWidget/DomainDigPortfolioWidget.swift | 18 | ||||
| -rw-r--r-- | DomainDigWidget/SweepLiveActivity.swift | 10 |
2 files changed, 14 insertions, 14 deletions
diff --git a/DomainDigWidget/DomainDigPortfolioWidget.swift b/DomainDigWidget/DomainDigPortfolioWidget.swift index a3335c8..37a96a0 100644 --- a/DomainDigWidget/DomainDigPortfolioWidget.swift +++ b/DomainDigWidget/DomainDigPortfolioWidget.swift @@ -61,10 +61,10 @@ struct DomainDigWidgetView: View { VStack(spacing: 6) { Image(systemName: "magnifyingglass") .font(.title2) - .foregroundStyle(.secondary) + .foregroundStyle(Color(.appTextSecondary)) Text("No tracked domains") .font(.caption) - .foregroundStyle(.secondary) + .foregroundStyle(Color(.appTextSecondary)) .multilineTextAlignment(.center) } } @@ -80,13 +80,13 @@ struct DomainDigWidgetView: View { Spacer() } .font(.caption2) - .foregroundStyle(.secondary) + .foregroundStyle(Color(.appTextSecondary)) Text("\(data.totalDomains)") .font(.system(size: 34, weight: .bold, design: .rounded)) Text("tracked") .font(.caption2) - .foregroundStyle(.secondary) + .foregroundStyle(Color(.appTextSecondary)) Spacer(minLength: 0) @@ -113,11 +113,11 @@ struct DomainDigWidgetView: View { Label("Domain Portfolio", systemImage: "shield.lefthalf.filled") .font(.caption) .fontWeight(.semibold) - .foregroundStyle(.secondary) + .foregroundStyle(Color(.appTextSecondary)) Spacer() Text("\(data.totalDomains) tracked") .font(.caption2) - .foregroundStyle(.secondary) + .foregroundStyle(Color(.appTextSecondary)) } HStack(spacing: 12) { @@ -147,7 +147,7 @@ struct DomainDigWidgetView: View { .foregroundStyle(color) Text(label) .font(.system(size: 9)) - .foregroundStyle(.secondary) + .foregroundStyle(Color(.appTextSecondary)) } .frame(maxWidth: .infinity, alignment: .leading) } @@ -160,7 +160,7 @@ struct DomainDigWidgetView: View { if domain.isPinned { Image(systemName: "pin.fill") .font(.system(size: 8)) - .foregroundStyle(.secondary) + .foregroundStyle(Color(.appTextSecondary)) } Text(domain.domain) .font(.caption) @@ -168,7 +168,7 @@ struct DomainDigWidgetView: View { Spacer(minLength: 4) Text(certLabel(for: domain)) .font(.caption2) - .foregroundStyle(.secondary) + .foregroundStyle(Color(.appTextSecondary)) } } diff --git a/DomainDigWidget/SweepLiveActivity.swift b/DomainDigWidget/SweepLiveActivity.swift index b96f8bf..900ebc1 100644 --- a/DomainDigWidget/SweepLiveActivity.swift +++ b/DomainDigWidget/SweepLiveActivity.swift @@ -14,7 +14,7 @@ struct SweepLiveActivity: Widget { DynamicIslandExpandedRegion(.leading) { Label(context.attributes.title, systemImage: "arrow.trianglehead.2.clockwise") .font(.caption) - .foregroundStyle(.secondary) + .foregroundStyle(Color(.appTextSecondary)) } DynamicIslandExpandedRegion(.trailing) { Text("\(context.state.completed)/\(context.state.total)") @@ -28,7 +28,7 @@ struct SweepLiveActivity: Widget { if let current = context.state.currentDomain { Text(current) .font(.caption2) - .foregroundStyle(.secondary) + .foregroundStyle(Color(.appTextSecondary)) .lineLimit(1) } } @@ -58,7 +58,7 @@ private struct SweepActivityBannerView: View { Label(context.attributes.title, systemImage: "arrow.trianglehead.2.clockwise") .font(.caption) .fontWeight(.semibold) - .foregroundStyle(.secondary) + .foregroundStyle(Color(.appTextSecondary)) Spacer() Text("\(context.state.completed) of \(context.state.total)") .font(.caption) @@ -72,12 +72,12 @@ private struct SweepActivityBannerView: View { if let current = context.state.currentDomain { Text(current) .font(.caption2) - .foregroundStyle(.secondary) + .foregroundStyle(Color(.appTextSecondary)) .lineLimit(1) } else { Text(context.state.completed >= context.state.total ? "Finished" : "Working…") .font(.caption2) - .foregroundStyle(.secondary) + .foregroundStyle(Color(.appTextSecondary)) } Spacer() if context.state.changed > 0 { |
