- Hydrate useTheme from global settings while seeding initial state from localStorage cache to prevent flash - Add write-through theme persistence so setter updates local cache immediately and asynchronously saves via updateGlobalSettings - Clarify Settings modal save behavior for intentional idempotent global theme writes - Expand useTheme and App tests to cover backend hydration, fallback handling, and new global settings fetch expectations
7.7 KiB
7.7 KiB