|
|
@ -122,6 +122,39 @@ export type State = { |
|
|
|
notifySettings: {[k in Exclude<NotifyPeer['_'], 'notifyPeer'>]?: PeerNotifySettings.peerNotifySettings} |
|
|
|
notifySettings: {[k in Exclude<NotifyPeer['_'], 'notifyPeer'>]?: PeerNotifySettings.peerNotifySettings} |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const BACKGROUND_DAY_DESKTOP: Background = { |
|
|
|
|
|
|
|
blur: false, |
|
|
|
|
|
|
|
slug: 'pattern', |
|
|
|
|
|
|
|
color: '#dbddbb,#6ba587,#d5d88d,#88b884', |
|
|
|
|
|
|
|
highlightningColor: 'hsla(86.4, 43.846153%, 45.117647%, .4)', |
|
|
|
|
|
|
|
intensity: 50, |
|
|
|
|
|
|
|
id: '1' |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const BACKGROUND_DAY_MOBILE: Background = { |
|
|
|
|
|
|
|
blur: false, |
|
|
|
|
|
|
|
color: '#dbddbb,#6ba587,#d5d88d,#88b884', |
|
|
|
|
|
|
|
highlightningColor: 'hsla(86.4, 43.846153%, 45.117647%, .4)', |
|
|
|
|
|
|
|
id: '1' |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const BACKGROUND_NIGHT_DESKTOP: Background = { |
|
|
|
|
|
|
|
blur: false, |
|
|
|
|
|
|
|
slug: 'pattern', |
|
|
|
|
|
|
|
// color: '#dbddbb,#6ba587,#d5d88d,#88b884',
|
|
|
|
|
|
|
|
color: '#fec496,#dd6cb9,#962fbf,#4f5bd5', |
|
|
|
|
|
|
|
highlightningColor: 'hsla(299.142857, 44.166666%, 37.470588%, .4)', |
|
|
|
|
|
|
|
intensity: -50, |
|
|
|
|
|
|
|
id: '-1' |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const BACKGROUND_NIGHT_MOBILE: Background = { |
|
|
|
|
|
|
|
blur: false, |
|
|
|
|
|
|
|
color: '#0f0f0f', |
|
|
|
|
|
|
|
id: '-1', |
|
|
|
|
|
|
|
highlightningColor: 'hsla(0, 0%, 3.82353%, 0.4)' |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
export const STATE_INIT: State = { |
|
|
|
export const STATE_INIT: State = { |
|
|
|
allDialogsLoaded: {}, |
|
|
|
allDialogsLoaded: {}, |
|
|
|
pinnedOrders: {}, |
|
|
|
pinnedOrders: {}, |
|
|
@ -189,25 +222,10 @@ export const STATE_INIT: State = { |
|
|
|
}, |
|
|
|
}, |
|
|
|
themes: [{ |
|
|
|
themes: [{ |
|
|
|
name: 'day', |
|
|
|
name: 'day', |
|
|
|
background: { |
|
|
|
background: IS_MOBILE ? BACKGROUND_DAY_MOBILE : BACKGROUND_DAY_DESKTOP |
|
|
|
blur: false, |
|
|
|
|
|
|
|
slug: 'pattern', |
|
|
|
|
|
|
|
color: '#dbddbb,#6ba587,#d5d88d,#88b884', |
|
|
|
|
|
|
|
highlightningColor: 'hsla(86.4, 43.846153%, 45.117647%, .4)', |
|
|
|
|
|
|
|
intensity: 50, |
|
|
|
|
|
|
|
id: '1' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, { |
|
|
|
}, { |
|
|
|
name: 'night', |
|
|
|
name: 'night', |
|
|
|
background: { |
|
|
|
background: IS_MOBILE ? BACKGROUND_NIGHT_MOBILE : BACKGROUND_NIGHT_DESKTOP |
|
|
|
blur: false, |
|
|
|
|
|
|
|
slug: 'pattern', |
|
|
|
|
|
|
|
// color: '#dbddbb,#6ba587,#d5d88d,#88b884',
|
|
|
|
|
|
|
|
color: '#fec496,#dd6cb9,#962fbf,#4f5bd5', |
|
|
|
|
|
|
|
highlightningColor: 'hsla(299.142857, 44.166666%, 37.470588%, .4)', |
|
|
|
|
|
|
|
intensity: -50, |
|
|
|
|
|
|
|
id: '-1' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}], |
|
|
|
}], |
|
|
|
theme: 'system', |
|
|
|
theme: 'system', |
|
|
|
notifications: { |
|
|
|
notifications: { |
|
|
|