@@ -71,6 +71,15 @@ module.exports = {
71
71
pulse : 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite' ,
72
72
bounce : 'bounce 1s infinite' ,
73
73
} ,
74
+ backdropBlur : ( theme ) => theme ( 'blur' ) ,
75
+ backdropBrightness : ( theme ) => theme ( 'brightness' ) ,
76
+ backdropContrast : ( theme ) => theme ( 'contrast' ) ,
77
+ backdropGrayscale : ( theme ) => theme ( 'grayscale' ) ,
78
+ backdropHueRotate : ( theme ) => theme ( 'hueRotate' ) ,
79
+ backdropInvert : ( theme ) => theme ( 'invert' ) ,
80
+ backdropOpacity : ( theme ) => theme ( 'opacity' ) ,
81
+ backdropSaturate : ( theme ) => theme ( 'saturate' ) ,
82
+ backdropSepia : ( theme ) => theme ( 'sepia' ) ,
74
83
backgroundColor : ( theme ) => theme ( 'colors' ) ,
75
84
backgroundImage : {
76
85
none : 'none' ,
@@ -100,6 +109,29 @@ module.exports = {
100
109
cover : 'cover' ,
101
110
contain : 'contain' ,
102
111
} ,
112
+ blur : {
113
+ 0 : '0' ,
114
+ sm : '4px' ,
115
+ DEFAULT : '8px' ,
116
+ md : '12px' ,
117
+ lg : '16px' ,
118
+ xl : '24px' ,
119
+ '2xl' : '40px' ,
120
+ '3xl' : '64px' ,
121
+ } ,
122
+ brightness : {
123
+ 0 : '0' ,
124
+ 50 : '.5' ,
125
+ 75 : '.75' ,
126
+ 90 : '.9' ,
127
+ 95 : '.95' ,
128
+ 100 : '1' ,
129
+ 105 : '1.05' ,
130
+ 110 : '1.1' ,
131
+ 125 : '1.25' ,
132
+ 150 : '1.5' ,
133
+ 200 : '2' ,
134
+ } ,
103
135
borderColor : ( theme ) => ( {
104
136
...theme ( 'colors' ) ,
105
137
DEFAULT : theme ( 'colors.gray.200' , 'currentColor' ) ,
@@ -133,6 +165,15 @@ module.exports = {
133
165
inner : 'inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)' ,
134
166
none : 'none' ,
135
167
} ,
168
+ contrast : {
169
+ 0 : '0' ,
170
+ 50 : '.5' ,
171
+ 75 : '.75' ,
172
+ 100 : '1' ,
173
+ 125 : '1.25' ,
174
+ 150 : '1.5' ,
175
+ 200 : '2' ,
176
+ } ,
136
177
container : { } ,
137
178
cursor : {
138
179
auto : 'auto' ,
@@ -147,42 +188,6 @@ module.exports = {
147
188
divideColor : ( theme ) => theme ( 'borderColor' ) ,
148
189
divideOpacity : ( theme ) => theme ( 'borderOpacity' ) ,
149
190
divideWidth : ( theme ) => theme ( 'borderWidth' ) ,
150
- fill : { current : 'currentColor' } ,
151
- blur : {
152
- 0 : '0' ,
153
- sm : '4px' ,
154
- DEFAULT : '8px' ,
155
- md : '12px' ,
156
- lg : '16px' ,
157
- xl : '24px' ,
158
- '2xl' : '40px' ,
159
- '3xl' : '64px' ,
160
- } ,
161
- backdropBlur : ( theme ) => theme ( 'blur' ) ,
162
- brightness : {
163
- 0 : '0' ,
164
- 50 : '.5' ,
165
- 75 : '.75' ,
166
- 90 : '.9' ,
167
- 95 : '.95' ,
168
- 100 : '1' ,
169
- 105 : '1.05' ,
170
- 110 : '1.1' ,
171
- 125 : '1.25' ,
172
- 150 : '1.5' ,
173
- 200 : '2' ,
174
- } ,
175
- backdropBrightness : ( theme ) => theme ( 'brightness' ) ,
176
- contrast : {
177
- 0 : '0' ,
178
- 50 : '.5' ,
179
- 75 : '.75' ,
180
- 100 : '1' ,
181
- 125 : '1.25' ,
182
- 150 : '1.5' ,
183
- 200 : '2' ,
184
- } ,
185
- backdropContrast : ( theme ) => theme ( 'contrast' ) ,
186
191
dropShadow : {
187
192
sm : '0 1px 1px rgba(0,0,0,0.05)' ,
188
193
DEFAULT : [ '0 1px 2px rgba(0, 0, 0, 0.1)' , '0 1px 1px rgba(0, 0, 0, 0.06)' ] ,
@@ -192,11 +197,11 @@ module.exports = {
192
197
'2xl' : '0 25px 25px rgba(0, 0, 0, 0.15)' ,
193
198
none : '0 0 #0000' ,
194
199
} ,
200
+ fill : { current : 'currentColor' } ,
195
201
grayscale : {
196
202
0 : '0' ,
197
203
DEFAULT : '100%' ,
198
204
} ,
199
- backdropGrayscale : ( theme ) => theme ( 'grayscale' ) ,
200
205
hueRotate : {
201
206
'-180' : '-180deg' ,
202
207
'-90' : '-90deg' ,
@@ -210,26 +215,10 @@ module.exports = {
210
215
90 : '90deg' ,
211
216
180 : '180deg' ,
212
217
} ,
213
- backdropHueRotate : ( theme ) => theme ( 'hueRotate' ) ,
214
218
invert : {
215
219
0 : '0' ,
216
220
DEFAULT : '100%' ,
217
221
} ,
218
- backdropInvert : ( theme ) => theme ( 'invert' ) ,
219
- backdropOpacity : ( theme ) => theme ( 'opacity' ) ,
220
- saturate : {
221
- 0 : '0' ,
222
- 50 : '.5' ,
223
- 100 : '1' ,
224
- 150 : '1.5' ,
225
- 200 : '2' ,
226
- } ,
227
- backdropSaturate : ( theme ) => theme ( 'saturate' ) ,
228
- sepia : {
229
- 0 : '0' ,
230
- DEFAULT : '100%' ,
231
- } ,
232
- backdropSepia : ( theme ) => theme ( 'sepia' ) ,
233
222
flex : {
234
223
1 : '1 1 0%' ,
235
224
auto : '1 1 auto' ,
@@ -649,6 +638,13 @@ module.exports = {
649
638
90 : '90deg' ,
650
639
180 : '180deg' ,
651
640
} ,
641
+ saturate : {
642
+ 0 : '0' ,
643
+ 50 : '.5' ,
644
+ 100 : '1' ,
645
+ 150 : '1.5' ,
646
+ 200 : '2' ,
647
+ } ,
652
648
scale : {
653
649
0 : '0' ,
654
650
50 : '.5' ,
@@ -661,6 +657,10 @@ module.exports = {
661
657
125 : '1.25' ,
662
658
150 : '1.5' ,
663
659
} ,
660
+ sepia : {
661
+ 0 : '0' ,
662
+ DEFAULT : '100%' ,
663
+ } ,
664
664
skew : {
665
665
'-12' : '-12deg' ,
666
666
'-6' : '-6deg' ,
0 commit comments