From 525956065272dc53e8f8395f55f9ad13077a38d1 Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Fri, 6 Nov 2020 14:57:58 +0100 Subject: [PATCH] extend height values --- stubs/defaultConfig.stub.js | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/stubs/defaultConfig.stub.js b/stubs/defaultConfig.stub.js index f42625933d77..3dbe562f013f 100644 --- a/stubs/defaultConfig.stub.js +++ b/stubs/defaultConfig.stub.js @@ -294,7 +294,27 @@ module.exports = { 5: 'repeat(5, minmax(0, 1fr))', 6: 'repeat(6, minmax(0, 1fr))', }, - height: (theme) => ({ auto: 'auto', ...theme('spacing'), full: '100%', screen: '100vh' }), + height: (theme) => ({ + auto: 'auto', + ...theme('spacing'), + '1/2': '50%', + '1/3': '33.333333%', + '2/3': '66.666667%', + '1/4': '25%', + '2/4': '50%', + '3/4': '75%', + '1/5': '20%', + '2/5': '40%', + '3/5': '60%', + '4/5': '80%', + '1/6': '16.666667%', + '2/6': '33.333333%', + '3/6': '50%', + '4/6': '66.666667%', + '5/6': '83.333333%', + full: '100%', + screen: '100vh', + }), inset: (theme, { negative }) => ({ auto: 'auto', ...theme('spacing'),