Reorganize src folder and add Api and Scene classes
This commit is contained in:
parent
8b50adcd60
commit
a4bb1655d0
6 changed files with 5 additions and 3 deletions
11
src/constants/colors.ts
Normal file
11
src/constants/colors.ts
Normal 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
2
src/constants/screen.ts
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
export const SCREEN_WIDTH = document.body.clientWidth;
|
||||
export const SCREEN_HEIGHT = document.body.clientHeight;
|
||||
Reference in a new issue