Set Azure as default brandColor (can still be set blank with null)
This commit is contained in:
parent
6116b56676
commit
7d58694cce
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue