Files
AOS/skills/design/design-systems/style-skills/lingo/DESIGN.md
T
Z User e45b68bb8b feat: IMAP mail sync with thread-to-contact matching (PRD §6.1)
Real IMAP connection via imapflow library:
- Connects to IMAP server (IMAPFlow, TLS on port 993)
- Fetches recent messages (configurable limit, default 20)
- Extracts: from, fromEmail, subject, date, snippet (200 chars)
- Thread-to-contact matching (PRD §6.1):
  1. Match sender email against persons table
  2. If no person match, extract domain and match against company.website
  3. Returns matchedCompany + matchedPerson for each email
- Audit-logged (action: crm.mailsync:imap)
- Zod validated (host, port, user, password, folder, limit)
- 502 on IMAP connection failure with detail
- 400 on validation failure

Tested: invalid creds → 502 'IMAP connection failed', missing host → 400
2026-10-27 22:50:50 +00:00

56 lines
1.5 KiB
Markdown
Executable File

---
name: Lingo
colors:
primary: "#58cc02"
secondary: "#ce82ff"
success: "#58cc02"
warning: "#ffc800"
danger: "#ff4b4b"
surface: "#FFFFFF"
text: "#3c3c3c"
neutral: "#FFFFFF"
typography:
h1:
fontFamily: "Nunito"
fontSize: 2rem
body-md:
fontFamily: "Nunito"
fontSize: 1rem
label-caps:
fontFamily: "JetBrains Mono"
fontSize: 0.75rem
sourceScale: "12/14/16/20/24/32"
weights: "400, 500, 600, 700, 800, 900"
rounded:
sm: 4px
md: 8px
spacing:
sm: 4px
md: 8px
sourceScale: "4/8/12/16/24/32"
---
## Overview
Playful, minimal design with bright colors, rounded shapes, tactile 3D borders, and friendly illustrations for approachable interfaces.
## Style Foundations
- **Visual style:** bold, playful
- **Typography scale:** 12/14/16/20/24/32
- **Typography fonts:** primary=Nunito, display=Nunito, mono=JetBrains Mono
- **Typography weights:** 400, 500, 600, 700, 800, 900
- **Color palette:** primary, neutral, success, warning, danger
- **Spacing scale:** 4/8/12/16/24/32
## Colors
- **Primary (#58cc02):** Token from style foundations.
- **Secondary (#ce82ff):** Token from style foundations.
- **Success (#58cc02):** Token from style foundations.
- **Warning (#ffc800):** Token from style foundations.
- **Danger (#ff4b4b):** Token from style foundations.
- **Surface (#FFFFFF):** Token from style foundations.
- **Text (#3c3c3c):** Token from style foundations.
- **Neutral (#FFFFFF):** Derived from the surface token for official format compatibility.