Revert stats strip to light weight — 30pt light monospacedDigit
Semibold rounded was wrong. Values are now 30pt light matching the thin numeral style shown in the design screenshot. Co-Authored-By: Kutesir <kutesir@provoc.ug> Co-Authored-By: Sentry <sentry@provoc.ug>
This commit is contained in:
@@ -376,22 +376,23 @@ struct BackupView: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private func compactStat(_ value: String, label: String, color: Color) -> some View {
|
private func compactStat(_ value: String, label: String, color: Color) -> some View {
|
||||||
VStack(spacing: 5) {
|
VStack(spacing: 4) {
|
||||||
Text(value)
|
Text(value)
|
||||||
.font(.system(size: 32, weight: .semibold, design: .rounded))
|
.font(.system(size: 30, weight: .light))
|
||||||
.foregroundStyle(color)
|
.foregroundStyle(color)
|
||||||
|
.monospacedDigit()
|
||||||
Text(label)
|
Text(label)
|
||||||
.font(.system(size: 11, weight: .regular))
|
.font(.system(size: 10, weight: .regular))
|
||||||
.foregroundStyle(AppTheme.inkQuaternary)
|
.foregroundStyle(AppTheme.inkQuaternary)
|
||||||
}
|
}
|
||||||
.frame(maxWidth: .infinity)
|
.frame(maxWidth: .infinity)
|
||||||
.padding(.vertical, 10)
|
.padding(.vertical, 8)
|
||||||
}
|
}
|
||||||
|
|
||||||
private var statDivider: some View {
|
private var statDivider: some View {
|
||||||
Rectangle()
|
Rectangle()
|
||||||
.fill(Color(red: 0.88, green: 0.88, blue: 0.88))
|
.fill(Color(red: 0.88, green: 0.88, blue: 0.88))
|
||||||
.frame(width: 1, height: 44)
|
.frame(width: 1, height: 36)
|
||||||
}
|
}
|
||||||
|
|
||||||
private var thinDivider: some View {
|
private var thinDivider: some View {
|
||||||
|
|||||||
Reference in New Issue
Block a user