This repository was archived by the owner on Jan 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex-styles.js
More file actions
65 lines (61 loc) · 1.53 KB
/
index-styles.js
File metadata and controls
65 lines (61 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
export const colors = {
primary: '#795548',
primaryDark: '#5D4037',
primaryLight: '#D7CCC8',
secondary: '#607D8B',
background: '#F7F9FC',
white: '#fff',
gray100: '#f1f2f7',
gray200: '#d1d3dd',
gray300: '#BDBDBD',
gray400: '#757575',
gray500: '#6e717a',
gray600: '#5a5e69',
gray700: '#444952',
gray800: '#212121',
gray900: '#1f2228',
gray1000: '#090a0d',
black: '#000',
};
export const typography = {
sans:
'-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif',
mono: '"Source Code Pro", monospace',
headingColor: colors.gray600,
bodyColor: colors.gray800,
anchorColor: colors.primary,
fontBase: '1rem',
ellipsis: {
whiteSpace: 'nowrap',
overflow: 'hidden',
textOverflow: 'ellipsis',
},
};
export const breakpoints = {
tabletPortrait: `@media (min-width: 600px)`,
tabletLandscape: `@media (min-width: 900px)`,
desktop: `@media (min-width: 1200px)`,
};
export const globalBorderRadius = '2px';
export const globalBoxShadow =
'0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)';
export const globalPadding = {
padding: '12px',
[breakpoints.tabletPortrait]: {
padding: '16px',
},
[breakpoints.tabletLandscape]: {
padding: '20px',
},
[breakpoints.desktop]: {
padding: '24px',
},
};
export const themeConfig = {
colors,
typography,
breakpoints,
globalPadding,
globalBorderRadius,
globalBoxShadow,
};