Reorganize src folder and add Api and Scene classes

This commit is contained in:
Dennis Schoepf 2021-07-14 17:27:11 +02:00
parent 8b50adcd60
commit a4bb1655d0
6 changed files with 5 additions and 3 deletions

11
src/constants/colors.ts Normal file
View file

@ -0,0 +1,11 @@
export const colors: { [key: string]: string } = {
greyLighter: '#EBEEF2',
greyLight: '#D0D5D9',
grey: '#B0B7BF',
greyDark: '#9CA1A6',
blueGrey: '#C5CCD9',
redLight: '#BF2431',
red: '#A60303',
redDark: '#590C13',
black: '#0D0D0D',
};

2
src/constants/screen.ts Normal file
View file

@ -0,0 +1,2 @@
export const SCREEN_WIDTH = document.body.clientWidth;
export const SCREEN_HEIGHT = document.body.clientHeight;