-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
41 lines (40 loc) · 1017 Bytes
/
tailwind.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
const { tailwindConfig } = require('@storefront-ui/tailwind-config');
const sfTypography = require('@storefront-ui/typography');
/** @type {import('tailwindcss').Config} */
module.exports = {
presets: [tailwindConfig],
content: [
'./src/components/**/*.{js,ts,jsx,tsx}',
'./src/routes/**/*.{js,ts,jsx,tsx}',
'./node_modules/qwik-storefront-ui/**/*.{cjs,mjs}',
],
theme: {
extend: {
gridTemplateAreas: {
'product-page': ['left-top right', 'left-bottom right'],
},
gridTemplateColumns: {
'product-page': 'minmax(56%, 500px) auto',
},
gridTemplateRows: {
'category-sidebar': 'min-content auto min-content',
},
screens: {
'4xl': '1920px',
'3xl': '1536px',
'2xl': '1366px',
xl: '1280px',
lg: '1024px',
md: '768px',
sm: '640px',
xs: '376px',
'2xs': '360px',
},
fontFamily: {
body: 'var(--font-body)',
headings: 'var(--font-headings)',
},
},
},
plugins: [sfTypography, require('@savvywombat/tailwindcss-grid-areas')],
};