Doodle3D-Core/src/constants/contextTools.js
2017-12-06 13:57:28 +01:00

85 lines
2.3 KiB
JavaScript

export const DUPLICATE = 'duplicate-tool';
export const DELETE = 'delete-tool';
export const COLOR_PICKER = 'color-picker-tool';
export const ERASER_SIZE = 'eraser-size-tool';
export const BRUSH_SIZE = 'brush-size-tool';
export const FILL_TOGGLE = 'fill-toggle-tool';
export const HOLE_TOGGLE = 'hole-toggle-tool';
export const ALIGN = 'align-tool';
export const UNION = 'union-tool';
export const INTERSECT = 'intersect-tool';
export const LIGHT_BLUE = 'color-light-blue';
export const LIGHT_GREEN = 'color-light-green';
export const LIGHT_PINK = 'color-light-pink';
export const LIGHT_YELLOW = 'color-light-yellow';
export const BLUE = 'color-blue';
export const GREEN = 'color-green';
export const PINK = 'color-pink';
export const YELLOW = 'color-yellow';
export const DARK_BLUE = 'color-dark-blue';
export const DARK_GREEN = 'color-dark-green';
export const DARK_PINK = 'color-dark-pink';
export const DARK_YELLOW = 'color-dark-yellow';
export const HOLE_MATERIAL = 'color-hole-material';
export const PIPETTE = 'pipette-tool';
export const COLORS = [
LIGHT_BLUE,
LIGHT_GREEN,
LIGHT_PINK,
LIGHT_YELLOW,
BLUE,
GREEN,
PINK,
YELLOW,
DARK_BLUE,
DARK_GREEN,
DARK_PINK,
DARK_YELLOW
];
export const ERASER_SIZE_SMALL = 'eraser-size-small';
export const ERASER_SIZE_MEDIUM = 'eraser-size-medium';
export const ERASER_SIZE_LARGE = 'eraser-size-large';
export const ERASER_SIZE_TOOLS = [
ERASER_SIZE_SMALL,
ERASER_SIZE_MEDIUM,
ERASER_SIZE_LARGE
];
export const BRUSH_SIZE_SMALL = 'brush-size-small';
export const BRUSH_SIZE_MEDIUM = 'brush-size-medium';
export const BRUSH_SIZE_LARGE = 'brush-size-large';
export const BRUSH_SIZE_TOOLS = [
BRUSH_SIZE_SMALL,
BRUSH_SIZE_MEDIUM,
BRUSH_SIZE_LARGE
];
export const FILL_TOGGLE_FILL = 'fill-toggle-fill';
export const FILL_TOGGLE_OUTLINE = 'fill-toggle-outline';
export const FILL_TOGGLE_TOOLS = [
FILL_TOGGLE_FILL,
FILL_TOGGLE_OUTLINE
];
export const ALIGN_LEFT = 'align-left';
export const ALIGN_HORIZONTAL = 'align-horizontal';
export const ALIGN_RIGHT = 'align-right';
export const ALIGN_TOP = 'align-top';
export const ALIGN_VERTICAL = 'align-vertical';
export const ALIGN_BOTTOM = 'align-bottom';
export const ALIGN_TOOLS = [
ALIGN_LEFT,
ALIGN_HORIZONTAL,
ALIGN_RIGHT,
ALIGN_TOP,
ALIGN_VERTICAL,
ALIGN_BOTTOM
];