-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
34 lines (33 loc) · 1.09 KB
/
tailwind.config.ts
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
import { type Config } from 'tailwindcss';
import defaultTheme from 'tailwindcss/defaultTheme';
export default {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
backgroundImage: {
'hero-pattern': "url('/images/hero.jpg')",
'use-pattern': "url('/images/who-can-use-bg.jpg')",
},
screens: {
...defaultTheme.screens,
'sm-max': { max: '639px' },
'md-max': { max: '767px' },
'lg-max': { max: '1023px' },
'xl-max': { max: '1279px' },
'2xl-max': { max: '1535px' },
'sm-md': { min: '640px', max: '767px' },
'md-lg': { min: '768px', max: '1023px' },
'lg-xl': { min: '1024px', max: '1279px' },
'xl-2xl': { min: '1280px', max: '1535px' },
'sm-lg': { min: '640px', max: '1023px' },
'md-xl': { min: '768px', max: '1279px' },
'footer-mobile': { max: '739px' },
// TODO - figure out how to differ between desktop and mobile
},
},
},
plugins: [
require('./src/plugins/openVariant'),
require('./src/plugins/scrollbarHide'),
],
} satisfies Config;