-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
51 lines (51 loc) · 1.29 KB
/
Copy pathtailwind.config.ts
File metadata and controls
51 lines (51 loc) · 1.29 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
import type { Config } from 'tailwindcss'
const config: Config = {
darkMode: 'class',
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
fontFamily: {
sans: ['DM Sans', 'sans-serif'],
mono: ['JetBrains Mono', 'monospace'],
display: ['Syne', 'sans-serif'],
},
colors: {
bg: {
dark: '#070B14',
card: '#0D1220',
light: '#F0F2FF',
},
accent: {
DEFAULT: '#818CF8',
dark: '#6366F1',
},
},
animation: {
'slide-up': 'slideUp 0.4s ease both',
'fade-in': 'fadeIn 0.3s ease',
'pulse-dot': 'pulseDot 1.5s infinite',
'spin-slow': 'spin 2s linear infinite',
},
keyframes: {
slideUp: {
from: { opacity: '0', transform: 'translateY(12px)' },
to: { opacity: '1', transform: 'translateY(0)' },
},
fadeIn: {
from: { opacity: '0' },
to: { opacity: '1' },
},
pulseDot: {
'0%, 100%': { opacity: '1', transform: 'scale(1)' },
'50%': { opacity: '0.6', transform: 'scale(0.85)' },
},
},
},
},
plugins: [],
}
export default config