-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
92 lines (90 loc) · 2.42 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
const tailwindcssCapsize = require('tailwindcss-capsize')
module.exports = {
future: {
removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true,
},
theme: {
colors: {
white: '#fff',
black: '#000',
divider: '#101426',
grey: {
100: '#f1f2f2',
200: '#e7ebed',
300: '#dee4e8',
400: '#c0c8cd',
500: '#949ca1',
600: '#62696d',
700: '#393e41',
800: '#202326',
900: '#16191b',
},
slate: {
50: '#f7f9fc',
100: '#edf1f7',
200: '#e4e9f2',
300: '#c5cee0',
400: '#8f9bb3',
500: '#2e3a59',
600: '#222b45',
700: '#1a2138',
800: '#151a30',
900: '#101426',
},
cyan: {
100: '#d4fffd',
200: '#aafcff',
300: '#80f2ff',
400: '#60e4ff',
500: '#2cccff',
600: '#20a0db',
700: '#1679b7',
800: '#0e5693',
900: '#083e7a',
},
},
fontFamily: {
display: 'Antenna, sans-serif',
sans: 'Inter, sans-serif',
},
fontSize: {
6: '1.5rem',
8: '2rem',
12: '3rem',
18: '4.5rem',
20: '5rem',
24: '6rem',
},
fontMetrics: {
display: {
capHeight: 741,
ascent: 800,
descent: -200,
lineGap: 200,
unitsPerEm: 1000,
},
sans: {
capHeight: 2048,
ascent: 2728,
descent: -680,
lineGap: 0,
unitsPerEm: 2816,
},
},
extend: {},
},
// variants: {},
plugins: [tailwindcssCapsize.default({})],
purge: {
// Learn more on https://tailwindcss.com/docs/controlling-file-size/#removing-unused-css
enabled: process.env.NODE_ENV === 'production',
content: [
'components/**/*.vue',
'layouts/**/*.vue',
'pages/**/*.vue',
'plugins/**/*.js',
'nuxt.config.js',
],
},
}