-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
54 lines (54 loc) · 1.88 KB
/
Copy pathtailwind.config.js
File metadata and controls
54 lines (54 loc) · 1.88 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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./components/**/*.{js,ts,jsx,tsx}",
"./contexts/**/*.{js,ts,jsx,tsx}",
"./app/**/*.{js,ts,jsx,tsx}",
"./*.{js,ts,jsx,tsx}",
"!./node_modules/**",
"!./dist/**"
],
theme: {
extend: {
colors: {
brand: {
DEFAULT: 'rgb(var(--color-primary) / <alpha-value>)',
hover: 'rgb(var(--color-primary-hover) / <alpha-value>)',
}
},
spacing: {
'section': 'var(--spacing-section)',
},
fontSize: {
'xl': ['var(--font-size-xl)', { lineHeight: '1.75rem' }],
'2xl': ['var(--font-size-2xl)', { lineHeight: '2rem' }],
'3xl': ['var(--font-size-3xl)', { lineHeight: '2.25rem' }],
'4xl': ['var(--font-size-4xl)', { lineHeight: '2.5rem' }],
},
fontFamily: {
sans: ['Inter', 'sans-serif'],
},
animation: {
'slide-in-left': 'slideInLeft 0.3s ease-out forwards',
'scale-in': 'scaleIn 0.2s ease-out forwards',
'fade-in': 'fadeIn 0.3s ease-out forwards',
},
keyframes: {
slideInLeft: {
'0%': { transform: 'translateX(-100%)', opacity: '0' },
'100%': { transform: 'translateX(0)', opacity: '1' },
},
scaleIn: {
'0%': { transform: 'scale(0.95)', opacity: '0' },
'100%': { transform: 'scale(1)', opacity: '1' },
},
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
},
},
},
plugins: [],
}