-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
92 lines (91 loc) · 2.19 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
/** @typedef { import('tailwindcss/defaultConfig') } DefaultConfig */
/** @typedef { import('tailwindcss/defaultTheme') } DefaultTheme */
/** @typedef { DefaultConfig & { theme: { extend: DefaultTheme } } } TailwindConfig */
/** @type {TailwindConfig} */
module.exports = {
purge: [
'./app/**/*.html',
'./app/**/*.js',
],
darkMode: false, // or 'media' or 'class'
theme: {
fontFamily: {
marquis: '"MarquisWeb", "HelveticaNeue", "Helvetica Neue", "Arial", "Helvetica", sans-serif'
},
fontSize: {
// 'heading-mobile': ['2.2vw', {
// letterSpacing: 0,
// lineHeight: '1.25',
// }],
'xl': ['4.8vw', {
letterSpacing: '-0.0025em',
lineHeight: 1.15,
}],
// Or with a default line-height as well
// 'body-mobile': ['16px', {
// letterSpacing: 0,
// lineHeight: '24px',
// }],
'body': ['20px', {
lineHeight: '28px',
}],
'detail-mobile': ['14px', {
lineHeight: '18px',
}],
'detail': ['15px', {
lineHeight: '20px',
}],
'interface': ['13px', {
lineHeight: '16px',
letterSpacing: '0.05em',
}],
},
extend: {
colors: {
text: "#222222",
border: "#2F3130",
borderTable: "#b1b4b6",
gray: '#E1E1E1',
pageWhite: '#FAFAFA',
green: "#BEC4A0",
greenLight: "#D6DAC6",
greenDark: "#929874",
yellow: "#F5D800",
yellowLight: "#F7F1C1",
red: "#C94E3E",
redLight: "#F2B7B1",
blue: "#2C2264",
blueLight: "#DAD6F0",
blueBright: "#2F18B4",
transparent: 'transparent'
},
spacing: {
0: '0px',
1: '5px',
2: '10px',
3: '15px',
4: '20px',
5: '40px',
6: '60px',
7: '80px',
'40p': '40%',
'60p': '60%',
},
minHeight: {
'75vh': '75vh',
'none': 'none'
},
maxWidth: {
headline: '20em',
body: '40em',
detail: '18em',
interface: '23em'
}
},
},
variants: {},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
],
}