-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
106 lines (105 loc) · 2.4 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
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}'
],
plugins: [require('tailwind-scrollbar')],
variants: {
scrollbar: ['rounded']
},
theme: {
keyframes: {
modalBgShow: {
'0%': { opacity: '0' },
'100%': { opacity: '1' }
},
modalBgOut: {
'100%': { opacity: '1' },
'0%': { opacity: '0' }
},
modalPanelShow: {
'0%': {
opacity: '0',
transform: ' scale(.95)'
},
'100%': {
opacity: '1',
transform: 'scale(1)'
}
},
modalPanelOut: {
'100%': {
opacity: '1',
transform: 'scale(.95)'
},
'0%': {
opacity: '0',
transform: 'scale(1)'
}
}
},
animation: {
modalBgShow: 'modalBgShow 300ms ease-out',
modalBgOut: 'modalBgOut 200ms ease-in',
modalPanelShow: 'modalPanelShow 300ms ease-out',
modalPanelOut: 'modalPanelOut 200ms ease-in'
},
extend: {
backgroundImage: {
pattern: `url('/assets/fbPattern.svg')`,
home: `url('/assets/home-background.png')`
},
backgroundSize: {
50: '50%',
16: '4rem'
},
fontFamily: {
sans: ['Roboto', ...defaultTheme.fontFamily.sans],
cursive: ['Lobster', ...defaultTheme.fontFamily.sans]
},
colors: {
brown: {
50: '#fdf8f6',
100: '#f2e8e5',
200: '#eaddd7',
300: '#e0cec7',
400: '#d2bab0',
500: '#bfa094',
600: '#a18072',
700: '#977669',
800: '#846358',
900: '#43302b'
},
base: {
background: '#1e293b',
backgroundDark: '#131B25',
gray: '#131C25',
yellow: {
100: '#FFEDC2',
400: '#FFDA80',
700: '#FFB709'
},
white: '#FBFBFB',
black: '#0B0A0A',
brown: {
400: '#805C04',
700: '#332502'
},
blue: {
700: '#1E293B'
}
},
metal: {
gold: '#FFD700',
iron: '#C0C0C0',
bronze: '#9c5221'
},
flow: {
primary: '#FFB709',
background: '#1e293b',
}
}
}
}
}