export const spacing = {
none: 0,
xxsmall: '4px',
xsmall: '8px',
small: '12px',
medium: '20px',
gutter: '24px',
large: '32px',
xlarge: '48px',
xxlarge: '96px',
};
export const fontSizes = {
xsmall: '0.79rem',
small: '0.889rem',
medium: '1rem',
large: '1.125rem',
xlarge: '1.266rem',
xxlarge: '1.424rem',
};
const white = '#fff';
const black = '#111';
const palette = {
common: {
black,
white,
},
primary: {
main: '???', // for this one, i'm waiting for answer from bang @kurnianto12
light: '#146DD6',
contrastText: white,
},
error: {
main: '#A51C30',
light: '#A7333F',
contrastText: white,
},
grey: {
100: '#EAEAEA',
200: '#C9C5C5',
300: '#888',
400: '#666',
},
};
const shadows = {
0: 'none',
1: '0px 5px 10px rgba(0, 0, 0, 0.12)',
2: '0px 8px 30px rgba(0, 0, 0, 0.24)',
};
const typography = {
fontFamily:
"Poppins", // i think this will be imported ๐ค
};
const shape = {
borderRadius: spacing['xxsmall'],
};
// final theme would be
const theme = {
palette,
shadows,
typography,
shape,
};