-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
118 lines (116 loc) · 2.99 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
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
const { fontFamily } = require('tailwindcss/defaultTheme')
/** @type {import('tailwindcss').Config} \*/
module.exports = {
content: [
'./src/**/*.{js,ts,jsx,tsx,mdx}',
],
darkMode: 'class',
theme: {
extend: {
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
'card-back': "url('/credit-card-back.png')",
'card-front': "url('/credit-card-front.png')",
},
colors: {
brand: {
'blue': '#115D8C',
'orange': '#F25D27',
},
color: {
'title': '#123952',
'text': '#617480',
'complement': '#A0ACB2'
},
shapes: {
'01': '#FFFFFF',
'02': '#DCE2E5'
},
others: {
'delete': '#DE3838',
'green': '#51B853',
'green_low': '#DCF5DD',
'blue_low': '#DDE9F0',
'orange_low': '#FFA585',
'yellow': '#EFB866'
},
background: '#F5F8FA',
'page-background': '#F0F0F5',
dark: {
100: '#F5F5F6',
200: '#B3B3BD',
300: '#80808B',
400: '#333348',
700: '#2A2C38',
800: '#242431',
900: '#202225',
950: '#141421',
}
},
fontFamily: {
saira: ['var(--font-saira)', ...fontFamily.sans],
k2d: ['var(--font-k2d)', ...fontFamily.sans]
},
animation: {
"fade-in-bottom": "fade-in-bottom 0.7s cubic-bezier(0.390, 0.575, 0.565, 1.000)",
"fade-in-left": "fade-in-left 1.1s cubic-bezier(0.390, 0.575, 0.565, 1.000)",
"fade-in-right": "fade-in-right 1.2s cubic-bezier(0.390, 0.575, 0.565, 1.000)",
"rotate-in-center": "rotate-in-center 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940)",
"scale-up-center": "scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000)"
},
keyframes: {
"fade-in-bottom": {
"0%": {
transform: "translateY(50px)",
opacity: "0"
},
to: {
transform: "translateY(0)",
opacity: "1"
}
},
"fade-in-left": {
"0%": {
transform: "translateX(-50px)",
opacity: "0"
},
to: {
transform: "translateX(0)",
opacity: "1"
}
},
"fade-in-right": {
"0%": {
transform: "translateX(50px)",
opacity: "0"
},
to: {
transform: "translateX(0)",
opacity: "1"
}
},
"rotate-in-center": {
"0%": {
transform: "rotate(-360deg)",
opacity: "0"
},
to: {
transform: "rotate(0)",
opacity: "1"
}
},
"scale-up-center": {
"0%": {
transform: "scale(.5)"
},
to: {
transform: "scale(1)"
}
},
},
},
plugins: [],
}
}