Skip to content

feat(settings): add dynamic colors toggle - #13

Merged
usamaiqb merged 4 commits into
mainfrom
feature/dynamic-toggle
Aug 2, 2026
Merged

feat(settings): add dynamic colors toggle#13
usamaiqb merged 4 commits into
mainfrom
feature/dynamic-toggle

Conversation

@usamaiqb

@usamaiqb usamaiqb commented Aug 2, 2026

Copy link
Copy Markdown
Owner

New switch row in Appearance (Android 12+ only, below App theme) that
gates Material You colors app-wide: the app theme, reader Light/Dark
palettes, and the settings preview card all fall back to the static
brand palette when disabled. Persisted as use_dynamic_colors, default
on. Settings adopts the shared grouped-list components extracted for
the home screen.

usamaiqb added 4 commits July 10, 2026 16:00
Adopt Material 3 expressive grouped rows (24dp/4dp corners, 2dp gaps)
with leading icons, subtitles, and animated value badges. Replace the
static top bar with a collapsing LargeTopAppBar, restyle bottom-sheet
pickers with highlighted selection, and add haptic feedback on
selections and slider ticks.

Add a live reader preview card that renders sample prose and code with
the actual reader colors, fonts, size, spacing, and alignment, with a
light/dark preview toggle. Add a GitHub repo link to the About section.
Persist recently opened files in DataStore (capped at 15, de-duped by
URI, evicted entries release their persistable permission grants).
Opens are recorded on successful viewer loads and new-file creation;
transient ACTION_VIEW files without persisted grants are skipped.

Home shows quick actions plus a grouped recents list with file-type
icons, relative timestamps, remove buttons, and item animations. The
hero layout remains as the empty state. Extract the expressive
grouped-list shapes into a shared ui/components module.
New switch row in Appearance (Android 12+ only, below App theme) that
gates Material You colors app-wide: the app theme, reader Light/Dark
palettes, and the settings preview card all fall back to the static
brand palette when disabled. Persisted as use_dynamic_colors, default
on. Settings adopts the shared grouped-list components extracted for
the home screen.
@usamaiqb usamaiqb self-assigned this Aug 2, 2026
@usamaiqb
usamaiqb merged commit f8bef3c into main Aug 2, 2026
3 checks passed
@usamaiqb
usamaiqb deleted the feature/dynamic-toggle branch August 2, 2026 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant