1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-15 12:59:09 +00:00
trezor-wallet/src/config/variables.js

86 lines
1.7 KiB
JavaScript
Raw Normal View History

2019-01-24 17:43:58 +00:00
// Bootstrap 3 breakpoints
/* XS - Extra Small Devices, Phones */
/* SM - Small Devices, Tablets */
/* MD - Medium Devices, Desktops */
/* LG - Large Devices, Wide Screens */
export const SCREEN_SIZE = {
XS: '480px',
SM: '768px',
MD: '992px',
LG: '1170px',
};
// OLD UNITS
// SMALLEST: '10px',
// SMALLER: '12px',
// SMALL: '14px',
// BASE: '16px',
// TOP_MENU: '17px',
// WALLET_TITLE: '18px',
// BIG: '21px',
// BIGGER: '32px',
// BIGGEST: '36px',
// H1: '18px',
// H2: '16px',
// H3: '14px',
// H4: '12px',
// COUNTER: '11px',
2018-08-14 19:56:37 +00:00
export const FONT_SIZE = {
2018-12-13 12:42:52 +00:00
SMALL: '0.8571rem',
BASE: '1rem',
BIG: '1.1428rem',
BIGGER: '1.5rem',
BIGGEST: '2.2857rem',
HUGE: '2.5714rem',
2018-12-11 14:31:33 +00:00
TOP_MENU: '1.2142rem',
WALLET_TITLE: '1.2857rem',
H1: '1.2857rem',
H2: '1.1428rem',
2018-12-11 15:23:56 +00:00
H3: '1rem',
2018-12-11 14:31:33 +00:00
H4: '0.8571rem',
COUNTER: '0.7857rem',
};
export const FONT_WEIGHT = {
2018-12-11 15:17:09 +00:00
LIGHT: '300',
NORMAL: '400',
MEDIUM: '500',
SEMIBOLD: '600',
2018-08-14 19:56:37 +00:00
};
2018-09-03 13:31:26 +00:00
export const FONT_FAMILY = {
2019-03-04 12:33:02 +00:00
DEFAULT:
'-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif',
2018-09-03 13:31:26 +00:00
MONOSPACE: '"Roboto Mono", Menlo, Monaco, Consolas, "Courier New", monospace',
};
2018-08-14 19:56:37 +00:00
export const ICON_SIZE = {
BASE: '20px',
2018-08-16 10:19:13 +00:00
};
2018-08-15 12:03:29 +00:00
export const BORDER_WIDTH = {
SELECTED: '3px',
};
2018-08-21 05:59:10 +00:00
export const LEFT_NAVIGATION_ROW = {
PADDING: '16px 24px',
};
2018-08-23 13:47:46 +00:00
const TRANSITION_TIME = {
BASE: '0.3s',
};
export const TRANSITION = {
2019-03-04 12:33:02 +00:00
HOVER: `background-color ${TRANSITION_TIME.BASE} ease-in-out, color ${
TRANSITION_TIME.BASE
} ease-in-out, border-color ${TRANSITION_TIME.BASE} ease-in-out`,
};
export const LINE_HEIGHT = {
2018-12-13 13:16:14 +00:00
SMALL: '1.42857143',
BASE: '1.8',
2018-12-13 13:37:13 +00:00
TREZOR_ACTION: '37px',
2018-08-23 13:47:46 +00:00
};
2019-03-25 12:58:42 +00:00
export const FOOTER_HEIGHT = '59px';