Blame
|
1 | --- |
||||||
| 2 | title: Design System |
|||||||
| 3 | aliases: [NetraTheme, 3nDS] |
|||||||
| 4 | tags: [3netra/wiki, design, ui] |
|||||||
| 5 | product: 3netra Meta Android App |
|||||||
| 6 | source_repository: 3Netra-ai/3n_meta_android |
|||||||
| 7 | source_ref: origin/prod |
|||||||
| 8 | source_revision: b48aada8fd5427b5db0c02945569963c4ae543c8 |
|||||||
| 9 | last_verified: 2026-08-06 |
|||||||
| 10 | up: "[[Home]]" |
|||||||
| 11 | --- |
|||||||
| 12 | ||||||||
| 13 | # Design System |
|||||||
| 14 | ||||||||
| 15 | Theme direction is **"stargazing from a university campus rooftop"** — dark, warm, and modern. This is design/product guidance; the source does not prove a complete accessibility implementation. |
|||||||
| 16 | ||||||||
| 17 | ## Color Palette |
|||||||
| 18 | ||||||||
| 19 | Two palettes coexist in code (migration in progress): |
|||||||
| 20 | ||||||||
| 21 | ### NetraTheme (current — student/onboarding screens) |
|||||||
| 22 | ||||||||
| 23 | | Token | Hex | Usage | |
|||||||
| 24 | |---|---|---| |
|||||||
| 25 | | DeepSpaceBlack | `#1A1A1C` | App background | |
|||||||
| 26 | | DarkNavy | — | Cards, panels, input fields | |
|||||||
| 27 | | DarkCard | — | Elevated surfaces | |
|||||||
| 28 | | SkyCyan | `#58CCED` | Primary accent, CTAs, active states | |
|||||||
| 29 | | LavenderPurple | `#8B5CF6` | Secondary accent, links | |
|||||||
| 30 | | MintTeal | — | Tags, success indicators | |
|||||||
| 31 | | WarmGolden | — | Highlights, priority | |
|||||||
| 32 | | SoftCoralPink | `#FF6B6B` | Emotion indicators, alerts, errors | |
|||||||
| 33 | | FriendlyGreen | `#00C9A7` | Success states | |
|||||||
| 34 | | OffWhite / MutedGray | — | Primary / secondary text | |
|||||||
| 35 | ||||||||
| 36 | ### Legacy Colors.kt (auth + orphaned dashboard screens) |
|||||||
| 37 | ||||||||
| 38 | `DARK_BG #0D1117`, `ACCENT_COLOR #6EE7F7`, `SECONDARY_ACCENT`, `FRIENDLY_GREEN`, `SURFACE_BG`, `INPUT_BG` — PRD palette values. |
|||||||
| 39 | ||||||||
| 40 | ## Typography & Metrics |
|||||||
| 41 | ||||||||
| 42 | - Font: SansSerif system stack (PRD specifies **Nunito** primary, Fira Code mono); H1 36 / H2 28 / H3 22 / Body 16 / Caption 13 |
|||||||
| 43 | - `MinTapTarget = 56dp`, `FabSize = 64dp`, corner/spacing constants are source tokens, not a verified screen-by-screen conformance audit. |
|||||||
| 44 | - No source evidence establishes global Academic Mode text scaling or uniform 1.6× line height. |
|||||||
| 45 | ||||||||
| 46 | ## Academic Mode Design Principles (PRD) |
|||||||
| 47 | ||||||||
| 48 | - Large tap targets, rounded corners (20px+), soft cyan→purple gradients |
|||||||
| 49 | - AI companion guide / voice assistant front-and-center (see [[05-Avatars-Companions]]); encouraging, clear copy ("Slides captured", "Key points summarized!") |
|||||||
| 50 | - Today's Story as an organized academic timeline, not a simple log |
|||||||
| 51 | - Audio chimes (0.5s) differentiated by discovery type |
|||||||
| 52 | - Academic-level vocabulary enforcement in all narration |
|||||||
| 53 | - Disability Services / Educator dashboards: cleaner professional variant of same palette |
|||||||
| 54 | ||||||||
| 55 | ## Accessibility |
|||||||
| 56 | ||||||||
| 57 | - TTS calls occur in principal screens, but response quality is limited by the fixed text returned from `SupabaseAiService`. |
|||||||
| 58 | - **High Contrast Mode** is a stored preference; Settings code labels theme integration as future work. |
|||||||
| 59 | - **Reduce Motion** is a stored preference read by `SceneDescriptionScreen`; full animation coverage is not verified. |
|||||||
| 60 | - Speaking speed is stored; Scene uses a separate child-voice TTS helper. TalkBack semantics, haptics, and complete no-time-limit coverage require an accessibility audit. |
|||||||
| 61 | ||||||||
| 62 | ## UI Assets |
|||||||
| 63 | ||||||||
| 64 | - `.agent_docs/Assets/` — PRD pdf, design prompts |
|||||||
| 65 | - `3netra-Android-UIKit-Standalone.html` (repo root) — standalone UIKit reference page |
|||||||
| 66 | - `3nDS` (harness Org-memory) — 3netra Design System org assets |
|||||||
| 67 | ||||||||
| 68 | --- |
|||||||
| 69 | ||||||||
| 70 | > [!tip] Navigation |
|||||||
| 71 | > ⬅️ [[08-Data-Model-Supabase|Data Model (Supabase)]] · 🏠 [[Home]] · ➡️ [[10-Engineering-Ops|Engineering Ops]] |
|||||||
