-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
150 lines (147 loc) · 3.54 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
module.exports = {
prefix: '',
important: false,
separator: ':',
theme: {
fontFamily: {
text: ['FoundryGridnik-Medium'],
heading: ['FoundrySans-Demi']
},
aspectRatio: {
// defaults to {}
square: [1, 1],
'16/9': [16, 9],
'9/16': [9, 16],
'4/3': [4, 3],
'3/4': [3, 4],
'21/9': [21, 9],
'2/3': [2, 3],
'3/2': [3, 2],
'800/981': [800, 981],
'427/264': [427, 264]
},
marginOffset: {
'0': '0',
'05': '4.1666665%',
'1': '8.333333%',
'2': '16.666667%',
'3': '25%',
'4': '33.333333%',
'5': '41.666667%',
'6': '50%',
'7': '58.333333%',
'8': '66.666667%',
'9': '75%',
'10': '83.333333%',
'11': '91.666667%',
wrapper: '15%',
'1vw': '8.333333vw',
'2vw': '16.666667vw',
'3vw': '25vw',
'4vw': '33.333333vw',
'5vw': '41.666667vw',
'6vw': '50vw',
'7vw': '58.333333vw',
'8vw': '66.666667vw',
'9vw': '75vw',
'10vw': '83.333333vw',
'11vw': '91.666667vw',
'12vw': '100vw'
},
paddingOffset: {
'0': '0',
'05': '4.1666665%',
'1': '8.333333%',
'2': '16.666667%',
'3': '25%',
'4': '33.333333%',
'5': '41.666667%',
'6': '50%',
'7': '58.333333%',
'8': '66.666667%',
'9': '75%',
'10': '83.333333%',
'11': '91.666667%',
'1vw': '8.333333vw',
'2vw': '16.666667vw',
'3vw': '25vw',
'4vw': '33.333333vw',
'5vw': '41.666667vw',
'6vw': '50vw',
'7vw': '58.333333vw',
'8vw': '66.666667vw',
'9vw': '75vw',
'10vw': '83.333333vw',
'11vw': '91.666667vw',
'12vw': '100vw'
},
transitionDelay: {
'100': '100ms',
'150': '150ms',
'200': '200ms',
'250': '250ms',
'300': '300ms',
'350': '350ms',
'400': '400ms',
'450': '450ms',
'500': '500ms',
'5500': '550ms',
'600': '600ms',
'650': '650ms',
'700': '700ms',
'750': '750ms',
'800': '800ms',
'850': '850ms',
'900': '900ms',
'1000': '1000ms',
'1200': '1200ms',
'1400': '1400ms',
'1600': '1600ms',
'1800': '1800ms',
'2000': '2000ms'
},
extend: {
maxWidth: {
'measure-title': '10em',
'measure-wide': '34em',
measure: '30em',
'measure-narrow': '20em',
'measure-middle': '25em',
'measure-hero-title': '15em',
'measure-hero-title-mobile': '13em',
'measure-extra-wide': '40em',
'measure-xxl': '50em'
},
height: {
'40%': '40%',
'60%': '60%',
'80%': '80%'
},
zIndex: {
'-1': '-1'
},
inset: {
'1/2': '50%',
'1/5': '20%',
'7/12': '58.333333%'
},
screens: {
sm: '480px',
md: '768px',
lg: '1024px',
xl: '1280px',
xxl: '1600px'
}
}
},
variants: {
aspectRatio: ['responsive'],
marginOffset: ['responsive'],
paddingOffset: ['responsive']
},
plugins: [
require('./tailwind-plugins/aspect-ratio.js')(),
require('./tailwind-plugins/margin-offset.js')(),
require('./tailwind-plugins/padding-offset.js')()
]
};