iOS apps

De Groenteman

One brand green on standard iOS system backgrounds (secondarySystemBackground cards, radius 12 to 24), with illustrated round mascot avatars and a swipeable recipe card.

SwiftUI, iOS 17 (XcodeGen), GroenteKit Swift package ~/Projects/DeGroenteman
This project keeps its own design (Niels, 30-11-2026). This page records it; the source files below stay the truth. When a value here and the code disagree, the code wins and this page needs an update.

Colour

Also: Color(.secondarySystemBackground) (card and bubble background throughout); Color(.tertiarySystemFill) (photo placeholder, unearned badge, progress track); Color(.systemBackground) (inner tiles, round decision buttons, badge popup)

Typography

all UI via text styles; footnote and headline most used
De Groenteman: Aa Bb 0123
SF Pro (system) · regular, medium, semibold, bold · system
recipe leaflet card via .fontDesign(.serif)
De Groenteman: Aa Bb 0123
New York (system serif) · regular, semibold · system
Type scale
NameValue
screen title.largeTitle / .title.weight(.bold)
card title.title, .headline
price line.subheadline.weight(.semibold).monospacedDigit()
decision button symbol.system(size: 26, weight: .bold)
badge popup symbol.system(size: 40)
meta.subheadline, .footnote, .caption

Shape and space

Radius
  • 24 (Tonight recipe card)
  • 28 (badge popup)
  • 20 (swipe card content shape)
  • 18 (deals section, settings highlight)
  • 16 (bubble, progress tiles, recipe sections)
  • 14 (option tiles, settings rows, feedback)
  • 12 (small tiles, photos)
  • 10 (saved photo, swipe stamp)
  • 4 (leaflet card)
  • capsule (chips, buttons)
  • circle (avatars, decision buttons)
Spacing and widths
  • FlowLayout spacing 8
  • bubble padding 12, HStack spacing 12
  • avatar grid spacing 12, adaptive min 96
  • leaflet padding 20 inside, 16 outside
Shadows
  • badge popup: .black.opacity(0.2), radius 20, y 8
  • decision row: .black.opacity(0.15), radius 8, y 3
  • round decision buttons: .black.opacity(0.12), radius 6, y 3

Components

  • GroentemanBubble: round mascot avatar next to a speech card on secondarySystemBackground, radius 16
  • GroentemanAvatar: six illustrated characters (cap, bietje, prei, erwin, tomasa, kooning), image assets clipped to a circle, three unlocked by badges
  • Tonight swipe card with yes/no stamps and round decision buttons
  • RecipeLabels: capsule chips at accent 12% with info icon
  • Leaflet card: serif text, dashed border, radius 4
  • Progress: veggie meter with green gradient bar, stat tiles, badges

Where it comes from

  • /Users/nielskorte/Projects/DeGroenteman/ios/App/Resources/Assets.xcassets/BrandGreen.colorset/Contents.json
  • /Users/nielskorte/Projects/DeGroenteman/ios/App/Resources/Assets.xcassets/AccentColor.colorset/Contents.json
  • /Users/nielskorte/Projects/DeGroenteman/ios/App/Views/Components.swift
  • /Users/nielskorte/Projects/DeGroenteman/ios/App/Views/GroentemanArt.swift
  • /Users/nielskorte/Projects/DeGroenteman/ios/App/Views/TonightView.swift
  • /Users/nielskorte/Projects/DeGroenteman/ios/App/Views/ProgressScreen.swift
  • /Users/nielskorte/Projects/DeGroenteman/ios/App/Views/LeafletViews.swift
  • /Users/nielskorte/Projects/DeGroenteman/CLAUDE.md
  • /Users/nielskorte/Projects/DeGroenteman/README.md
Notes
  • BrandGreen has no dark variant, while AccentColor does (#73D195); most of the code uses BrandGreen directly, so dark mode mostly shows the light green.
  • Mascot images were made with OpenAI's image model per a code comment (data/groente/mascot.py); not copied here.