-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.ts
121 lines (119 loc) · 2.62 KB
/
tailwind.config.ts
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
import type { Config } from "tailwindcss";
import customCssUtility from "./custom-css-utility";
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}",
],
safelist: [
// { pattern: /(bg|text|border|shadow)-(blue|orange|violet|pink|green|sky|emerald|slate)-(400|500|600)/ },
],
theme: {
extend: {
colors: {
'navy': '#050a1a',
'primary-header-txt': '#F6F6F7',
'primary-parag-txt': '#c9c9cf',
'primary-btn-purple': '#6357f7',
'primary-btn-pink': '#a937fe',
'primary-border': '#ffffff33'
},
boxShadow: {
'half-border': '0px -0.5px 0px 0.5px'
},
height: {
},
backgroundImage: {
'fade-linear-tb': 'linear-gradient(to bottom, rgba(215, 215, 215, 0.15) 0%, transparent 70%, transparent 90%, transparent 100%)'
},
animation: {
'slight_to_lr': 'slight_lr 3s ease-in-out infinite',
'fade_in_up': 'fade_in_up 0.8s linear 0s 1 forwards',
'fade_in_down': 'fade_in_down 0.3s linear 0s 1 forwards',
'fade_out_down': 'fade_out_down 0.3s linear 0s 1 forwards',
'fade_in': 'fade_in 0.3s linear 0s 1 forwards',
'fade_out': 'fade_out 0.3s linear 0s 1 forwards',
'bounce_low': 'bounce_low 1.7s ease-in-out infinite',
'translate_y':'translateY 0.7s linear 0s 1 forwards',
'loader_dots':'loader_dots 1s steps(4) infinite',
},
screens:{
'xs':'320px',
'xsm':'540px'
},
keyframes: {
'bounce_low':{
'0%,100%':{
'transform': 'translateY(-10%)',
},
'50%':{
'transform': 'none'
}
},
'slight_lr': {
'0%': {
'transform': 'translateX(0)'
},
'100%': {
'transform': 'translateX(60%)'
}
},
'fade_in':{
'to':{
opacity:'1',
},
},
'fade_out':{
'to':{
'opacity':'0'
}
},
'fade_in_down': {
'0%': {
opacity:'0',
transform: 'translateY(-40px)',
},
'100%': {
opacity:'1',
transform: 'translateY(0)',
},
},
'fade_out_down': {
'0%': {
opacity:'1',
transform: 'translateY(0px)',
},
'100%': {
opacity:'0',
transform: 'translateY(40px)',
},
},
'fade_in_up': {
'0%': {
opacity:'0',
transform: 'translateY(40px)',
},
'100%': {
opacity:'1',
transform: 'translateY(0)',
},
},
'translateY':{
'to': {
'transform':'translateY(0px)'
},
},
'loader_dots':{
'to':{
'clip-path':'inset(0 -34% 0 0)'
}
}
},
},
},
plugins: [
customCssUtility
]
};
export default config;