-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
58 lines (57 loc) · 1.66 KB
/
tailwind.config.js
File metadata and controls
58 lines (57 loc) · 1.66 KB
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
const defaultTheme = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/app/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
screens: {
xs: '475px',
...defaultTheme.screens,
},
backgroundImage: {
main: 'linear-gradient(180deg, #040412 -51.81%, #121220 161.57%)',
gradientButton:
'linear-gradient(98.72deg, rgba(255, 108, 108, 0.8) 0%, rgba(140, 138, 255, 0.8) 100%);',
},
colors: {
lightPurple: '#121227',
},
container: {
center: true,
padding: {
DEFAULT: '1rem',
sm: '2rem',
lg: '4rem',
xl: '8rem',
'2xl': '12rem',
'3xl': '16rem',
},
},
animation: {
slideDown: 'slideDown 0.5s ease-in-out',
shake: 'shake 0.5s ease-in-out',
loading: 'loading 2s linear infinite',
},
keyframes: {
slideDown: {
'0%': { transform: 'translateY(-10px)', opacity: '0' },
'100%': { transform: 'translateY(0px)', opacity: '1' },
},
shake: {
'0%,100%': { transform: 'translateX(0px)' },
'20%,60%': { transform: 'translateX(-10px)' },
'40%,80%': { transform: 'translateX(10px)' },
},
loading: {
'0%': { transform: 'rotate(0deg)', strokeDashoffset: 20 },
'50%': { transform: 'rotate(720deg)', strokeDashoffset: 125 },
'100%': { transform: 'rotate(1080deg)', strokeDashoffset: 20 },
},
},
},
},
plugins: ['prettier-plugin-tailwindcss'],
};