arch: move web folder into api & move api to top level
This commit is contained in:
13
frontend/src/shared/constants/keyCodes.ts
Normal file
13
frontend/src/shared/constants/keyCodes.ts
Normal file
@ -0,0 +1,13 @@
|
||||
const KeyCodes = {
|
||||
TAB: 9,
|
||||
ENTER: 13,
|
||||
ESCAPE: 27,
|
||||
SPACE: 32,
|
||||
ARROW_LEFT: 37,
|
||||
ARROW_UP: 38,
|
||||
ARROW_RIGHT: 39,
|
||||
ARROW_DOWN: 40,
|
||||
M: 77,
|
||||
};
|
||||
|
||||
export default KeyCodes;
|
32
frontend/src/shared/constants/labelColors.ts
Normal file
32
frontend/src/shared/constants/labelColors.ts
Normal file
@ -0,0 +1,32 @@
|
||||
const LabelColors = {
|
||||
GREEN: '#61bd4f',
|
||||
YELLOW: '#f2d600',
|
||||
ORANGE: '#ff9f1a',
|
||||
RED: '#eb5a46',
|
||||
PURPLE: '#c377e0',
|
||||
BLUE: '#0079bf',
|
||||
SKY: '#00c2e0',
|
||||
LIME: '#51e898',
|
||||
PINK: '#ff78cb',
|
||||
BLACK: '#344563',
|
||||
};
|
||||
|
||||
export const DarkLabelColors = {
|
||||
RED: '#e8384f',
|
||||
ORANGE: '#fd612c',
|
||||
YELLOW_ORANGE: '#fd9a00',
|
||||
YELLOW: '#eec300',
|
||||
YELLOW_GREEN: '#a4cf30',
|
||||
GREEN: '#62d26f',
|
||||
BLUE_GREEN: '#37c5ab',
|
||||
AQUA: '#20aaea',
|
||||
BLUE: '#4186e0',
|
||||
INDIGO: '#7a6ff0',
|
||||
PURPLE: '#aa62e3',
|
||||
MAGENTA: '#e362e3',
|
||||
HOT_PINK: '#ea4e9d',
|
||||
PINK: '#fc91ad',
|
||||
COOL_GRAY: '#8da3a6',
|
||||
};
|
||||
|
||||
export default LabelColors;
|
7
frontend/src/shared/constants/menuTypes.ts
Normal file
7
frontend/src/shared/constants/menuTypes.ts
Normal file
@ -0,0 +1,7 @@
|
||||
const MenuTypes = {
|
||||
LABEL_MANAGER: 1,
|
||||
LABEL_EDITOR: 2,
|
||||
LIST_ACTIONS: 3,
|
||||
};
|
||||
|
||||
export default MenuTypes;
|
Reference in New Issue
Block a user