Dark-Mode hinzugefügt #issue/28 #32
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lrsauvette/sv-helfer!32
Loading…
Reference in a new issue
No description provided.
Delete branch "issue/28"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a per-user Dark Mode preference, persisted in the app's JsonStore, that forces a dark Material 3 colour scheme based on the same indigo seed colour as the light theme. - New ThemeModeStore (lib/persistence/theme_mode_store.dart) that holds a single bool ('dark mode on/off') and exposes the matching ThemeMode for MaterialApp. Default is 'off' → ThemeMode.system, so the app still follows the OS setting when the user has not opted in. - MaterialApp now provides a darkTheme in addition to the existing theme, and selects themeMode based on the store value. - New 'Dunkles Farbschema' SwitchListTile in the 'Darstellung' section of the settings page. - Unit tests for the store (default, enable + persistence, disable + persistence).