// A section's heading as the link to all of it — the board's sections and a// group's stack draw it.importCottonKitimportSwiftUI/// A section's heading AS the link to all of it: the kit's `PaperSection`/// lockup — the name in the serif, the hairline, the handwritten "3 of 12" —/// with a chevron after the count, the person page's own "See all" mark/// (`PersonSectionHeading`). The whole heading opens the list; the chevron is/// what says so.structProjectSectionHeading: View { @Environment(\.theme) privatevar themelet title: Stringlet count: String?var body: someView { HStack(alignment: .center, spacing: SectionHeadingKnobs.sectionHeadingChevronGap) {PaperSection(title: title, count: count)Image(systemName: "chevron.right") .font(theme.type.interface(SectionHeadingKnobs.sectionHeadingChevronSize, weight: .semibold)) .foregroundStyle(theme.print(.pencil)) .padding(.trailing, SectionHeadingKnobs.sectionHeadingChevronTrailingInset) } .frame(minHeight: SectionHeadingKnobs.sectionHeadingMinHeight) }}/// The sizes, counts and timings SectionHeading draws with: Swift's own, beside/// their reader — a theme sets only its tokens (`scale.tokens`).enumSectionHeadingKnobs {staticlet sectionHeadingChevronGap: CGFloat = 3staticlet sectionHeadingChevronSize: CGFloat = 9staticlet sectionHeadingChevronTrailingInset: CGFloat = 2staticlet sectionHeadingMinHeight: CGFloat = 32}