* Fixed: Loading indicator never appears Added: Loading indicator to dashboard when loading first results * Less assumptions * Fixes: Image uploads not working * Fixes #136 - Keyboard shortcuts should work when editor is not focused * Allow images to be dragged anywhere on document editor * Fixes #137 - vertical alignment * Restore shortcuts with editor focus * Restore 'e' to edit current document Fixed up ? to open keyboard shortcuts * wip * LoadinglistPlaceholder * WIP * Refactor * DRY logic
59 lines
882 B
JavaScript
59 lines
882 B
JavaScript
// @flow
|
|
|
|
export const layout = {
|
|
padding: '1.5vw 1.875vw',
|
|
vpadding: '1.5vw',
|
|
hpadding: '1.875vw',
|
|
sidebarWidth: '22%',
|
|
sidebarMinWidth: '250px',
|
|
sidebarMaxWidth: '350px',
|
|
};
|
|
|
|
export const size = {
|
|
tiny: '2px',
|
|
small: '4px',
|
|
medium: '8px',
|
|
large: '16px',
|
|
huge: '24px',
|
|
enormous: '32px',
|
|
};
|
|
|
|
export const fontSize = {
|
|
small: '14px',
|
|
medium: '16px',
|
|
large: '18px',
|
|
huge: '24px',
|
|
};
|
|
|
|
export const fontWeight = {
|
|
ultraLight: 100,
|
|
thin: 200,
|
|
light: 300,
|
|
regular: 400,
|
|
medium: 500,
|
|
demiBold: 600,
|
|
bold: 700,
|
|
heavy: 800,
|
|
};
|
|
|
|
export const color = {
|
|
text: '#171B35',
|
|
|
|
/* Brand */
|
|
primary: '#2B8FBF',
|
|
|
|
/* Dark Grays */
|
|
slate: '#9BA6B2',
|
|
slateLight: '#DAE1E9',
|
|
slateDark: '#4E5C6E',
|
|
|
|
/* Light Grays */
|
|
smoke: '#F4F7FA',
|
|
smokeLight: '#F9FBFC',
|
|
smokeDark: '#E8EBED',
|
|
|
|
/* Misc */
|
|
white: '#FFFFFF',
|
|
black: '#000000',
|
|
};
|