Repository navigation
Expand file tree
/
Copy pathtailwind.config.js
More file actions
72 lines (72 loc) · 2.3 KB
/
Copy pathtailwind.config.js
File metadata and controls
72 lines (72 loc) · 2.3 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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,jsx}'],
theme: {
extend: {
colors: {
'electric-blue': '#948979',
'blue-glow': '#948979',
'chalk': '#FFFFFF',
'deep-navy': '#222831',
'navy-mid': '#393E46',
'navy-light': '#4a5060',
'safety-orange': '#FB923C',
'orange-dark': '#EA6C0A',
'success-green': '#22C55E',
'danger-red': '#EF4444',
'muted': '#948979',
'muted-light': '#b8aa99',
'warm-cream': '#DFD0B8',
'warm-mid': '#948979',
'warm-dark': '#393E46',
},
fontFamily: {
sans: ['Nunito', 'system-ui', 'sans-serif'],
mono: ['Google Sans Code', 'monospace'],
heading: ['Nunito', 'system-ui', 'sans-serif'],
number: ['Archivo', 'sans-serif'],
code: ['Google Sans Code', 'monospace'],
},
padding: {
'safe-top': 'env(safe-area-inset-top)',
'safe-bottom': 'env(safe-area-inset-bottom)',
},
borderRadius: {
'sm': '4px',
'md': '8px',
'lg': '12px',
'xl': '16px',
'2xl': '20px',
},
keyframes: {
'pulse-glow': {
'0%, 100%': { boxShadow: '0 0 8px 2px rgba(223,208,184,0.3)' },
'50%': { boxShadow: '0 0 20px 6px rgba(223,208,184,0.6)' },
},
'fade-up': {
'0%': { opacity: '0', transform: 'translateY(16px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
'pop': {
'0%': { transform: 'scale(0.9)', opacity: '0' },
'60%': { transform: 'scale(1.06)' },
'100%': { transform: 'scale(1)', opacity: '1' },
},
'ticker': {
'0%': { transform: 'translateY(0)' },
'100%': { transform: 'translateY(-100%)' },
},
'spin-ring': {
'0%': { strokeDashoffset: '251' },
'100%': { strokeDashoffset: '0' },
},
},
animation: {
'pulse-glow': 'pulse-glow 2s ease-in-out infinite',
'fade-up': 'fade-up 0.4s ease-out forwards',
'pop': 'pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards',
},
},
},
plugins: [],
};