packages/ui-components/src/constants.ts
// Copyright 2018-2020 @paritytech/Nomidot authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
export const DEFAULT_TOKEN_SYMBOL = 'UNIT';
/**
* Mapping between font sizes and their CSS values.
*/
// TODO better naming & from figma
export const FONT_SIZES = {
small: '0.9rem',
medium: '1rem',
button: '1.3rem',
large: '1.5rem',
big: '1.75rem',
};
export const FONT_WEIGHTS = {
lightest: 100,
extraLight: 200,
light: 300,
regular: 400,
bold: 500,
extraBold: 600,
boldest: 700,
};
/**
* Mapping between margin/padding sizes and their CSS values.
*/
export const MARGIN_SIZES = {
small: '0.5rem',
medium: '1rem',
large: '1.5rem',
big: '2rem',
huge: '3.5rem',
};