UNPKG

1.63 kBJavaScriptView Raw
1import { StyleSheet } from 'react-native';
2const darkColors = {
3 primary: '#439ce0',
4 secondary: '#aa49eb',
5 white: '#080808',
6 black: '#f2f2f2',
7 grey5: '#393e42',
8 grey4: '#43484d',
9 grey3: '#5e6977',
10 grey2: '#86939e',
11 grey1: '#bdc6cf',
12 grey0: '#e1e8ee',
13 greyOutline: '#bbb',
14 searchBg: '#303337',
15 success: '#439946',
16 error: '#bf2c24',
17 warning: '#cfbe27',
18 disabled: 'hsl(208, 8%, 90%)',
19 // Darker color if hairlineWidth is not thin enough
20 divider: StyleSheet.hairlineWidth < 1 ? '#84838a' : 'rgba(0, 0, 0, 0.12)',
21 platform: {
22 ios: {
23 primary: '#1b262c',
24 secondary: '#2089dc',
25 grey: '#ffffff',
26 searchBg: '#393e42',
27 success: '#439946',
28 error: '#bf2c24',
29 warning: '#cfbe27',
30 },
31 android: {
32 primary: '#1b262c',
33 secondary: '#2089dc',
34 grey: '#393e42',
35 searchBg: '#393e42',
36 success: '#439946',
37 error: '#bf2c24',
38 warning: '#cfbe27',
39 },
40 web: {
41 primary: '#1b262c',
42 secondary: '#2089dc',
43 grey: '#ffffff',
44 searchBg: '#393e42',
45 success: '#439946',
46 error: '#bf2c24',
47 warning: '#cfbe27',
48 },
49 default: {
50 primary: '#1b262c',
51 secondary: '#2089dc',
52 grey: '#ffffff',
53 searchBg: '#393e42',
54 success: '#439946',
55 error: '#bf2c24',
56 warning: '#cfbe27',
57 },
58 },
59};
60export default darkColors;