-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
68 lines (67 loc) · 2.01 KB
/
Copy pathtailwind.config.ts
File metadata and controls
68 lines (67 loc) · 2.01 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
import type { Config } from "tailwindcss";
export default {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/features/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
darkMode: "class",
theme: {
extend: {
fontSize: {
'2xs': ['0.6875rem', { lineHeight: '1rem' }],
'xs': ['0.75rem', { lineHeight: '1rem' }],
'sm': ['0.8125rem', { lineHeight: '1.25rem' }],
'base': ['0.875rem', { lineHeight: '1.375rem' }],
'lg': ['1rem', { lineHeight: '1.5rem' }],
'xl': ['1.25rem', { lineHeight: '1.75rem' }],
'2xl': ['1.5rem', { lineHeight: '2rem' }],
},
fontFamily: {
sans: ["var(--font-space-grotesk)", "var(--font-inter)", "sans-serif"],
mono: ["var(--font-jetbrains-mono)", "monospace"],
},
colors: {
'near-black': '#0a0a0a',
'electric-violet': '#a3a3a3',
'soft-purple': '#a3a3a3',
'dark-indigo-glow': '#18181b',
slate: {
50: '#fafafa',
100: '#f4f4f5',
200: '#e4e4e7',
300: '#d4d4d8',
400: '#a1a1aa',
500: '#71717a',
600: '#52525b',
700: '#3f3f46',
800: '#27272a',
900: '#18181b',
950: '#09090b',
}
},
animation: {
'fade-in': 'fadeIn 0.2s ease-out',
'slide-in': 'slideIn 0.3s ease-out',
'progress-indefinite': 'progress 1.5s ease-in-out infinite',
'spin-slow': 'spin 3s linear infinite',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
slideIn: {
'0%': { transform: 'translateX(20px)', opacity: '0' },
'100%': { transform: 'translateX(0)', opacity: '1' },
},
progress: {
'0%': { transform: 'translateX(-100%)' },
'100%': { transform: 'translateX(100%)' },
}
}
},
},
plugins: [],
} satisfies Config;