diff --git a/lib/redux/ui/pref_state.dart b/lib/redux/ui/pref_state.dart index 7a96f0de5ae..54683f6fcf9 100644 --- a/lib/redux/ui/pref_state.dart +++ b/lib/redux/ui/pref_state.dart @@ -158,10 +158,12 @@ abstract class PrefState implements Built { static void _initializeBuilder(PrefStateBuilder builder) => builder ..useSidebarEditor.replace(BuiltMap()) ..sortFields.replace(BuiltMap()) - ..customColors.replace(BuiltMap(PrefState.CONTRAST_COLORS)) + ..customColors.replace(builder.enableDarkMode + ? BuiltMap() + : BuiltMap(PrefState.CONTRAST_COLORS)) ..showKanban = false ..isPreviewEnabled = true - ..colorTheme = kColorThemeLight; + ..colorTheme = builder.enableDarkMode ? kColorThemeLight : kColorThemeLight; static Serializer get serializer => _$prefStateSerializer; }