Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add spacing scale to min-width, min-height, and max-width
  • Loading branch information
thecrypticace committed Oct 26, 2023
commit 524ad62faca71f39e014d4100a14a24eaa0a180d
14 changes: 7 additions & 7 deletions stubs/config.full.js
Original file line number Diff line number Diff line change
Expand Up @@ -651,8 +651,8 @@ module.exports = {
fit: 'fit-content',
}),
maxWidth: ({ theme, breakpoints }) => ({
...theme('spacing'),
none: 'none',
0: '0rem',
xs: '20rem',
sm: '24rem',
md: '28rem',
Expand All @@ -671,8 +671,8 @@ module.exports = {
prose: '65ch',
...breakpoints(theme('screens')),
}),
minHeight: {
0: '0px',
minHeight: ({ theme }) => ({
...theme('spacing'),
full: '100%',
screen: '100vh',
svh: '100svh',
Expand All @@ -681,14 +681,14 @@ module.exports = {
min: 'min-content',
max: 'max-content',
fit: 'fit-content',
},
minWidth: {
0: '0px',
}),
minWidth: ({ theme }) => ({
...theme('spacing'),
full: '100%',
min: 'min-content',
max: 'max-content',
fit: 'fit-content',
},
}),
objectPosition: {
bottom: 'bottom',
center: 'center',
Expand Down