Rocket.Chat.ReactNative/app/constants/colors.js

25 lines
853 B
JavaScript
Raw Normal View History

2019-03-12 16:23:06 +00:00
import { isIOS } from '../utils/deviceInfo';
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';
export const COLOR_BORDER = '#e1e5e8';
export const COLOR_UNREAD = '#e1e5e8';
export const STATUS_COLORS = {
online: '#2de0a5',
busy: COLOR_DANGER,
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;