Use fully monospaced score field and tone series score down to secondary
Switch the score Text from .monospacedDigit() to .monospaced() so the dash in the "- : -" pre-game placeholder takes the same character cell as a digit — home logos now line up across upcoming and finished games. Series scores keep the dash (it reads as series progress, not a goal total) but match game scores in secondary color so they sit visually behind the tricodes.
This commit is contained in:
@@ -48,7 +48,7 @@ struct GameRow: View {
|
|||||||
.fixedSize()
|
.fixedSize()
|
||||||
|
|
||||||
Text(showScore ? scoreText : "- : -")
|
Text(showScore ? scoreText : "- : -")
|
||||||
.font(.title3.monospacedDigit())
|
.font(.title3.monospaced())
|
||||||
.fontWeight(.bold)
|
.fontWeight(.bold)
|
||||||
.foregroundStyle(.secondary)
|
.foregroundStyle(.secondary)
|
||||||
.lineLimit(1)
|
.lineLimit(1)
|
||||||
|
|||||||
@@ -38,9 +38,9 @@ struct SeriesRow: View {
|
|||||||
.lineLimit(1)
|
.lineLimit(1)
|
||||||
.fixedSize()
|
.fixedSize()
|
||||||
Text(seriesScore)
|
Text(seriesScore)
|
||||||
.font(.title3.monospacedDigit())
|
.font(.title3.monospaced())
|
||||||
.fontWeight(.bold)
|
.fontWeight(.bold)
|
||||||
.foregroundStyle(.primary)
|
.foregroundStyle(.secondary)
|
||||||
.lineLimit(1)
|
.lineLimit(1)
|
||||||
.fixedSize()
|
.fixedSize()
|
||||||
.padding(.horizontal, 2)
|
.padding(.horizontal, 2)
|
||||||
|
|||||||
Reference in New Issue
Block a user