-
Notifications
You must be signed in to change notification settings - Fork 10
/
tailwind.config.js
105 lines (105 loc) · 3.18 KB
/
tailwind.config.js
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
module.exports = {
content: [
'./pages/**/*.js',
'./components/**/*.js'
],
theme: {
extend: {
fontFamily: {
'sans': 'Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial'
},
colors: {
"nhsuk-text": "#212b32",
"nhsuk-secondary-text": "#4c6272",
"nhsuk-link": "#005eb8",
"nhsuk-link-hover": "#7C2855",
"nhsuk-link-visited": "#330072",
"nhsuk-link-active": "#002f5c",
"nhsuk-focus": "#ffeb3b",
"nhsuk-focus-text": "#212b32",
"nhsuk-border": "#d8dde0",
"nhsuk-form-border": "#4c6272",
"nhsuk-error": "#d5281b",
"nhsuk-button": "#007f3b",
"nhsuk-secondary-button": "#4c6272",
"nhsuk-blue": "#005eb8",
"nhsuk-green": "'#007f3b'",
"nhsuk-yellow": "#ffeb3b",
"nhsuk-warm-yellow": "#ffb81C",
"nhsuk-red": "#d5281b",
"nhsuk-dark-pink": "#7C2855",
"nhsuk-purple": "#330072",
"nhsuk-grey-1": "#4c6272",
"nhsuk-grey-2": "#768692",
"nhsuk-grey-3": "#aeb7bd",
"nhsuk-grey-4": "#d8dde0",
"nhsuk-grey-5": "#f0f4f5",
"nhsuk-white": "#ffffff",
"nhsuk-pale-yellow": "#fff9c4",
'blue': {
'50': '#f2f7fb',
'100': '#e6eff8',
'200': '#bfd7ed',
'300': '#99bfe3',
'400': '#4d8ecd',
'500': '#005eb8',
'600': '#0055a6',
'700': '#00478a',
'800': '#00386e',
'900': '#002e5a'
},
'green': {
'50': '#f2f9f5',
'100': '#e6f2eb',
'200': '#bfdfce',
'300': '#99ccb1',
'400': '#4da576',
'500': '#007f3b',
'600': '#007235',
'700': '#005f2c',
'800': '#004c23',
'900': '#003e1d'
},
'gray': {
'50': '#f6f7f8',
'100': '#edeff1',
'200': '#d2d8dc',
'300': '#b7c0c7',
'400': '#82919c',
'500': '#4c6272',
'600': '#445867',
'700': '#394a56',
'800': '#2e3b44',
'900': '#253038'
}
},
typography: {
DEFAULT: {
css: {
pre: {
background: '#edeff1',
color: '#212b32',
padding: '2rem',
borderRadius: '0px',
whiteSpace: 'pre-line'
},
p: {
color: '#212b32'
},
th: {
fontSize: '16px'
},
td: {
fontSize: '16px'
}
},
},
}
}
},
variants: {},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms')
],
}