-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
48 lines (47 loc) · 1.07 KB
/
tailwind.config.ts
File metadata and controls
48 lines (47 loc) · 1.07 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
import type { Config } from 'tailwindcss';
const config: Config = {
content: [
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
fontSize: {
sm: '0.8rem',
base: '1rem',
l: '1.15rem',
xl: '1.25rem',
'2xl': '1.563rem',
'3xl': '1.953rem',
'4xl': '2.441rem',
'5xl': '3.052rem',
},
extend: {
keyframes: {
fadeIn: {
'0%': { opacity: '0', transform: 'translateY(10px)' },
'100%': { opacity: '1', transform: 'translateY(0)' }
}
},
animation: {
fadeIn: 'fadeIn 0.5s ease-out'
},
gridTemplateColumns: {
'code-copy-grid': '1fr auto',
},
colors: {
'dark-purple': 'var(--dark-purple)',
'light-purple': 'var(--light-purple)',
'very-light-purple': 'var(--very-light-purple)',
'dark-blue': 'var(--dark-blue)'
},
},
keyframes: {
shimmer: {
'100%': {
transform: 'translateX(100%)',
},
},
},
},
plugins: [require('@tailwindcss/forms')],
};
export default config;