Scale storage stat card values to match design — 36pt rounded

26pt semibold monospaced → 36pt semibold rounded, matching
the screenshot proportions. Removed monospacedDigit, increased
vertical cell padding to 22pt.

Co-Authored-By: Kutesir <kutesir@provoc.ug>
Co-Authored-By: Sentry <sentry@provoc.ug>
This commit is contained in:
Robin Kutesa
2026-05-21 14:20:33 +03:00
parent 76c1189412
commit e8cb48b6d0

View File

@@ -998,19 +998,17 @@ struct BackupView: View {
// MARK: Storage helpers // MARK: Storage helpers
private func storageStat(_ value: String, label: String, color: Color) -> some View { private func storageStat(_ value: String, label: String, color: Color) -> some View {
VStack(spacing: 5) { VStack(spacing: 6) {
Text(value) Text(value)
.font(.system(size: 26, weight: .semibold)) .font(.system(size: 36, weight: .semibold, design: .rounded))
.foregroundStyle(color) .foregroundStyle(color)
.monospacedDigit()
.kerning(-0.5)
Text(label) Text(label)
.font(.system(size: 9, weight: .regular, design: .monospaced)) .font(.system(size: 10, weight: .regular, design: .monospaced))
.foregroundStyle(AppTheme.inkQuaternary) .foregroundStyle(AppTheme.inkQuaternary)
.tracking(1.5) .tracking(1.5)
} }
.frame(maxWidth: .infinity) .frame(maxWidth: .infinity)
.padding(.vertical, 18) .padding(.vertical, 22)
} }
private func storageLegend(color: Color, label: String) -> some View { private func storageLegend(color: Color, label: String) -> some View {