Commit graph

3 commits

Author SHA1 Message Date
Dr.Blank
32e2be4b95
fix: errors 2025-05-22 07:04:48 +05:30
google-labs-jules[bot]
dc0540467f feat: Replace theme dialog with segmented buttons
Replaces the dialog pop-up for theme selection (Light, Dark, System)
with `SegmentedButton` widgets in the theme settings page.

The new UI uses:
- Light theme option on the left.
- System theme option in the middle.
- Dark theme option on the right.
- A checkmark icon (`Icons.check`) for the selected theme.
- Respective icons (`Icons.light_mode`, `Icons.auto_awesome`, `Icons.dark_mode`)
  for unselected themes.

The `ModeSelectionDialog` has been removed as it's no longer necessary.

Note: Full UI and persistence testing could not be completed due to
sandbox limitations where the Flutter SDK was not available.
The core code implementation was verified.
2025-05-22 01:21:38 +00:00
Dr.Blank
ff83c2cc63
feat: multiple theming options (#50)
* refactor: consolidate theme definitions by removing separate dark and light theme files

* feat: integrate dynamic color support and enhance theme settings management

* feat: add theme settings route and update theme management in app settings

* feat: enhance theme management by integrating high contrast support in various components

* feat: implement mode selection dialog for theme settings and enhance button functionality

* refactor: update theme import paths and consolidate theme provider files

* feat: enhance theme management by integrating theme selection based on audiobook playback

* refactor: update default value for useMaterialThemeFromSystem to false in theme settings

* refactor: adjust high contrast condition order in theme settings for consistency

* refactor: rename useMaterialThemeOfPlayingItem to useCurrentPlayerThemeThroughoutApp for clarity

* refactor: correct spelling in system theme provider and replace with updated implementation

* refactor: extract restore backup dialog into a separate widget for improved readability

* refactor: reorganize settings sections for clarity and improve restore dialog functionality
2024-10-05 10:01:08 -04:00