From 7d58694cce04ce9f3372d18f713ac959a5eef10f Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 3 Jun 2020 11:23:21 -0500 Subject: [PATCH] Set Azure as default brandColor (can still be set blank with null) --- app/soapbox/reducers/soapbox.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/soapbox/reducers/soapbox.js b/app/soapbox/reducers/soapbox.js index bb3c58561..68bbb0e38 100644 --- a/app/soapbox/reducers/soapbox.js +++ b/app/soapbox/reducers/soapbox.js @@ -1,12 +1,14 @@ import { SOAPBOX_CONFIG_IMPORT } from '../actions/soapbox'; import { Map as ImmutableMap, fromJS } from 'immutable'; -const initialState = ImmutableMap(); +const initialState = ImmutableMap({ + brandColor: '#0482d8', // Azure +}); export default function soapbox(state = initialState, action) { switch(action.type) { case SOAPBOX_CONFIG_IMPORT: - return ImmutableMap(fromJS(action.soapboxConfig)); + return initialState.merge(ImmutableMap(fromJS(action.soapboxConfig))); default: return state; }