-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathtailwind.config.js
More file actions
58 lines (58 loc) · 1.76 KB
/
tailwind.config.js
File metadata and controls
58 lines (58 loc) · 1.76 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
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
darkMode: 'class',
theme: {
extend: {
colors: {
'primary': {
50: 'rgba(var(--color-primary), 0.05)',
100: 'rgba(var(--color-primary), 0.1)',
200: 'rgba(var(--color-primary), 0.2)',
300: 'rgba(var(--color-primary), 0.4)',
400: 'rgba(var(--color-primary), 0.6)',
500: 'rgb(var(--color-primary))',
600: 'rgba(var(--color-primary), 0.9)',
700: 'rgba(var(--color-primary), 0.8)',
800: 'rgba(var(--color-primary), 0.7)',
900: 'rgba(var(--color-primary), 0.6)',
},
'background': {
light: '#ffffff',
dark: '#121212',
},
},
backdropBlur: {
xs: '2px',
},
fontFamily: {
'sans': ['Inter', 'ui-sans-serif', 'system-ui'],
'display': ['Poppins', 'sans-serif'],
'mono': ['Consolas', 'monospace'],
},
animation: {
'float': 'float 6s ease-in-out infinite',
'pulse-slow': 'pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'digit-slide-up': 'digitSlideUp 0.3s forwards',
'digit-slide-down': 'digitSlideDown 0.3s forwards',
},
keyframes: {
float: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-10px)' },
},
digitSlideUp: {
'0%': { opacity: 1, transform: 'translateY(0)' },
'100%': { opacity: 0, transform: 'translateY(-100%)' },
},
digitSlideDown: {
'0%': { opacity: 0, transform: 'translateY(100%)' },
'100%': { opacity: 1, transform: 'translateY(0)' },
},
},
},
},
plugins: [],
}