-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
131 lines (127 loc) · 4.14 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
/** @type {import('tailwindcss').Config} */
const {
spacing
} = require('tailwindcss/defaultTheme');
const colors = require('tailwindcss/colors');
module.exports = {
purge: [
'./resources/**/*.blade.php',
'./resources/**/*.js',
'./resources/**/*.vue',
],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
screens: {
'sm': '640px',
// => @media (min-width: 640px) { ... }
'md': '768px',
// => @media (min-width: 768px) { ... }
'lg': '1024px',
// => @media (min-width: 1024px) { ... }
'xl': '1280px',
// => @media (min-width: 1280px) { ... }
'2xl': '1536px' // => @media (min-width: 1536px) { ... }
},
fontFamily: {
sans: ["Segoe UI", "Helvetica Neue", "Arial", "sans-serif"]
},
colors: {
primary: {
lighter: colors.blue['300'],
"DEFAULT": colors.blue['800'],
darker: colors.blue['900']
},
secondary: {
lighter: colors.blue['100'],
"DEFAULT": colors.blue['200'],
darker: colors.blue['300']
},
background: {
lighter: colors.blue['100'],
"DEFAULT": colors.blue['200'],
darker: colors.blue['300']
},
green: colors.emerald,
yellow: colors.amber,
purple: colors.violet
},
textColor: {
orange: colors.orange,
red: { ...colors.red,
"DEFAULT": colors.red['500']
},
primary: {
lighter: colors.gray['700'],
"DEFAULT": colors.gray['800'],
darker: colors.gray['900']
},
secondary: {
lighter: colors.gray['400'],
"DEFAULT": colors.gray['600'],
darker: colors.gray['800']
}
},
backgroundColor: {
primary: {
lighter: colors.blue['600'],
"DEFAULT": colors.blue['700'],
darker: colors.blue['800']
},
secondary: {
lighter: colors.blue['100'],
"DEFAULT": colors.blue['200'],
darker: colors.blue['300']
},
container: {
lighter: '#ffffff',
"DEFAULT": '#fafafa',
darker: '#f5f5f5'
}
},
borderColor: {
primary: {
lighter: colors.blue['600'],
"DEFAULT": colors.blue['700'],
darker: colors.blue['800']
},
secondary: {
lighter: colors.blue['100'],
"DEFAULT": colors.blue['200'],
darker: colors.blue['300']
},
container: {
lighter: '#f5f5f5',
"DEFAULT": '#e7e7e7',
darker: '#b6b6b6'
}
},
minWidth: {
8: spacing["8"],
20: spacing["20"],
40: spacing["40"],
48: spacing["48"]
},
minHeight: {
14: spacing["14"],
'screen-25': '25vh',
'screen-50': '50vh',
'screen-75': '75vh'
},
maxHeight: {
'0': '0',
'screen-25': '25vh',
'screen-50': '50vh',
'screen-75': '75vh'
},
container: {
center: true,
padding: '1.5rem'
}
}
},
variants: {
extend: {},
},
plugins: [require('@tailwindcss/forms'), require('@tailwindcss/typography')],
}