Closed ahmad-reza619 closed 3 years ago
This is my proposed theming design, but feel free to discuss more 😃 This theming is based on my own perspective of design file after all.
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, };
what do you think?
transferred to #8
This is my proposed theming design, but feel free to discuss more 😃 This theming is based on my own perspective of design file after all.
what do you think?