mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
13 lines
325 B
JavaScript
13 lines
325 B
JavaScript
export const ItemTypes = {
|
|
BOX: 'box',
|
|
COMMENT: 'comment',
|
|
NEW_COMMENT: 'new_comment',
|
|
};
|
|
|
|
export const EditorConstants = Object.freeze({
|
|
deviceWindowWidth: 450,
|
|
leftSideBarWidth: 48,
|
|
rightSideBarWidth: 300,
|
|
});
|
|
|
|
export const decimalToHex = (alpha) => (alpha === 0 ? '00' : Math.round(255 * alpha).toString(16));
|