Skip to content

Commit c65e41b

Browse files
committed
Sort the theme keys in alphabetical order.
1 parent 6c87607 commit c65e41b

File tree

1 file changed

+150
-149
lines changed

1 file changed

+150
-149
lines changed

stubs/defaultConfig.stub.js

Lines changed: 150 additions & 149 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,78 @@ module.exports = {
141141
'56': '14rem',
142142
'64': '16rem',
143143
},
144-
screens: {
145-
sm: '640px',
146-
md: '768px',
147-
lg: '1024px',
148-
xl: '1280px',
144+
145+
backgroundColor: theme => theme('colors'),
146+
backgroundPosition: {
147+
bottom: 'bottom',
148+
center: 'center',
149+
left: 'left',
150+
'left-bottom': 'left bottom',
151+
'left-top': 'left top',
152+
right: 'right',
153+
'right-bottom': 'right bottom',
154+
'right-top': 'right top',
155+
top: 'top',
156+
},
157+
backgroundSize: {
158+
auto: 'auto',
159+
cover: 'cover',
160+
contain: 'contain',
161+
},
162+
borderColor: theme => ({
163+
...theme('colors'),
164+
default: theme('colors.gray.300', 'currentColor'),
165+
}),
166+
borderRadius: {
167+
none: '0',
168+
sm: '0.125rem',
169+
default: '0.25rem',
170+
lg: '0.5rem',
171+
full: '9999px',
172+
},
173+
borderWidth: {
174+
default: '1px',
175+
'0': '0',
176+
'2': '2px',
177+
'4': '4px',
178+
'8': '8px',
179+
},
180+
boxShadow: {
181+
default: '0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)',
182+
md: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)',
183+
lg: '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)',
184+
xl: '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)',
185+
'2xl': '0 25px 50px -12px rgba(0, 0, 0, 0.25)',
186+
inner: 'inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)',
187+
outline: '0 0 0 3px rgba(66, 153, 225, 0.5)',
188+
none: 'none',
189+
},
190+
container: {},
191+
cursor: {
192+
auto: 'auto',
193+
default: 'default',
194+
pointer: 'pointer',
195+
wait: 'wait',
196+
text: 'text',
197+
move: 'move',
198+
'not-allowed': 'not-allowed',
199+
},
200+
fill: {
201+
current: 'currentColor',
202+
},
203+
flex: {
204+
'1': '1 1 0%',
205+
auto: '1 1 auto',
206+
initial: '0 1 auto',
207+
none: 'none',
208+
},
209+
flexGrow: {
210+
'0': '0',
211+
default: '1',
212+
},
213+
flexShrink: {
214+
'0': '0',
215+
default: '1',
149216
},
150217
fontFamily: {
151218
sans: [
@@ -201,13 +268,15 @@ module.exports = {
201268
extrabold: '800',
202269
black: '900',
203270
},
204-
lineHeight: {
205-
none: '1',
206-
tight: '1.25',
207-
snug: '1.375',
208-
normal: '1.5',
209-
relaxed: '1.625',
210-
loose: '2',
271+
height: theme => ({
272+
auto: 'auto',
273+
...theme('spacing'),
274+
full: '100%',
275+
screen: '100vh',
276+
}),
277+
inset: {
278+
'0': '0',
279+
auto: 'auto',
211280
},
212281
letterSpacing: {
213282
tighter: '-0.05em',
@@ -217,95 +286,25 @@ module.exports = {
217286
wider: '0.05em',
218287
widest: '0.1em',
219288
},
220-
textColor: theme => theme('colors'),
221-
backgroundColor: theme => theme('colors'),
222-
backgroundPosition: {
223-
bottom: 'bottom',
224-
center: 'center',
225-
left: 'left',
226-
'left-bottom': 'left bottom',
227-
'left-top': 'left top',
228-
right: 'right',
229-
'right-bottom': 'right bottom',
230-
'right-top': 'right top',
231-
top: 'top',
232-
},
233-
backgroundSize: {
234-
auto: 'auto',
235-
cover: 'cover',
236-
contain: 'contain',
237-
},
238-
borderWidth: {
239-
default: '1px',
240-
'0': '0',
241-
'2': '2px',
242-
'4': '4px',
243-
'8': '8px',
244-
},
245-
borderColor: theme => ({
246-
...theme('colors'),
247-
default: theme('colors.gray.300', 'currentColor'),
248-
}),
249-
borderRadius: {
250-
none: '0',
251-
sm: '0.125rem',
252-
default: '0.25rem',
253-
lg: '0.5rem',
254-
full: '9999px',
289+
lineHeight: {
290+
none: '1',
291+
tight: '1.25',
292+
snug: '1.375',
293+
normal: '1.5',
294+
relaxed: '1.625',
295+
loose: '2',
255296
},
256-
cursor: {
257-
auto: 'auto',
258-
default: 'default',
259-
pointer: 'pointer',
260-
wait: 'wait',
261-
text: 'text',
262-
move: 'move',
263-
'not-allowed': 'not-allowed',
297+
listStyleType: {
298+
none: 'none',
299+
disc: 'disc',
300+
decimal: 'decimal',
264301
},
265-
width: theme => ({
266-
auto: 'auto',
267-
...theme('spacing'),
268-
'1/2': '50%',
269-
'1/3': '33.33333%',
270-
'2/3': '66.66667%',
271-
'1/4': '25%',
272-
'2/4': '50%',
273-
'3/4': '75%',
274-
'1/5': '20%',
275-
'2/5': '40%',
276-
'3/5': '60%',
277-
'4/5': '80%',
278-
'1/6': '16.66667%',
279-
'2/6': '33.33333%',
280-
'3/6': '50%',
281-
'4/6': '66.66667%',
282-
'5/6': '83.33333%',
283-
'1/12': '8.33333%',
284-
'2/12': '16.66667%',
285-
'3/12': '25%',
286-
'4/12': '33.33333%',
287-
'5/12': '41.66667%',
288-
'6/12': '50%',
289-
'7/12': '58.33333%',
290-
'8/12': '66.66667%',
291-
'9/12': '75%',
292-
'10/12': '83.33333%',
293-
'11/12': '91.66667%',
294-
full: '100%',
295-
screen: '100vw',
296-
}),
297-
height: theme => ({
302+
margin: (theme, { negative }) => ({
298303
auto: 'auto',
299304
...theme('spacing'),
300-
full: '100%',
301-
screen: '100vh',
305+
...negative(theme('spacing')),
302306
}),
303-
minWidth: {
304-
'0': '0',
305-
full: '100%',
306-
},
307-
minHeight: {
308-
'0': '0',
307+
maxHeight: {
309308
full: '100%',
310309
screen: '100vh',
311310
},
@@ -322,16 +321,15 @@ module.exports = {
322321
'6xl': '72rem',
323322
full: '100%',
324323
},
325-
maxHeight: {
324+
minHeight: {
325+
'0': '0',
326326
full: '100%',
327327
screen: '100vh',
328328
},
329-
padding: theme => theme('spacing'),
330-
margin: (theme, { negative }) => ({
331-
auto: 'auto',
332-
...theme('spacing'),
333-
...negative(theme('spacing')),
334-
}),
329+
minWidth: {
330+
'0': '0',
331+
full: '100%',
332+
},
335333
objectPosition: {
336334
bottom: 'bottom',
337335
center: 'center',
@@ -343,52 +341,13 @@ module.exports = {
343341
'right-top': 'right top',
344342
top: 'top',
345343
},
346-
boxShadow: {
347-
default: '0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)',
348-
md: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)',
349-
lg: '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)',
350-
xl: '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)',
351-
'2xl': '0 25px 50px -12px rgba(0, 0, 0, 0.25)',
352-
inner: 'inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)',
353-
outline: '0 0 0 3px rgba(66, 153, 225, 0.5)',
354-
none: 'none',
355-
},
356-
zIndex: {
357-
auto: 'auto',
358-
'0': '0',
359-
'10': '10',
360-
'20': '20',
361-
'30': '30',
362-
'40': '40',
363-
'50': '50',
364-
},
365344
opacity: {
366345
'0': '0',
367346
'25': '0.25',
368347
'50': '0.5',
369348
'75': '0.75',
370349
'100': '1',
371350
},
372-
fill: {
373-
current: 'currentColor',
374-
},
375-
stroke: {
376-
current: 'currentColor',
377-
},
378-
flex: {
379-
'1': '1 1 0%',
380-
auto: '1 1 auto',
381-
initial: '0 1 auto',
382-
none: 'none',
383-
},
384-
flexGrow: {
385-
'0': '0',
386-
default: '1',
387-
},
388-
flexShrink: {
389-
'0': '0',
390-
default: '1',
391-
},
392351
order: {
393352
first: '-9999',
394353
last: '9999',
@@ -406,16 +365,58 @@ module.exports = {
406365
'11': '11',
407366
'12': '12',
408367
},
409-
listStyleType: {
410-
none: 'none',
411-
disc: 'disc',
412-
decimal: 'decimal',
368+
padding: theme => theme('spacing'),
369+
screens: {
370+
sm: '640px',
371+
md: '768px',
372+
lg: '1024px',
373+
xl: '1280px',
413374
},
414-
inset: {
415-
'0': '0',
375+
stroke: {
376+
current: 'currentColor',
377+
},
378+
textColor: theme => theme('colors'),
379+
width: theme => ({
380+
auto: 'auto',
381+
...theme('spacing'),
382+
'1/2': '50%',
383+
'1/3': '33.33333%',
384+
'2/3': '66.66667%',
385+
'1/4': '25%',
386+
'2/4': '50%',
387+
'3/4': '75%',
388+
'1/5': '20%',
389+
'2/5': '40%',
390+
'3/5': '60%',
391+
'4/5': '80%',
392+
'1/6': '16.66667%',
393+
'2/6': '33.33333%',
394+
'3/6': '50%',
395+
'4/6': '66.66667%',
396+
'5/6': '83.33333%',
397+
'1/12': '8.33333%',
398+
'2/12': '16.66667%',
399+
'3/12': '25%',
400+
'4/12': '33.33333%',
401+
'5/12': '41.66667%',
402+
'6/12': '50%',
403+
'7/12': '58.33333%',
404+
'8/12': '66.66667%',
405+
'9/12': '75%',
406+
'10/12': '83.33333%',
407+
'11/12': '91.66667%',
408+
full: '100%',
409+
screen: '100vw',
410+
}),
411+
zIndex: {
416412
auto: 'auto',
413+
'0': '0',
414+
'10': '10',
415+
'20': '20',
416+
'30': '30',
417+
'40': '40',
418+
'50': '50',
417419
},
418-
container: {}
419420
},
420421
variants: {
421422
alignContent: ['responsive'],

0 commit comments

Comments
 (0)