-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
36 lines (36 loc) · 967 Bytes
/
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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
backgroundColor: {
'dark': 'rgb(24, 25, 28)',
},
colors: {
dark: {
DEFAULT: 'rgb(24, 25, 28)',
100: 'rgb(35, 36, 40)',
200: 'rgb(45, 46, 50)',
300: 'rgb(55, 56, 60)',
400: 'rgb(65, 66, 70)',
},
},
keyframes: {
'slide-in': {
'0%': { transform: 'translateX(100%)', opacity: '0' },
'100%': { transform: 'translateX(0)', opacity: '1' },
},
'slide-out': {
'0%': { transform: 'translateX(0)', opacity: '1' },
'100%': { transform: 'translateX(100%)', opacity: '0' },
},
},
animation: {
'slide-in': 'slide-in 0.3s ease-out',
'slide-out': 'slide-out 0.3s ease-in',
},
},
},
plugins: [],
};