Skip to content

Commit 5259560

Browse files
committed
extend height values
1 parent 7f05204 commit 5259560

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

stubs/defaultConfig.stub.js

+21-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,27 @@ module.exports = {
294294
5: 'repeat(5, minmax(0, 1fr))',
295295
6: 'repeat(6, minmax(0, 1fr))',
296296
},
297-
height: (theme) => ({ auto: 'auto', ...theme('spacing'), full: '100%', screen: '100vh' }),
297+
height: (theme) => ({
298+
auto: 'auto',
299+
...theme('spacing'),
300+
'1/2': '50%',
301+
'1/3': '33.333333%',
302+
'2/3': '66.666667%',
303+
'1/4': '25%',
304+
'2/4': '50%',
305+
'3/4': '75%',
306+
'1/5': '20%',
307+
'2/5': '40%',
308+
'3/5': '60%',
309+
'4/5': '80%',
310+
'1/6': '16.666667%',
311+
'2/6': '33.333333%',
312+
'3/6': '50%',
313+
'4/6': '66.666667%',
314+
'5/6': '83.333333%',
315+
full: '100%',
316+
screen: '100vh',
317+
}),
298318
inset: (theme, { negative }) => ({
299319
auto: 'auto',
300320
...theme('spacing'),

0 commit comments

Comments
 (0)