# All files / config colors.js

0% Statements 0/0
0% Branches 1/2
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37

     import { StyleSheet } from 'react-native';

    export default {
      primary: '#2089dc',
      secondary: '#8F0CE8',
      grey0: '#393e42',
      grey1: '#43484d',
      grey2: '#5e6977',
      grey3: '#86939e',
      grey4: '#bdc6cf',
      grey5: '#e1e8ee',
      greyOutline: '#bbb',
      searchBg: '#303337',
      success: '#52c41a',
      error: '#ff190c',
      warning: '#faad14',
      disabled: 'hsl(208, 8%, 90%)',
      // Darker color if hairlineWidth is not thin enough
      divider: StyleSheet.hairlineWidth < 1 ? '#bcbbc1' : 'rgba(0, 0, 0, 0.12)',
      platform: {
        ios: {
          primary: '#007aff',
          secondary: '#5856d6',
          success: '#4cd964',
          error: '#ff3b30',
          warning: '#ffcc00',
        },
        android: {
          primary: '#2196f3',
          secondary: '#9C27B0',
          success: '#4caf50',
          error: '#f44336',
          warning: '#ffeb3b',
        },
      },
    };