-
Notifications
You must be signed in to change notification settings - Fork 8
/
tailwind.config.js
79 lines (79 loc) · 1.46 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
fontFamily: {
bakbak: ['Bakbak One', 'sans-serif'],
inter: ['Inter', 'sans-serif'],
},
accordion: {
styles: {
base: {
header: {
icon: 'hidden',
},
},
},
},
extend: {
backgroundImage: () => ({
baoBackground: "url('/images/bao-background.png')",
}),
colors: {
current: 'currentColor',
white: '#ffffff',
black: '#000000',
red: '#dc3545',
green: '#28a745',
blue: '#007bff',
baoWhite: '#faf2e3',
baoBlack: '#1e2022',
baoRed: '#e21a53',
transparent: {
100: '#1e202280', //black
200: '#faf2e380', //white
300: '#e21a5380', //red
},
},
fontSize: {
hero: [
'48px',
{
letterSpacing: '0.05em;',
lineHeight: '96px',
},
],
},
keyframes: {
slideIn: {
'0%': {
transform: 'translateX(0)',
},
'100%': {
transform: 'translateX(-100%)',
},
},
rainbowLight: {
'0%': {
backgroundPosition: '0% 50%',
},
'50%': {
backgroundPosition: '100% 50%',
},
'100%': {
backgroundPosition: '0% 50%',
},
},
},
animation: {
'slide-in': 'slideIn 0.3s forwards ease-out',
'rainbow-light': 'rainbowLight 2s linear infinite',
},
screens: {
'3xl': '1600px',
},
},
plugins: [require('@tailwindcss/forms')],
corePlugins: {},
},
}