All files / apps/host/src/mocks theme.ts

66.66% Statements 2/3
100% Branches 0/0
0% Functions 0/1
100% Lines 2/2

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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 621x                                                                                                                   1x      
export const mockTheme = {
  metrics: {
    spacing: {
      0: 0,
      1: 4,
      3: 12,
      4: 16,
      5: 20,
      6: 24,
      7.5: 30,
      10: 40,
      17.5: 70,
      44.5: 178,
      45: 180,
      47.25: 189,
      50: 200,
      62.5: 250,
      75: 300,
    },
    sizing: {
      full: '100%',
    },
    borderRadius: {
      4: 16,
      circle: 9999,
    },
    borderWidth: {
      default: 1,
    },
    textSize: {
      16: 16,
      24: 24,
    },
  },
  colors: {
    background: {
      modal: '#000000',
      secondary: '#FFFFFF',
    },
    border: {
      primary: '#CCCCCC',
    },
    text: {
      primary: '#000000',
    },
    icon: {
      primary: '#000000',
    },
    requestCategory: {
      timeOff: '#404653',
      bookRoom: '#C7C9CD',
      maintenance: '#D7D7D7',
      reallocation: '#9FA1A6',
    },
    white: '#FFFFFF',
  },
};
 
export const mockUseTheme = jest.fn(() => ({
  theme: mockTheme,
}));