1 | import { injectGlobal } from 'styled-components';
|
2 | import styledNormalize from 'styled-normalize';
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | export const globalCSS = injectGlobal`
|
12 | @import url("https://use.typekit.net/yqf3dfe.css");
|
13 | @import url("https://cloud.typography.com/7455036/7907792/css/fonts.css");
|
14 | @import url("https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.css");
|
15 | @import url("https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick-theme.min.css");
|
16 | @import url("https://unpkg.com/react-select@1.2.1/dist/react-select.css");
|
17 | ${styledNormalize}
|
18 | .slick-dots li {
|
19 | margin: 0;
|
20 | }
|
21 | .slick-dots li button:focus:before {
|
22 | opacity: 0.25;
|
23 | }
|
24 | .slick-dots li.slick-active button:before {
|
25 | opacity: 0.75;
|
26 | }
|
27 | `;
|
28 |
|
29 | const colors = {
|
30 | orange: '#E9573E',
|
31 | white: '#FFFFFF',
|
32 | black: '#202020',
|
33 |
|
34 |
|
35 |
|
36 | gray: Object.values({
|
37 | 0: '#F8F8F8',
|
38 | 1: '#F2F2F2',
|
39 | 2: 'pink',
|
40 | 3: 'pink',
|
41 | 4: 'pink',
|
42 | 5: 'pink',
|
43 | 6: 'pink',
|
44 | 7: '#777777',
|
45 | 8: '#202020',
|
46 | 9: '#171717',
|
47 | 10: '#9b9b9b',
|
48 | 11: 'pink',
|
49 | 12: '#ededed',
|
50 | }),
|
51 | blue: Object.values({
|
52 | 0: '#176DB6',
|
53 | 1: '#176DB6',
|
54 | 2: '#A4C2D5',
|
55 | 3: '#1D89E5',
|
56 | }),
|
57 | transparent: 'transparent',
|
58 | };
|
59 |
|
60 | const fontSizes = [
|
61 | ];
|
62 |
|
63 | const breakpoints = Object.values({
|
64 | 0: '40em',
|
65 | 1: '52em',
|
66 | 2: '64em',
|
67 | 3: '120em',
|
68 | });
|
69 |
|
70 | const space = [
|
71 | 0,
|
72 | 1,
|
73 | 2,
|
74 | 3,
|
75 | 4,
|
76 | 5,
|
77 | ];
|
78 |
|
79 | const fontWeights = {
|
80 | extraLight: 200,
|
81 | light: 300,
|
82 | book: 400,
|
83 | medium: 500,
|
84 | bold: 700,
|
85 | };
|
86 |
|
87 | const borders = [
|
88 | 0,
|
89 | '1px solid',
|
90 | ];
|
91 |
|
92 | const letterSpacings = {
|
93 | normal: 'normal',
|
94 | large: '0.1em',
|
95 | xlarge: '0.2em',
|
96 | };
|
97 |
|
98 | const radii = Object.values({
|
99 | 0: 0,
|
100 | 1: 2,
|
101 | 2: 4,
|
102 | 3: 8,
|
103 | });
|
104 |
|
105 | const lineHeights = Object.values({
|
106 | 0: 1,
|
107 | 1: 1.125,
|
108 | 2: 1.25,
|
109 | 3: 1.5,
|
110 | });
|
111 |
|
112 | const fontFamily = {
|
113 | serif: 'mrs-eaves-xl-serif-narrow, serif',
|
114 | sansSerif: '"Gotham SSm A", "Gotham SSm B", Helvetica, Arial, sans-serif',
|
115 | };
|
116 |
|
117 | const fadeInDelay = 75;
|
118 |
|
119 |
|
120 | const Theme = {
|
121 | colors,
|
122 | fontSizes,
|
123 | breakpoints,
|
124 | space,
|
125 | fontWeights,
|
126 | borders,
|
127 | letterSpacings,
|
128 | radii,
|
129 | lineHeights,
|
130 | fontFamily,
|
131 | fadeInDelay,
|
132 | };
|
133 |
|
134 | export default Theme;
|