forked from mathieutu/resap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
96 lines (95 loc) · 2.35 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
const { cyan } = require('tailwindcss/colors');
module.exports = {
mode: 'jit',
purge: [
'./src/pages/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}',
'./src/services/categories.ts',
'./src/services/contentful.ts',
],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
screens: {
print: { raw: 'print' },
},
fontFamily: {
dosis: ['Dosis', 'sans-serif'],
IBM: ['IBM Plex Sans', 'sans-serif'],
},
colors: {
grey: {
default: '#808080',
light: '#F2F2F7',
},
blue: {
default: '#1E2F79',
},
green: {
default: '#6ED8B4',
},
sante: '#D76478',
social: '#E6AA50',
interpretariat: '#C693C2',
cyan,
},
typography: (theme) => ({
DEFAULT: {
css: {
color: theme('colors.grey.default'),
h1: {
display: 'none',
},
h2: {
color: theme('colors.green.default'),
fontSize: '2.25rem',
borderTopWidth: '1px',
borderTopColor: theme('colors.grey.300'),
pageBreakBefore: 'always',
paddingTop: '2rem',
},
h3: {
color: theme('colors.blue.default'),
},
h4: {
color: theme('colors.blue.default'),
},
h5: {
color: theme('colors.blue.default'),
},
h6: {
color: theme('colors.blue.default'),
},
blockquote: {
color: theme('colors.green.default'),
borderLeftColor: theme('colors.green.default'),
paddingTop: '0.375rem',
paddingBottom: '0.375rem',
},
ul: {
li: {
'&:before': {
backgroundColor: theme('colors.green.default'),
},
},
},
a: {
color: '#3182ce',
'&:hover': {
color: '#2c5282',
},
},
},
},
}),
},
},
variants: {
extend: {},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('@tailwindcss/aspect-ratio'),
],
};