refactor: move custom grids into the components

This commit is contained in:
Stefan Imhoff
2023-06-01 16:27:21 +02:00
parent 94f31fa20b
commit 22d2531b05
10 changed files with 30 additions and 30 deletions

View File

@@ -48,20 +48,6 @@ module.exports = {
14: 'repeat(14, minmax(0, 1fr))',
16: 'repeat(16, minmax(0, 1fr))',
18: 'repeat(18, minmax(0, 1fr))',
books: 'repeat(auto-fill, minmax(150px, 1fr))',
haiku: 'repeat(auto-fit, minmax(15rem, 1fr))',
'haiku-xl': 'repeat(auto-fit, minmax(25rem, 1fr)',
'haiku-list': 'repeat(auto-fill, minmax(3rem, 1fr))',
toolbox: 'repeat(auto-fit, minmax(80px, 1fr))',
gallery: 'repeat(auto-fit, minmax(50px, 1fr))',
},
gridTemplateRows: ({ theme }) => ({
layout: `clamp(3rem, ${theme('spacing.column')}, 9rem)`,
haiku: `clamp(3rem, ${theme('spacing.column')}, 9rem) 1fr`,
gallery: '50px',
}),
gridAutoRows: {
gallery: '50px',
},
columns: {
13: '13',