Rewrite the Mail feature to match the Apple-native look from the handoff spec: lane-split inbox, AI summary card, clean ThreadRow, Cc/From + format toolbar in Compose. Drop the gradient hero surfaces and blurred canvas backgrounds the spec calls out as anti-patterns, and introduce a token-backed design layer so the lane palette and SIO tint live in the asset catalog. - Add Assets.xcassets with SIOTint, LaneFeed, LanePaper, LanePeople (light + dark variants). - Add Sources/Core/Design/SIODesign.swift: SIO tokens, Lane enum, LaneChip, AvatarView, AISummaryCard, KeyboardHint, button styles, and a glass-chrome helper with iOS 26 / material fallback. - Extend MailThread with lane + summary; custom Codable keeps old payloads decodable. Seed mock threads with sensible lanes and hand-write summaries on launch-copy, investor-update, roadmap-notes. - Add lane filtering to AppViewModel (selectedLane, selectLane, laneUnreadCount, laneThreadCount). - Rewrite MailRootView end to end: sidebar with Inbox/lane rows, lane filter strip, Apple-native ThreadRow (avatar, unread dot, lane chip, summary chip), ThreadReadingView with AI summary + floating reply pill, ComposeView with To/Cc/From/Subject and a format toolbar. - Wire Assets.xcassets + SIODesign.swift into project.pbxproj. Accessibility identifiers preserved byte-identical; new ones (mailbox.lane.*, lane.chip.*) added only where new. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
39 lines
695 B
JSON
39 lines
695 B
JSON
{
|
|
"colors" : [
|
|
{
|
|
"color" : {
|
|
"color-space" : "srgb",
|
|
"components" : {
|
|
"alpha" : "1.000",
|
|
"blue" : "0.345",
|
|
"green" : "0.820",
|
|
"red" : "0.188"
|
|
}
|
|
},
|
|
"idiom" : "universal"
|
|
},
|
|
{
|
|
"appearances" : [
|
|
{
|
|
"appearance" : "luminosity",
|
|
"value" : "dark"
|
|
}
|
|
],
|
|
"color" : {
|
|
"color-space" : "srgb",
|
|
"components" : {
|
|
"alpha" : "1.000",
|
|
"blue" : "0.447",
|
|
"green" : "0.847",
|
|
"red" : "0.392"
|
|
}
|
|
},
|
|
"idiom" : "universal"
|
|
}
|
|
],
|
|
"info" : {
|
|
"author" : "xcode",
|
|
"version" : 1
|
|
}
|
|
}
|