chore(tailwind): add new grid template column settings

This commit is contained in:
Stefan Imhoff
2023-04-13 16:16:05 +02:00
parent c5819d5772
commit 6b90423cf9
2 changed files with 3 additions and 0 deletions

1
src/env.d.ts vendored
View File

@@ -1 +1,2 @@
/// <reference path="../.astro/types.d.ts" />
/// <reference types="astro/client" /> /// <reference types="astro/client" />

View File

@@ -40,12 +40,14 @@ module.exports = {
}, },
}, },
gridTemplateColumns: { gridTemplateColumns: {
2: 'repeat(2, minmax(0, 1fr))',
6: 'repeat(6, minmax(0, 1fr))', 6: 'repeat(6, minmax(0, 1fr))',
8: 'repeat(8, minmax(0, 1fr))', 8: 'repeat(8, minmax(0, 1fr))',
10: 'repeat(10, minmax(0, 1fr))', 10: 'repeat(10, minmax(0, 1fr))',
14: 'repeat(14, minmax(0, 1fr))', 14: 'repeat(14, minmax(0, 1fr))',
16: 'repeat(16, minmax(0, 1fr))', 16: 'repeat(16, minmax(0, 1fr))',
18: 'repeat(18, minmax(0, 1fr))', 18: 'repeat(18, minmax(0, 1fr))',
books: 'repeat(auto-fill, minmax(150px, 1fr))',
}, },
gridTemplateRows: ({ theme }) => ({ gridTemplateRows: ({ theme }) => ({
layout: `clamp(3rem, ${theme('spacing.column')}, 9rem)`, layout: `clamp(3rem, ${theme('spacing.column')}, 9rem)`,