-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtailwind.config.js
74 lines (73 loc) · 1.73 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./app/**/*.{js,ts,jsx,tsx,mdx}',
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
// Or if using `src` directory:
'./src/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
container: {
padding: {
DEFAULT: '15px',
},
},
screens: {
sm: '640px',
md: '768px',
lg: '960px',
xl: '1200px',
},
extend: {
colors: {
primary: '#131424',
secondary: '#393A47',
accent: '#c951fe',
},
backgroundImage: {
explosion: 'url("/bg-explosion.png")',
circles: 'url("/bg-circles.png")',
circleStar: 'url("/circle-star.svg")',
site: 'url("/site-bg.svg")',
},
animation: {
'spin-slow': 'spin 6s linear infinite',
'text': 'text 5s ease infinite',
},
keyframes: {
'text': {
'0%': {
'background-size': '200% 200%',
'background-position': 'left center'
},
'50%': {
'background-size': '200% 200%',
'background-position': 'right center'
},
'100%': {
'background-size': '200% 200%',
'background-position': 'left center'
}
},
blink: {
'0%, 100%': { opacity: 1 },
'50%': { opacity: 0.9 },
},
},
fontFamily: {
poppins: [`var(--font-poppins)`, 'sans-serif'],
sora: [`var(--font-sora)`, 'sans-serif'],
},
animation: {
blink: 'blink 2s infinite',
},
},
},
container: {
padding: {
DEFAULT: '15px',
},
},
plugins: [require('tailwind-scrollbar')],
};