-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.mjs
More file actions
76 lines (76 loc) · 2.02 KB
/
tailwind.config.mjs
File metadata and controls
76 lines (76 loc) · 2.02 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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,ts,tsx,mdx}'],
theme: {
extend: {
colors: {
bg: {
DEFAULT: '#0a0a0f',
surface: '#111118',
elevated: '#16161f',
},
border: {
DEFAULT: '#1e1e2e',
strong: '#2d2d3d',
},
accent: {
DEFAULT: '#ff6c37',
light: '#ff8f66',
dark: '#e5541f',
warm: '#ffb388',
},
ink: {
1: '#f8f8ff',
2: '#a1a1aa',
3: '#71717a',
},
positive: {
DEFAULT: '#22c55e',
bg: '#22c55e15',
},
negative: {
DEFAULT: '#ef4444',
bg: '#ef444415',
},
},
fontFamily: {
sans: ['InterVariable', 'Inter', 'system-ui', 'sans-serif'],
mono: ['GeistMono', 'ui-monospace', 'monospace'],
},
letterSpacing: {
tighter: '-0.04em',
tight: '-0.02em',
},
animation: {
'gradient-drift': 'gradient-drift 8s ease-in-out infinite alternate',
'fade-up': 'fade-up 0.6s ease-out forwards',
'fade-in': 'fade-in 0.4s ease-out forwards',
blink: 'blink 1s step-end infinite',
'pulse-green': 'pulse-green 2s ease-in-out infinite',
},
keyframes: {
'gradient-drift': {
'0%': { backgroundPosition: '0% 50%' },
'100%': { backgroundPosition: '100% 50%' },
},
'fade-up': {
'0%': { opacity: '0', transform: 'translateY(24px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
'fade-in': {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
blink: {
'0%, 100%': { opacity: '1' },
'50%': { opacity: '0' },
},
'pulse-green': {
'0%, 100%': { boxShadow: '0 0 0 0 #22c55e30' },
'50%': { boxShadow: '0 0 0 8px #22c55e00' },
},
},
},
},
plugins: [],
};