This repository has been archived by the owner on Nov 23, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathtailwind.config.js
94 lines (93 loc) · 2.21 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
const { fontFamily } = require('tailwindcss/defaultTheme')
module.exports = {
purge: {
content: ['./resources/views/**/*.blade.php'],
options: {
whitelist: [
'col-span-1',
'col-span-2',
'col-span-3',
'col-span-4',
'col-span-5',
'col-span-6',
'col-span-7',
'col-span-8',
'col-span-9',
'col-span-10',
'col-span-11',
'col-span-12',
],
},
},
future: {
removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true,
},
// Yes, living on the edge 🤘
experimental: {
extendedSpacingScale: true,
uniformColorPalette: true,
defaultLineHeights: true,
applyComplexClasses: true,
},
theme: {
extend: {
fontFamily: {
display: ['DM Sans', ...fontFamily.sans],
sans: ['Inter', ...fontFamily.sans],
mono: ['DM mono', ...fontFamily.mono],
},
colors: {
primary: {
50: '#ebf5ff',
100: '#e1effe',
200: '#c3ddfd',
300: '#a4cafe',
400: '#76a9fa',
500: '#3f83f8',
600: '#1c64f2',
700: '#1a56db',
800: '#1e429f',
900: '#233876',
},
success: {
50: '#f3faf7',
100: '#def7ec',
200: '#bcf0da',
300: '#84e1bc',
400: '#31c48d',
500: '#0e9f6e',
600: '#057a55',
700: '#046c4e',
800: '#03543f',
900: '#014737',
},
danger: {
50: '#fdf2f2',
100: '#fde8e8',
200: '#fbd5d5',
300: '#f8b4b4',
400: '#f98080',
500: '#f05252',
600: '#e02424',
700: '#c81e1e',
800: '#9b1c1c',
900: '#771d1d',
},
},
boxShadow: {
default: [
'0 1px 1px 0 rgba(0, 0, 0, 0.12)',
'0 2px 4px 0 rgba(0, 0, 0, 0.04)',
'0 2px 8px 0 rgba(0, 0, 0, 0.02)',
].join(', '),
sm: [
'0 1px 1px 0 rgba(0, 0, 0, 0.08)',
'0 2px 3px 0 rgba(0, 0, 0, 0.02)',
'0 3px 6px 0 rgba(0, 0, 0, 0.01)',
].join(', '),
},
},
},
plugins: [require('@tailwindcss/custom-forms')],
}