-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
94 lines (93 loc) · 2.54 KB
/
tailwind.config.js
File metadata and controls
94 lines (93 loc) · 2.54 KB
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
/** @type {import('tailwindcss').Config} */
import plugin from 'tailwindcss/plugin'
export default {
darkMode: ['class'],
content: ['./app/**/*.{js,ts,jsx,tsx,mdx}', './pages/**/*.{js,ts,jsx,tsx,mdx}', './components/**/*.{js,ts,jsx,tsx,mdx}'],
theme: {
container: {
center: true,
padding: '1rem',
screens: {},
},
extend: {
screens: {},
colors: {
brand: {
DEFAULT: '#FA7275',
100: '#EA6365',
},
red: '#FF7474',
error: '#b80000',
green: '#3DD9B3',
blue: '#56B8FF',
pink: '#EEA8FD',
orange: '#F9AB72',
light: {
100: '#333F4E',
200: '#A3B2C7',
300: '#F2F5F9',
400: '#F2F4F8',
},
dark: {
100: '#04050C',
200: '#131524',
},
},
fontFamily: {
poppins: ['var(--font-poppins)'],
},
boxShadow: {
'drop-1': '0px 10px 30px 0px rgba(66, 71, 97, 0.1)',
'drop-2': '0 8px 30px 0 rgba(65, 89, 214, 0.3)',
'drop-3': '0 8px 30px 0 rgba(65, 89, 214, 0.1)',
1: '0px 0px 20px 0px rgba(66, 71, 97, 0.2)',
},
keyframes: {
'caret-blink': {
'0%,70%,100%': {opacity: '1'},
'20%,50%': {opacity: '0'},
},
orbit: {
'0%': {},
'80%': {transform: 'rotate(360deg)'},
'100%': {transform: 'rotate(360deg)'},
},
},
animation: {
'caret-blink': 'caret-blink 1.25s ease-out infinite',
orbit: 'orbit 1.5s ease-in-out infinite',
},
fontSize: {
'5xl': ['34px', {lineHeight: '42px', fontWeight: 700}],
'4xl': ['24px', {lineHeight: '36px', fontWeight: 700}],
'3xl': ['20px', {lineHeight: '28px', fontWeight: 700}],
'2xl': ['18px', {lineHeight: '20px', fontWeight: 700}],
xl: ['16px', {lineHeight: '24px', fontWeight: 700}],
base: ['16px', {lineHeight: '24px', fontWeight: 400}],
},
},
},
plugins: [
require('tailwindcss-animate'),
plugin(function ({addComponents}) {
addComponents({
'.flex-between': {
display: 'flex',
justifyContent: 'space-between',
alignItems: 'center',
},
'.flex-center': {
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
},
'.absolute-center': {
position: 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
},
})
}),
],
}