-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
102 lines (101 loc) ยท 2.31 KB
/
tailwind.config.ts
File metadata and controls
102 lines (101 loc) ยท 2.31 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
import type { Config } from 'tailwindcss';
const config: Config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
darkMode: 'class',
theme: {
extend: {
screens: {
tablet: '640px',
laptop: '1024px',
desktop: '1280px',
},
colors: {
darkBg: 'rgb(18,18,18)',
},
typography: {
DEFAULT: {
css: {
a: {
color: '#3182ce',
'&:hover': {
color: '#2c5282',
},
},
},
},
},
keyframes: {
'move-up': {
'0%': {
transform: 'translateY(0)',
},
'100%': {
transform: 'translateY(-10px)',
},
},
'fade-in': {
'0%': {
opacity: '0',
},
'100%': {
opacity: '1',
},
},
'fade-in-left': {
'0%': {
opacity: '0',
transform: 'translateX(-10px)',
},
'100%': {
opacity: '1',
transform: 'translateY(0)',
},
},
'fade-in-down': {
'0%': {
opacity: '0',
transform: 'translateY(-10px)',
},
'100%': {
opacity: '1',
transform: 'translateY(0)',
},
},
'fade-out-down': {
from: {
opacity: '1',
transform: 'translateY(0px)',
},
to: {
opacity: '0',
transform: 'translateY(10px)',
},
},
'fade-out-up': {
from: {
opacity: '1',
transform: 'translateY(0px)',
},
to: {
opacity: '0',
transform: 'translateY(10px)',
},
},
},
animation: {
'move-up': 'move-up 0.3s ease',
'fade-in': 'fade-in 0.3s ease-in',
'fade-in-left': 'fade-in-left 0.5s ease-out',
'fade-in-down': 'fade-in-down 0.5s ease-out',
'fade-in-up': 'fade-in-up 0.5s ease-out',
'fade-out-up': 'fade-out-up 0.5s ease-out',
},
},
},
plugins: [require('@tailwindcss/typography')],
};
export default config;