krz/domain-dig
an ios app for DNS & SSL analysis
clone: git clone https://gitbay.org/krz/domain-dig.git
1c2830fbfc8cccfc0c585ec2356467bb95bc1642
unsigned
author: Christian Cleberg <hello@cleberg.net> · 2026-07-21T02:02:28Z
DomainDig/ContentView.swift | 2 +- DomainDig/DashboardView.swift | 6 +++++- DomainDig/DomainDigUI.swift | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) @@ -1779,7 +1779,7 @@ struct SubdomainsSectionView: View { .foregroundStyle(Color(.statusWarning)) .padding(.horizontal, 8) .padding(.vertical, 4) - .background(Color(.statusWarning).opacity(0.14)) + .background(Color(.statusWarningSurface)) .clipShape(Capsule()) } } @@ -215,9 +215,13 @@ struct DashboardView: View { private func cardBackground(for filter: PortfolioFilterOption) -> some ShapeStyle { if viewModel.dashboardFilter == filter { + // Uses the authored info surface rather than a translucent wash of + // the accent. `statusInfo` at 28% over a light background renders + // lavender, not blue — an artefact of carrying a dark-only opacity + // trick into light mode. return AnyShapeStyle( LinearGradient( - colors: [Color(.statusInfo).opacity(0.28), Color(.statusInfo).opacity(0.12)], + colors: [Color(.statusInfoSurface), Color(.appSurface)], startPoint: .topLeading, endPoint: .bottomTrailing ) @@ -466,7 +466,7 @@ struct TagFilterChipRowView: View { .font(.caption) .padding(.horizontal, 10) .padding(.vertical, 5) - .background(isSelected ? Color(.statusInfo).opacity(0.3) : Color(.appSurfaceElevated), in: Capsule()) + .background(isSelected ? Color(.statusInfoSurface) : Color(.appSurfaceElevated), in: Capsule()) .foregroundStyle(isSelected ? Color(.statusInfo) : Color.primary) } .buttonStyle(.plain)