Skip to content

Commit

Permalink
extend height values
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinMalfait committed Nov 6, 2020
1 parent 7f05204 commit 5259560
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion stubs/defaultConfig.stub.js
Expand Up @@ -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'),
Expand Down

0 comments on commit 5259560

Please sign in to comment.