All files / repo/src/components/GameCanvas GameCanvas.const.ts

100% Statements 63/63
100% Branches 0/0
100% Functions 0/0
100% Lines 63/63

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 62 63 64 65 66 67 68 69 70 71    1x 1x 1x 1x 1x 1x 1x 1x   1x 1x 1x 1x 1x 1x 1x 1x   1x 1x 1x 1x 1x 1x 1x 1x   1x 1x   1x   1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x  
import type { Rarity, Tile } from './GameCanvas.types';
 
export const RarityColors: Record<Tile['rarity'], string> = {
  consumer: '#999999',
  industrial: '#5a9bd4',
  milspec: '#4b6cb7',
  restricted: '#cf6ccf',
  classified: '#f55',
  covert: '#f2b01e',
};
 
export const RarityBorders: Record<Rarity, string> = {
  consumer: '#b0b0b0',
  industrial: '#5e98d9',
  milspec: '#4b69ff',
  restricted: '#8847ff',
  classified: '#d32ce6',
  covert: '#eb4b4b',
};
 
export const colors: Record<string, string> = {
  black: '#000',
  tonedBlack: '#222',
  gray: '#444',
  darkBlue: '#0860d8',
  lightGray: 'oklch(97.7% 0.013 236.62)',
  shadowColor: 'rgba(21, 93, 252, 0.8)',
};
 
export const fontRoboto = '12px Roboto';
export const LocalStorageName = 'memory-game-history';
 
export const rarities: Rarity[] = ['consumer', 'industrial', 'milspec', 'restricted', 'classified', 'covert'];
 
export const weapons = [
  'ak47',
  'aug',
  'awp',
  'cz75a',
  'deagle',
  'famas',
  'five-seven',
  'g3sg1',
  'galil-ar',
  'glock-18',
  'm249',
  'm4a1',
  'm4a4',
  'mac-10',
  'mag-7',
  'mp5-sd',
  'mp7',
  'mp9',
  'negev',
  'nova',
  'p2000',
  'p250',
  'p90',
  'pp-bizon',
  'revolver',
  'sawed-off',
  'scar-20',
  'sg-556',
  'ssg-08',
  'taser',
  'tec-9',
  'ump-45',
  'usp-s',
  'xm1014',
];