-
Notifications
You must be signed in to change notification settings - Fork 4
/
tailwind.config.js
111 lines (110 loc) · 2.38 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
/**
* This script adds the tailwind.config.js to the UTC Tailwind Genesis Theme.
*
* @package UTC\JS
* @author Bridget Hornsby
* @license GPL-2.0-or-later
*/
// tailwind.config.js
const colors = require("./tokens/colors.tailwind");
const fontFamily = require("./tokens/font-family.tailwind");
module.exports = {
purge: {
mode: "layers",
content: [
"./*.php",
"./lib/**/*.php",
"./config/**/*.php",
"./page-templates/*.php",
"./assets/**/*.js",
],
},
darkMode: false, // or 'media' or 'class'
theme: {
colors,
fontFamily,
extend: {
gridTemplateRows: {
// Adds a custom template for the utc hero block
utchero: "40px 1fr 1fr 70px",
utcheroreverse: "70px 1fr 1fr 40px",
utcherocenter: "25px 1fr 1fr 25px",
},
gridTemplateColumns: {
// Adds a custom template for the utc hero block
utchero: "1fr 60% 35% 1fr",
utcheroright: "1fr 35% 60% 1fr",
utcherocenter: "1fr 45% 45% 1fr",
utcmenufooter1: "1fr 37% 1fr",
utcmenufooter2: "1fr 0% 1fr",
utcmapfooter: "1fr 30% 1fr",
},
zIndex: {
less1: "-1",
1: "1",
98: "98",
99: "99",
100: "100",
999: "999",
1000: "1000",
1001: "1001",
9999: "9999",
100000: "100000",
},
minHeight: {
5: "5rem",
6: "1.5rem",
8: "2rem",
21: "21rem",
23: "23rem",
},
maxWidth: {
auto: "auto",
"1/4": "25%",
"1/2": "50%",
"3/5": "60%",
"3/4": "75%",
xxs: "13.75rem",
xs: "19rem",
"6.5xl": "75rem",
"screen-lg": "1024px",
18: "18rem",
38: "38rem",
},
maxHeight: {
80: "5rem",
660: "41.25rem",
},
width: {
fit: "fit-content",
90: "90%",
92: "92%",
95: "95%",
17: "4.375rem",
},
height: {
18: "4.5rem",
fit: "fit-content",
},
borderWidth: {
12: "12px",
},
margin: {
18: "4.5rem",
},
boxShadow: {
'utc': '3px 3px 5px 1px rgb(0 0 0 / 15%);'
},
},
},
variants: {
extend: {},
},
fontSize: {
sm: ['16px', '19px'],
base: ['18px', '22px'],
lg: ['21px', '24px'],
xl: ['27px', '30px'],
},
plugins: [],
};