2019-03-12 16:23:06 +00:00
|
|
|
import { isIOS } from '../utils/deviceInfo';
|
|
|
|
|
2018-03-29 17:55:37 +00:00
|
|
|
export const COLOR_DANGER = '#f5455c';
|
2019-03-29 19:36:07 +00:00
|
|
|
export const COLOR_SUCCESS = '#2de0a5';
|
|
|
|
export const COLOR_PRIMARY = '#1d74f5';
|
|
|
|
export const COLOR_WHITE = '#fff';
|
|
|
|
export const COLOR_BUTTON_PRIMARY = COLOR_PRIMARY;
|
|
|
|
export const COLOR_TITLE = '#0C0D0F';
|
|
|
|
export const COLOR_TEXT = '#2F343D';
|
|
|
|
export const COLOR_TEXT_DESCRIPTION = '#9ca2a8';
|
2019-03-27 20:06:57 +00:00
|
|
|
export const COLOR_SEPARATOR = '#A7A7AA';
|
2019-03-29 19:36:07 +00:00
|
|
|
export const COLOR_BACKGROUND_CONTAINER = '#f3f4f5';
|
2019-06-10 16:23:19 +00:00
|
|
|
export const COLOR_BACKGROUND_NOTIFICATION = '#f8f8f8';
|
2019-03-29 19:36:07 +00:00
|
|
|
export const COLOR_BORDER = '#e1e5e8';
|
2019-04-24 18:36:29 +00:00
|
|
|
export const COLOR_UNREAD = '#e1e5e8';
|
2019-05-15 19:33:30 +00:00
|
|
|
export const COLOR_TOAST = '#0C0D0F';
|
2017-12-05 19:57:44 +00:00
|
|
|
export const STATUS_COLORS = {
|
|
|
|
online: '#2de0a5',
|
2018-03-29 17:55:37 +00:00
|
|
|
busy: COLOR_DANGER,
|
2017-12-05 19:57:44 +00:00
|
|
|
away: '#ffd21f',
|
|
|
|
offline: '#cbced1'
|
|
|
|
};
|
2019-03-12 16:23:06 +00:00
|
|
|
|
2019-03-27 20:06:57 +00:00
|
|
|
export const HEADER_BACKGROUND = isIOS ? '#f8f8f8' : '#2F343D';
|
2019-03-29 19:36:07 +00:00
|
|
|
export const HEADER_TITLE = isIOS ? COLOR_TITLE : COLOR_WHITE;
|
|
|
|
export const HEADER_BACK = isIOS ? COLOR_PRIMARY : COLOR_WHITE;
|
2019-06-21 16:39:20 +00:00
|
|
|
export const HEADER_TINT = isIOS ? COLOR_PRIMARY : COLOR_WHITE;
|