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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
export const colours = {
background: '#0484EA',
main: '#FFFFFF'
}
const margins = {
xsm: 6,
sm: 12,
md: 28,
lg: 50,
xl: 75
}
const transitions = {
hover: '0.4s cubic-bezier(0.7, 0, 0.3, 1)'
}
const radius = {
sm: 8
}
const fontStack = 'Helvetica Neue,Helvetica,Arial,sans-serif;'
const breakpoints = [
{
breakpoint: '600px',
size: '90%'
},
{
breakpoint: '850px',
size: '750px'
},
{
breakpoint: '992px',
size: '920px'
},
{
breakpoint: '1170px',
size: '1100px'
}
]
const fontSizes = {
h1: '2em',
h2: '1.5em',
h3: '1.3em',
h4: '1.1em'
}
export const mainTheme = {
colours,
fontStack,
transitions,
margins,
breakpoints,
radius,
fontSizes,
lineHeight: 2
}
const highContrastTheme = {
...mainTheme,
colours: {
background: '#ffffff',
main: '#343a40'
}
}
export const cvTheme = {
...highContrastTheme,
margins: {
xsm: 2,
sm: 2,
md: 3,
lg: 3
},
fontSizes: {
h1: '1.3em',
h2: '1.2em',
h3: '1.1em',
h4: '1.05em'
},
lineHeight: 1.4
}
export const themes = {
mainTheme,
highContrastTheme
}
|