@@ -36,7 +36,7 @@ function TableRow({ className, ...props }: React.ComponentProps<'tr'>) {
36
36
< tr
37
37
data-slot = "table-row"
38
38
className = { cn (
39
- 'border-b border-neutral-500 transition-colors hover:bg-neutral-400/20 dark:border-neutral-800 dark:hover:bg-neutral-800/25' ,
39
+ 'hover:bg-beige-100 border-beige-400 border-b transition-colors hover:transition-none dark:border-neutral-800 dark:hover:bg-neutral-800/25' ,
40
40
className ,
41
41
) }
42
42
{ ...props }
@@ -67,7 +67,7 @@ function TableCaption({ className, ...props }: React.ComponentProps<'caption'>)
67
67
return (
68
68
< caption
69
69
data-slot = "table-caption"
70
- className = { cn ( 'text-sm text-neutral-500 dark:text-neutral-400' , className ) }
70
+ className = { cn ( 'mt-2 text-sm text-green-800 dark:text-neutral-400' , className ) }
71
71
{ ...props }
72
72
/>
73
73
) ;
@@ -129,36 +129,36 @@ export function BenchmarkResultsTable() {
129
129
return (
130
130
< Table className = "mt-6 font-mono" >
131
131
< TableHeader >
132
- < TableRow className = "bg-neutral-400/50 dark:bg-neutral-800/50" >
132
+ < TableRow className = "bg-beige-100 dark:bg-neutral-800/50" >
133
133
< TableHead className = "w-[100px]" >
134
134
Gateway
135
135
< br />
136
- < span className = "text-neutral-600 dark:text-neutral-400" > version</ span >
136
+ < span className = "text-green-800 dark:text-neutral-400" > version</ span >
137
137
</ TableHead >
138
138
< TableHead className = "text-center" >
139
139
RPS
140
140
< br />
141
- < span className = "text-neutral-600 dark:text-neutral-400" > reqs/s</ span >
141
+ < span className = "text-green-800 dark:text-neutral-400" > reqs/s</ span >
142
142
</ TableHead >
143
143
< TableHead className = "text-center" >
144
144
P95
145
145
< br />
146
- < span className = "text-neutral-600 dark:text-neutral-400" > ms</ span >
146
+ < span className = "text-green-800 dark:text-neutral-400" > ms</ span >
147
147
</ TableHead >
148
148
< TableHead className = "text-center" >
149
149
P99.9
150
150
< br />
151
- < span className = "text-neutral-600 dark:text-neutral-400" > ms</ span >
151
+ < span className = "text-green-800 dark:text-neutral-400" > ms</ span >
152
152
</ TableHead >
153
153
< TableHead className = "text-center" >
154
154
CPU
155
155
< br />
156
- < span className = "text-neutral-600 dark:text-neutral-400" > max %</ span >
156
+ < span className = "text-green-800 dark:text-neutral-400" > max %</ span >
157
157
</ TableHead >
158
158
< TableHead className = "text-center" >
159
159
MEM
160
160
< br />
161
- < span className = "text-neutral-600 dark:text-neutral-400" > max MB</ span >
161
+ < span className = "text-green-800 dark:text-neutral-400" > max MB</ span >
162
162
</ TableHead >
163
163
</ TableRow >
164
164
</ TableHeader >
@@ -168,9 +168,7 @@ export function BenchmarkResultsTable() {
168
168
< TableRow key = { row . name } >
169
169
< TableCell >
170
170
< div className = "font-medium" > { row . name } </ div >
171
- < span className = "text-xs text-neutral-500 dark:text-neutral-400" >
172
- { row . version }
173
- </ span >
171
+ < span className = "text-xs text-green-800 dark:text-neutral-400" > { row . version } </ span >
174
172
</ TableCell >
175
173
< TableCell className = "text-center" > { row . rps } </ TableCell >
176
174
< TableCell className = "text-center" > { row . p95 } </ TableCell >
@@ -203,7 +201,7 @@ export function AuditResultsTable() {
203
201
return (
204
202
< Table className = "mt-6 font-mono" >
205
203
< TableHeader >
206
- < TableRow className = "bg-neutral-400 /50 dark:bg-neutral-800/50" >
204
+ < TableRow className = "bg-beige-100 hover:bg-beige-100 dark:bg- neutral-800 /50 hover: dark:bg-neutral-800/50" >
207
205
< TableHead className = "w-[100px]" > Gateway</ TableHead >
208
206
< TableHead className = "text-center" > Compatibility</ TableHead >
209
207
< TableHead className = "text-center" > Test Cases</ TableHead >
@@ -217,7 +215,7 @@ export function AuditResultsTable() {
217
215
< TableCell className = "font-medium" > { row . name } </ TableCell >
218
216
< TableCell className = "text-center font-medium" >
219
217
{ ( ( row . okTestCases * 100 ) / testCasesTotal ) . toFixed ( 2 ) }
220
- < span className = "text-neutral -800 dark:text-neutral-400" > %</ span >
218
+ < span className = "text-green -800 dark:text-neutral-400" > %</ span >
221
219
</ TableCell >
222
220
< TableCell className = "space-x-2 text-center" >
223
221
< span className = "text-green-600 dark:text-green-500" > ✓ { row . okTestCases } </ span >
@@ -270,15 +268,15 @@ export function RPSRace() {
270
268
onMouseLeave = { ( ) => setHovered ( null ) }
271
269
>
272
270
< div className = "mb-1 flex items-center justify-between" >
273
- < span className = "text-sm text-neutral-800 dark:text-neutral-300" > { d . name } </ span >
274
- < span className = "text-zink-800 text- sm tabular-nums dark:text-zinc -400" >
271
+ < span className = "text-sm text-green-900 dark:text-neutral-300" > { d . name } </ span >
272
+ < span className = "text-sm tabular-nums text-green-800 dark:text-neutral -400" >
275
273
{ d . name === first . name && hovered
276
274
? `${ ( first . rps / hovered . rps ) . toFixed ( 1 ) } x faster | `
277
275
: null }
278
276
{ d . rps . toFixed ( 0 ) } rps
279
277
</ span >
280
278
</ div >
281
- < div className = "h-[5px] overflow-hidden bg-zinc -200 dark:bg-zinc-800" >
279
+ < div className = "h-[5px] overflow-hidden bg-blue -200 dark:bg-zinc-800" >
282
280
< div
283
281
className = "h-full bg-sky-600/90 transition-[width] duration-1000 ease-out dark:bg-sky-600"
284
282
style = { { width : `${ ( d . rps / max ) * 100 } %` } }
@@ -300,11 +298,11 @@ export function LatencyBands() {
300
298
< div key = { d . name } className = "" >
301
299
< div className = "mb-1 flex items-center justify-between text-sm" >
302
300
< span > { d . name } </ span >
303
- < span className = "tabular-nums text-neutral-500 dark:text-neutral-400" >
301
+ < span className = "tabular-nums text-green-800 dark:text-neutral-400" >
304
302
p95 { d . p95 . toFixed ( 1 ) } ms | p99.9 { d . p99_9 . toFixed ( 1 ) } ms
305
303
</ span >
306
304
</ div >
307
- < div className = "relative h-4 border border-zinc -300 bg-zinc-200 dark:border-zinc-800 dark:bg-zinc-900" >
305
+ < div className = "border-beige -300 bg-beige-100 relative h-4 border dark:border-zinc-800 dark:bg-zinc-900" >
308
306
{ /*<div className="absolute inset-y-0 left-0 right-0 m-2 border-b border-zinc-800" />*/ }
309
307
< div
310
308
title = { `p95 ${ d . p95 } ms` }
@@ -319,7 +317,7 @@ export function LatencyBands() {
319
317
</ div >
320
318
</ div >
321
319
) ) }
322
- < div className = "text-center text-xs text-neutral-500 dark:text-neutral-400" >
320
+ < div className = "text-center text-xs text-green-700 dark:text-neutral-400" >
323
321
Axis scaled to the highest p99.9 across gateways
324
322
</ div >
325
323
</ div >
@@ -329,13 +327,13 @@ export function LatencyBands() {
329
327
function HighlightItem ( props : { icon : React . ReactNode ; title : string ; description : string } ) {
330
328
return (
331
329
< div className = "relative pl-16" >
332
- < div className = "font-semibold text-zinc-600 dark:text-white " >
333
- < div className = "absolute left-0 top-0 flex size-10 items-center justify-center rounded-lg bg-neutral-600/50 dark:bg-neutral-600/20" >
330
+ < div className = "font-semibold" >
331
+ < div className = "bg-beige-100 absolute left-0 top-0 flex size-10 items-center justify-center rounded-lg dark:bg-neutral-600/20" >
334
332
{ props . icon }
335
333
</ div >
336
334
{ props . title }
337
335
</ div >
338
- < div className = "text-sm text-neutral-500 dark:text-neutral-400" > { props . description } </ div >
336
+ < div className = "text-sm text-green-800 dark:text-neutral-400" > { props . description } </ div >
339
337
</ div >
340
338
) ;
341
339
}
0 commit comments