Skip to content

feat(ui): apply Sunlit Passport & Vintage Air Mail design system - #6

Merged
btkelly merged 2 commits into
mainfrom
feat/sunlit-passport-design-system
Oct 23, 2026
Merged

btkelly merged 2 commits into
mainfrom
feat/sunlit-passport-design-system

Conversation

@btkelly

@btkelly btkelly commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

Overhauls the application's visual design system to the Sunlit Passport & Vintage Air Mail theme while preserving 100% of existing functionality, unit tests, and open-source compliance rules:

  • Sunlit Parchment Palette & Editorial Typography (src/theme.ts, src/app/globals.css, src/app/layout.tsx):
    • Defaults to a bright, warm parchment light mode (#FAF6EE canvas, #FFFDF9 ivory cards, #DFD5C0 sand borders) paired with a midnight passport-leather dark mode (#0F172A / #16213A) via light-dark().
    • Introduces classic editorial serif headings (Georgia, serif), humanist sans body copy (Inter), monospace cca3 codes/counters, and diagonal Par Avion airmail trim (.airmail-border).
  • Continent Color-Coding (CONTINENT_PALETTE & getRegionAccent):
    • Consistently color-codes Asia (#D95D39), Europe (#1E6091), Americas (#2A7F62), Africa (#C88A2B), and Oceania (#008B8B) across the WorldMap, CountryList cards, postmark stamps, and VisitedCountriesSummary regional pills.
  • Celebrated Visited Cards & Vintage Corner Postmarks (src/components/CountryList.tsx):
    • Removes the opacity: 0.7 fade on visited cards and replaces the centered overlay with a double-ringed corner postmark stamp (★ {cca3} VISITED) with deterministic rotation angles per country code.
  • Cartographic Ocean & Land Map Colors (src/components/WorldMap.tsx):
    • Replaces the monochrome gray map with a sea-glass ocean (#E3F1EF light / #0D1B2A dark), warm parchment landmasses (#EFE8D8 light / #1E2D40 dark), continent-colored visited fills, and a continent ink legend bar.
  • Leaderboard Podium Flair & Explorer Milestones (src/components/Leaderboard.tsx, src/components/VisitedCountriesSummary.tsx):
    • Adds Gold (#1), Silver (#2), and Bronze (#3) podium highlights and inline 24x24 Tabler SVG trophy icons, plus automatic Explorer Milestone badges (Passport Ready, Daytripper, Continent Hopper, Jetsetter, Globetrotter).

Verification

  • npx tsc --noEmit: 0 errors
  • npm run lint: 0 errors
  • npm test: 19/19 test suites passed (126/126 tests)

- Overhaul Mantine theme (src/theme.ts, src/app/globals.css, src/app/layout.tsx) with warm sunlit parchment surfaces (#FAF6EE / #FFFDF9), Pan Am Passport Navy (#1D3557), Postmark Vermilion (#E63946), Sunlit Marigold (#F4A261), Botanical Teal (#2A9D8F), diagonal Par Avion airmail borders, and classic editorial serif headings (with full dark-mode support).

- Add centralized continent color-coding (CONTINENT_PALETTE / getRegionAccent) across WorldMap choropleth fills, CountryList destination cards, vintage corner postmark stamps, and VisitedCountriesSummary regional breakdown pills.

- Remove opacity dimming on visited destination cards and add deterministic hand-stamped postmark rotation angles.

- Add Gold, Silver, and Bronze podium highlights and inline Tabler trophy badges to Leaderboard, plus Explorer Milestone badges to VisitedCountriesSummary.

- Update visual identity documentation in docs/PRODUCT.md.
@btkelly
btkelly merged commit cb1c82e into main Oct 23, 2026
11 checks passed
@btkelly
btkelly deleted the feat/sunlit-passport-design-system branch October 23, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant