docs(audit): update design system audit with full remediation results (41% → 65%)
This commit is contained in:
parent
91a651805c
commit
a5d1c5f0b9
@ -972,34 +972,60 @@ ChronoMind already loaded fonts via `next/font` (Inter + JetBrains Mono — a de
|
||||
|
||||
**Impact:** Canonical font stack now actually renders in 7/8 product web apps (was 0/8 before, falling back to system fonts).
|
||||
|
||||
### G.5 Updated Score Summary
|
||||
### G.5 Font Variable Wiring (7 apps)
|
||||
|
||||
| Dimension | Before | After | Change |
|
||||
| ------------------------------- | ------ | ------- | ------ |
|
||||
| **Token Foundation** | 75% | **92%** | +17 |
|
||||
| **Token Adoption (Web)** | 35% | **60%** | +25 |
|
||||
| **Token Adoption (Mobile)** | 30% | **45%** | +15 |
|
||||
| **Accessibility (WCAG 2.1 AA)** | 8% | **18%** | +10 |
|
||||
| **Dark/Light Theme** | 30% | **50%** | +20 |
|
||||
| **Overall Completeness** | 41% | **55%** | +14 |
|
||||
Updated all product `globals.css` font-family declarations to reference `var(--font-display)`, `var(--font-body)`, `var(--font-mono)` from `next/font` as primary, with token values as fallback. Fixed 2 apps (LocalMemGPT, LLM Lab) that used hardcoded system fonts for `body`.
|
||||
|
||||
### G.6 Remaining Items for 100%
|
||||
### G.6 `prefers-reduced-motion` Added (8 apps)
|
||||
|
||||
| Item | Priority | Status | Effort |
|
||||
| ---------------------------------------------------- | -------- | ----------------------- | ------------- |
|
||||
| Create `@bytelyst/ui` shared component library | P0 | Not started | 2-3 weeks |
|
||||
| Copy generated native tokens into iOS/Android apps | P0 | Generated, not deployed | 1 day per app |
|
||||
| Add shadcn/ui to product web apps | P1 | 0/8 apps | 1 week |
|
||||
| NomGap RN: replace 337 hardcoded hex values | P1 | Not started | 2-3 days |
|
||||
| Responsive design (breakpoints, collapsible sidebar) | P2 | Not started | 1 week |
|
||||
| Automated a11y testing (`@axe-core/playwright`) | P2 | Not started | 2 days |
|
||||
| Visual regression testing (Playwright screenshots) | P2 | Not started | 2 days |
|
||||
| Storybook for `@bytelyst/ui` | P3 | Not started | 1 week |
|
||||
| Token drift CI check (generated file diffing) | P3 | Not started | 1 day |
|
||||
Added global `@media (prefers-reduced-motion: reduce)` that disables all animations, transitions, and smooth scrolling when the user has "Reduce motion" enabled in OS settings.
|
||||
|
||||
### G.7 Semantic HTML Landmarks (3 apps)
|
||||
|
||||
Added `aria-label` to `<aside>` and `<nav>` elements in FlowMonk, ActionTrail, and NomGap Sidebar components. Other apps (JarvisJr, NoteLett, ChronoMind, LLM Lab, LocalMemGPT) already had proper landmark labels.
|
||||
|
||||
### G.8 Skip-to-Content Link (8 apps)
|
||||
|
||||
Added WCAG-compliant skip-to-content link to all 8 product web `layout.tsx` files + matching `.skip-to-content` CSS class in `globals.css`. The link is invisible until focused via keyboard (Tab), then appears as a styled pill in the top-left corner using product accent colors.
|
||||
|
||||
### G.9 Native Token Deployment
|
||||
|
||||
Copied generated Swift + Kotlin theme files to their target directories in 5 iOS/Android apps:
|
||||
|
||||
- ChronoMind (iOS + Android) — already up to date
|
||||
- JarvisJr (iOS + Android) — already up to date
|
||||
- PeakPulse (iOS) — already up to date
|
||||
- LysnrAI (iOS) — already up to date
|
||||
- MindLyst (iOS + KMP) — refreshed with latest token changes
|
||||
|
||||
### G.10 Updated Score Summary
|
||||
|
||||
| Dimension | Before (G.4) | After (G.10) | Change |
|
||||
| ------------------------------- | ------------ | ------------ | ------ |
|
||||
| **Token Foundation** | 92% | **95%** | +3 |
|
||||
| **Token Adoption (Web)** | 60% | **72%** | +12 |
|
||||
| **Token Adoption (Mobile)** | 45% | **50%** | +5 |
|
||||
| **Accessibility (WCAG 2.1 AA)** | 18% | **42%** | +24 |
|
||||
| **Dark/Light Theme** | 50% | **55%** | +5 |
|
||||
| **Overall Completeness** | 55% | **65%** | +10 |
|
||||
|
||||
### G.11 Remaining Items for 100%
|
||||
|
||||
| Item | Priority | Status | Effort |
|
||||
| ---------------------------------------------------- | -------- | ----------- | --------- |
|
||||
| Create `@bytelyst/ui` shared component library | P0 | Not started | 2-3 weeks |
|
||||
| Add shadcn/ui to product web apps | P1 | 0/8 apps | 1 week |
|
||||
| NomGap RN: replace 337 hardcoded hex values | P1 | Not started | 2-3 days |
|
||||
| Responsive design (breakpoints, collapsible sidebar) | P2 | Not started | 1 week |
|
||||
| Automated a11y testing (`@axe-core/playwright`) | P2 | Not started | 2 days |
|
||||
| Visual regression testing (Playwright screenshots) | P2 | Not started | 2 days |
|
||||
| Color contrast verification (WCAG AA 4.5:1 ratio) | P2 | Not started | 1-2 days |
|
||||
| Storybook for `@bytelyst/ui` | P3 | Not started | 1 week |
|
||||
| Token drift CI check (generated file diffing) | P3 | Not started | 1 day |
|
||||
|
||||
---
|
||||
|
||||
_Generated by Windsurf Cascade — full workspace scan of 16 repos._
|
||||
_Principal review: design system maturity assessment, best practices audit, architecture blueprint, and remediation plan._
|
||||
_Rescan 2026-03-28: cross-platform token drift analysis, framework version audit, font loading gaps, and accessibility detail._
|
||||
_Remediation 2026-03-28: generator extended (20 native files), sr-only + prefers-color-scheme + font loading added to all web apps._
|
||||
_Remediation 2026-03-28: generator extended (20 native files), sr-only + prefers-color-scheme + font loading + font wiring + reduced-motion + skip-to-content + aria-labels added to all web apps. Overall 41% → 65%._
|
||||
|
||||
Loading…
Reference in New Issue
Block a user