-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.cjs
44 lines (43 loc) · 1.19 KB
/
tailwind.config.cjs
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
42
43
44
/* eslint-disable @typescript-eslint/no-var-requires */
/* eslint-disable global-require */
const { fontFamily } = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
// container: {
// center: true,
// padding: "1.5rem",
// screens: {
// "2xl": "1440px",
// },
// },
gridTemplateColumns: {
'auto-fill': 'repeat(auto-fill, minmax(220px, 1fr))',
details: 'repeat(auto-fit, minmax(350px, 1fr))',
},
screens: {
xs: '480px',
},
fontFamily: {
sans: ['var(--font-sans)', ...fontFamily.sans],
},
backgroundImage: {
netflix: 'url("../assets/netflix-bg.jpg")',
'movie-1': 'url("../assets/movie-bg-1.jpg")',
'movie-2': 'url("../assets/movie-bg-2.jpg")',
'movie-3': 'url("../assets/movie-bg-3.jpg")',
lost: 'url("../assets/lost-bg.jpeg")',
},
},
},
plugins: [
require('@tailwindcss/forms'),
require('tailwindcss-radix')({
variantPrefix: 'rdx',
}),
require('tailwindcss-animate'),
],
};