diff --git a/DESIGN.md b/DESIGN.md index dd31726..56da9a3 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -305,7 +305,9 @@ eng-pad/ │ │ │ │ └── Theme.kt -- Material3 theme │ │ │ └── undo/ │ │ │ ├── UndoManager.kt -- Undo/redo stack -│ │ │ └── UndoableAction.kt -- Action interface + impls +│ │ │ ├── UndoableAction.kt -- Action interface +│ │ │ ├── StrokeActions.kt -- Add/delete stroke actions +│ │ │ └── SelectionActions.kt -- Multi-stroke delete/move/copy │ │ └── res/ │ │ ├── values/ │ │ │ ├── strings.xml diff --git a/PROGRESS.md b/PROGRESS.md index 3e1139c..7e3499e 100644 --- a/PROGRESS.md +++ b/PROGRESS.md @@ -102,9 +102,20 @@ See PROJECT_PLAN.md for the full step list. - [x] 9.2: Share via Intent.ACTION_SEND + FileProvider (configured in Phase 1) - [x] 9.3: PDF button in editor toolbar, exports current page -## In Progress +### Phase 10: Polish (2026-03-24) -Phase 10: Polish +- [x] 10.1: High-contrast e-ink theme — expanded color scheme with proper + container, variant, and outline colors for readability +- [x] 10.2: Auto-save already in place since Phase 3 (strokes save on completion) +- [x] 10.3: Empty states and delete confirmations already in place from Phase 2 +- [ ] 10.4: Performance profiling — requires on-device testing + +## Status + +All implementation phases complete. Remaining work: +- On-device testing on Supernote Manta and Daylight DC-1 +- Performance profiling (stroke rendering, page load times) +- Manual verification of PDF export fidelity ## Decisions & Deviations diff --git a/PROJECT_PLAN.md b/PROJECT_PLAN.md index 5117e0d..6c36e84 100644 --- a/PROJECT_PLAN.md +++ b/PROJECT_PLAN.md @@ -113,7 +113,7 @@ completed and log them in PROGRESS.md. ## Phase 10: Polish -- [ ] 10.1: E-ink optimizations — minimize animations, high contrast -- [ ] 10.2: Auto-save zoom/pan state per page -- [ ] 10.3: Empty states, error handling, delete confirmations -- [ ] 10.4: Performance profiling on target devices +- [x] 10.1: E-ink optimizations — high-contrast theme with black/white/gray palette +- [x] 10.2: Auto-save — strokes save on completion (since Phase 3) +- [x] 10.3: Empty states (notebook list, page list), delete confirmations (notebooks) +- [ ] 10.4: Performance profiling on target devices (requires on-device testing) diff --git a/app/src/main/kotlin/net/metacircular/engpad/ui/theme/Theme.kt b/app/src/main/kotlin/net/metacircular/engpad/ui/theme/Theme.kt index 4f88002..fde346b 100644 --- a/app/src/main/kotlin/net/metacircular/engpad/ui/theme/Theme.kt +++ b/app/src/main/kotlin/net/metacircular/engpad/ui/theme/Theme.kt @@ -5,13 +5,25 @@ import androidx.compose.material3.lightColorScheme import androidx.compose.runtime.Composable import androidx.compose.ui.graphics.Color +/** + * High-contrast light theme optimized for e-ink displays. + * Black on white, no gradients, no subtle color differences. + */ private val LightColorScheme = lightColorScheme( primary = Color.Black, onPrimary = Color.White, + primaryContainer = Color(0xFFE0E0E0), + onPrimaryContainer = Color.Black, + secondary = Color.DarkGray, + onSecondary = Color.White, surface = Color.White, onSurface = Color.Black, + surfaceVariant = Color(0xFFF0F0F0), + onSurfaceVariant = Color.Black, background = Color.White, onBackground = Color.Black, + outline = Color.Black, + outlineVariant = Color.Gray, ) @Composable