-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtailwind.config.js
47 lines (45 loc) · 1.02 KB
/
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
42
43
44
45
46
47
// /** @type {import('tailwindcss').Config} */
// module.exports = {
// // content: ["./src/**/*.{js,jsx,ts,tsx}"],
// purge: [ './src/**/*.{js,jsx,ts,tsx}' ],
// prefix: "tw-",
// theme: {
// extend: {},
// },
// plugins: [],
// }
const { fontFamily } = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
module.exports = {
corePlugins: {
preflight: false,
container: false,
},
darkMode: ['class', '[data-theme="dark"]'],
content: ['./src/**/*.{js,jsx,ts,tsx,html}'],
theme: {
extend: {
fontFamily: {
nunito: ['Nunito', 'sans-serif'],
},
borderRadius: {
sm: '4px',
},
screens: {
sm: '0px',
lg: '997px',
},
colors: {},
keyframes: {
'slide-left': {
from: { transform: 'translateX(0)' },
to: { transform: 'translateX(-100%)' },
},
},
animation: {
'slide-left-infinite': 'slide-left 35s linear infinite',
},
},
},
plugins: [],
};