-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
57 lines (57 loc) · 1.34 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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
darkMode: 'class',
theme: {
extend: {
fontFamily: {
sans: ['Inter', 'sans-serif'],
display: ['Space Grotesk', 'sans-serif'],
},
colors: {
dark: {
900: '#000000',
800: 'rgba(0, 0, 0, 0.8)',
700: 'rgba(0, 0, 0, 0.6)',
600: 'rgba(0, 0, 0, 0.4)',
},
},
scale: {
'102': '1.02',
},
keyframes: {
'fade-in': {
'0%': { opacity: '0', transform: 'translateY(10px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
},
animation: {
'fade-in': 'fade-in 0.5s ease-out forwards',
},
typography: {
DEFAULT: {
css: {
maxWidth: 'none',
color: '#E5E7EB',
code: {
backgroundColor: '#1F2937',
padding: '0.25rem',
borderRadius: '0.25rem',
fontWeight: '400',
color: '#E5E7EB',
},
'code::before': {
content: '""',
},
'code::after': {
content: '""',
},
},
},
},
},
},
plugins: [
require('@tailwindcss/typography'),
],
};