// A `figure` part on Home (a business's "Cash taken today", 19 Oct 2026): its // heading, and the line the core works out and says in the part's own words // (`parts.board`'s `figure`) — the app composes nothing. No // line is silence: the heading stands alone until the day has something. import CottonKit import CottonValues import SwiftUI struct BoardFigurePart: View { let heading: String let line: String? @Environment(\.theme) private var theme var body: some View { VStack(alignment: .leading, spacing: BoardFigureKnobs.lineGap) { PaperSection(title: heading) if let line { Text(line) .font(theme.type.body(BoardFigureKnobs.lineSize)) .foregroundStyle(theme.colors.ink.color) } } .accessibilityElement(children: .combine) .accessibilityIdentifier("home-figure") .modifier(UnreadUnderTheFan()) } } enum BoardFigureKnobs { static let lineGap: CGFloat = 6 static let lineSize: CGFloat = 17 }