-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
157 lines (156 loc) · 5.01 KB
/
Copy pathtailwind.config.js
File metadata and controls
157 lines (156 loc) · 5.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
/** @type {import('tailwindcss').Config} */
const config = {
darkMode: 'class',
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {
colors: {
border: 'hsl(var(--border) / <alpha-value>)',
input: 'hsl(var(--input) / <alpha-value>)',
ring: 'hsl(var(--ring) / <alpha-value>)',
background: 'hsl(var(--background) / <alpha-value>)',
foreground: 'hsl(var(--foreground) / <alpha-value>)',
card: {
DEFAULT: 'hsl(var(--card) / <alpha-value>)',
foreground: 'hsl(var(--card-foreground) / <alpha-value>)'
},
popover: {
DEFAULT: 'hsl(var(--popover) / <alpha-value>)',
foreground: 'hsl(var(--popover-foreground) / <alpha-value>)'
},
muted: {
DEFAULT: 'hsl(var(--muted) / <alpha-value>)',
foreground: 'hsl(var(--muted-foreground) / <alpha-value>)'
},
accent: {
DEFAULT: 'hsl(var(--accent) / <alpha-value>)',
foreground: 'hsl(var(--accent-foreground) / <alpha-value>)'
},
destructive: {
DEFAULT: 'hsl(var(--destructive) / <alpha-value>)',
foreground: 'hsl(var(--destructive-foreground) / <alpha-value>)'
},
primary: {
DEFAULT: 'hsl(var(--primary) / <alpha-value>)',
foreground: 'hsl(var(--primary-foreground) / <alpha-value>)',
50: '#fff1f2',
100: '#ffe4e6',
200: '#fecdd3',
300: '#fda4af',
400: '#fb7185',
500: '#e11d34',
600: '#c81530',
700: '#a5122a',
800: '#881425',
900: '#731423'
},
slate: {
50: '#f8fafc',
100: '#f1f5f9',
200: '#e2e8f0',
300: '#cbd5e1',
400: '#94a3b8',
500: '#64748b',
600: '#475569',
700: '#334155',
750: '#27364a',
800: '#1e293b',
850: '#172033',
900: '#0f172a',
950: '#020617'
},
priority: {
p0: '#ef4444',
p1: '#f97316',
p2: '#eab308',
p3: '#64748b'
},
status: {
recon: '#3b82f6',
testing: '#f59e0b',
reported: '#8b5cf6',
paid: '#22c55e',
closed: '#64748b',
archived: '#475569'
},
severity: {
critical: '#dc2626',
high: '#ea580c',
medium: '#ca8a04',
low: '#525252',
info: '#2563eb'
}
},
fontFamily: {
sans: [
'Inter',
'Inter Fallback',
'Geist',
'ui-sans-serif',
'system-ui',
'-apple-system',
'BlinkMacSystemFont',
'sans-serif'
],
mono: ['JetBrains Mono', 'Fira Code', 'SF Mono', 'Cascadia Code', 'monospace']
},
borderRadius: {
lg: 'var(--radius)',
md: 'calc(var(--radius) - 2px)',
sm: 'calc(var(--radius) - 4px)'
},
boxShadow: {
'dark-sm': '0 1px 0 rgba(255, 255, 255, 0.03), 0 12px 30px rgba(0, 0, 0, 0.22)',
'dark-md': '0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 48px rgba(0, 0, 0, 0.32)',
'dark-lg': '0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 70px rgba(0, 0, 0, 0.42)',
'dark-xl': '0 1px 0 rgba(255, 255, 255, 0.05), 0 34px 90px rgba(0, 0, 0, 0.52)',
'inner-line': 'inset 0 1px 0 rgba(255, 255, 255, 0.04)'
},
keyframes: {
'fade-in': {
from: { opacity: '0' },
to: { opacity: '1' }
},
'slide-up': {
from: { opacity: '0', transform: 'translateY(8px)' },
to: { opacity: '1', transform: 'translateY(0)' }
},
'scale-in': {
from: { opacity: '0', transform: 'scale(0.95)' },
to: { opacity: '1', transform: 'scale(1)' }
},
'priority-pulse': {
'0%, 100%': { transform: 'scale(1)' },
'50%': { transform: 'scale(1.05)' }
},
'fade-up': {
from: { opacity: '0', transform: 'translateY(14px)' },
to: { opacity: '1', transform: 'translateY(0)' }
},
'panel-in': {
from: { opacity: '0', transform: 'translateY(10px) scale(0.985)' },
to: { opacity: '1', transform: 'translateY(0) scale(1)' }
},
'subtle-shimmer': {
'0%': { transform: 'translateX(-120%)' },
'100%': { transform: 'translateX(120%)' }
},
'radar-scan': {
to: { transform: 'rotate(360deg)' }
}
},
animation: {
'fade-in': 'fade-in 150ms ease-out',
'slide-up': 'slide-up 200ms ease-out',
'scale-in': 'scale-in 150ms ease-out',
'priority-pulse': 'priority-pulse 2s infinite',
'fade-up': 'fade-up 420ms cubic-bezier(0.22, 1, 0.36, 1) both',
'panel-in': 'panel-in 360ms cubic-bezier(0.22, 1, 0.36, 1) both',
'subtle-shimmer': 'subtle-shimmer 2.8s ease-in-out infinite',
'radar-scan': 'radar-scan 7s linear infinite'
}
}
},
plugins: []
};
export default config;