-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
101 lines (101 loc) · 2.45 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
module.exports = {
content: [
'./pages/**/*.{js,jsx,ts,tsx}',
'./src/components/**/*.{js,jsx,ts,tsx}',
],
theme: {
extend: {
fontFamily: {
sans: ['Montserrat', 'Roboto', 'Helvetica', 'Arial'],
},
colors: {
primary: {
100: '#F3EAFC',
200: '#E8D5F9',
300: '#DCBFF6',
400: '#D0AAF3',
500: '#C595F1',
600: '#B980EE',
700: '#AD6BEB',
800: '#A155E8',
light: '#a92be2',
normal: '#8a2be2',
dark: '#4a1e9e',
},
cBlack: {
// 'black-100': '#E7E7E9',
// 'black-200': '#CFCED3',
100: '#DCDCDD',
200: '#BABABA',
300: '#6e6d7a',
400: '#0d0c22',
},
cWhite: {
100: '#fff',
200: '#F5F5F6',
300: '#f3f3f4',
400: '#eaeaea',
},
},
animation: {
'open-details': 'open 450ms linear forwards',
'close-details': 'close 450ms linear forwards',
'open-dialog': 'open 250ms linear',
'close-dialog': 'close 250ms linear',
'open-navbar': 'open-navigation 250ms linear',
'close-navbar': 'close-navigation 250ms linear',
},
keyframes: {
'open-navigation': {
'0%': {
opacity: 0,
visibility: 'invisible',
transform: 'translateY(-5%)',
// backgroundColor: '#f3f3f4'
},
'100%': {
opacity: 1,
visibility: 'visible',
transform: 'translateY(0)',
// backgroundColor: '#fff'
},
},
'close-navigation': {
'0%': {
opacity: 1,
visibility: 'visible',
transform: 'translateY(0)',
// backgroundColor: '#f3f3f4'
},
'100%': {
opacity: 0,
visibility: 'hidden',
transform: 'translateY(-15%)',
// backgroundColor: '#fff'
},
},
open: {
'0%': {
opacity: 0,
visibility: 'hidden',
},
'100%': {
opacity: 1,
visibility: 'visible',
},
},
close: {
'0%': {
opacity: 1,
visibility: 'visible',
},
'100%': {
opacity: 0,
visibility: 'hidden',
},
},
},
},
},
plugins: [],
};