forked from code4romania/website-factory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
97 lines (90 loc) · 3.32 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
/** @type {import('tailwindcss').Config} */
export default {
theme: {
container: {
center: true,
padding: {
DEFAULT: '1rem',
sm: '1.5rem',
lg: '2rem',
},
},
extend: {
minWidth: (theme) => theme('spacing'),
maxWidth: (theme) => theme('spacing'),
minHeight: (theme) => theme('spacing'),
maxHeight: (theme) => theme('spacing'),
borderColor: {
inherit: 'inherit',
},
typography: (theme) => ({
DEFAULT: {
css: {
maxWidth: null,
'> ul > li > *:first-child': null,
'> ul > li > *:last-child': null,
'> ol > li > *:first-child': null,
'> ol > li > *:last-child': null,
table: {
width: '100%',
marginTop: null,
marginBottom: null,
overflow: 'hidden',
'th, td': {
minWidth: '1em',
borderWidth: '2px',
borderStyle: 'solid',
borderColor: theme('colors.gray.200'),
padding: '0.5714286em',
position: 'relative',
'> *': {
marginTop: 0,
marginBottom: 0,
},
},
th: {
backgroundColor: theme('colors.gray.100'),
position: 'relative',
},
},
'thead th': {
paddingRight: null,
paddingBottom: null,
paddingLeft: null,
},
'thead th:first-child': {
paddingLeft: null,
},
'thead th:last-child': {
paddingRight: null,
},
'tbody td, tfoot td': {
paddingTop: null,
paddingRight: null,
paddingBottom: null,
paddingLeft: null,
},
'tbody td:first-child, tfoot td:first-child': {
paddingLeft: null,
},
'tbody td:last-child, tfoot td:last-child': {
paddingRight: null,
},
},
},
}),
},
},
content: [
'app/Services/Help.php',
'help/**/*.md',
'resources/views/admin/**/*.blade.php',
'resources/js/**/*.vue',
'resources/js/**/*.js',
],
plugins: [
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
],
};