-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
37 lines (36 loc) · 898 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
/* eslint-disable @typescript-eslint/no-var-requires */
const { fontFamily } = require('tailwindcss/defaultTheme')
// Base config from https://www.tailwind-kit.com/started
module.exports = {
important: true,
// Active dark mode on class basis
darkMode: 'class',
i18n: {
locales: ['en-US'],
defaultLocale: 'en-US',
},
purge: {
content: ['./pages/**/*.tsx', './src/components/**/*.tsx'],
// These options are passed through directly to PurgeCSS
},
theme: {
extend: {
backgroundImage: (theme) => ({
check: "url('/icons/check.svg')",
landscape: "url('/static/images/landscape/2.jpg')",
}),
},
},
variants: {
extend: {
backgroundColor: ['checked'],
borderColor: ['checked'],
inset: ['checked'],
zIndex: ['hover', 'active'],
},
},
plugins: [],
future: {
purgeLayersByDefault: true,
},
}