@@ -49,7 +49,10 @@ const PropertyList = ({
4949} ) => {
5050 return (
5151 < div
52- className = { cn ( "gap-2 text-sm grid grid-cols-2 text-gray-400" , className ) }
52+ className = { cn (
53+ "gap-2 text-sm grid grid-cols-2 text-text-tertiary" ,
54+ className ,
55+ ) }
5356 >
5457 { data . map ( ( { label, value, valueContainerClassName } ) => (
5558 < Fragment key = { label } >
@@ -75,7 +78,7 @@ function HeadersDisplay({ headers, title }: HeadersDisplayProps) {
7578
7679 if ( headerEntries . length === 0 ) {
7780 return (
78- < Card className = "text-gray-400 text-sm italic" >
81+ < Card className = "text-text-tertiary text-sm italic" >
7982 No { title . toLowerCase ( ) }
8083 </ Card >
8184 ) ;
@@ -115,7 +118,7 @@ function RequestTab({ requestData }: { requestData?: RequestSpan }) {
115118 const getMethodColor = ( method : string ) => {
116119 switch ( method ?. toUpperCase ( ) ) {
117120 case "GET" :
118- return "text-blue bg-blue /10" ;
121+ return "text-info bg-info /10" ;
119122 case "POST" :
120123 return "text-primary bg-primary/10" ;
121124 case "PUT" :
@@ -125,13 +128,13 @@ function RequestTab({ requestData }: { requestData?: RequestSpan }) {
125128 case "PATCH" :
126129 return "text-warning bg-warning/10" ;
127130 default :
128- return "text-gray-400 bg-gray-400 /10" ;
131+ return "text-text-tertiary bg-tertiary /10" ;
129132 }
130133 } ;
131134
132135 if ( ! requestData ) {
133136 return (
134- < div className = "flex items-center justify-center h-64 text-gray-400 " >
137+ < div className = "flex items-center justify-center h-64 text-text-tertiary " >
135138 < div className = "text-center" >
136139 < div className = "text-lg font-semibold mb-2" > No Request Data</ div >
137140 < div className = "text-sm" > Request information is not available</ div >
@@ -150,7 +153,7 @@ function RequestTab({ requestData }: { requestData?: RequestSpan }) {
150153 >
151154 { requestData . method }
152155 </ span >
153- < span className = "text-gray-400 text-xs" >
156+ < span className = "text-text-tertiary text-xs" >
154157 { new Date ( requestData . start ) . toLocaleString ( ) }
155158 </ span >
156159 </ div >
@@ -184,15 +187,15 @@ function ResponseTab({ responseData }: { responseData?: ResponseSpan }) {
184187 if ( status >= 300 && status < 400 ) return "text-warning" ;
185188 if ( status >= 400 && status < 500 ) return "text-error" ;
186189 if ( status >= 500 ) return "text-error" ;
187- return "text-gray-400 " ;
190+ return "text-text-tertiary " ;
188191 } ;
189192
190193 const getStatusBadgeColor = ( status : number ) => {
191194 if ( status >= 200 && status < 300 ) return "bg-primary/20 text-primary" ;
192195 if ( status >= 300 && status < 400 ) return "bg-warning/20 text-warning" ;
193196 if ( status >= 400 && status < 500 ) return "bg-error/20 text-error" ;
194197 if ( status >= 500 ) return "bg-error/20 text-error" ;
195- return "bg-gray-400 /20 text-gray-400 " ;
198+ return "bg-tertiary /20 text-text-tertiary " ;
196199 } ;
197200
198201 const responseTime = useMemo ( ( ) => {
@@ -205,7 +208,7 @@ function ResponseTab({ responseData }: { responseData?: ResponseSpan }) {
205208
206209 if ( ! responseData ) {
207210 return (
208- < div className = "flex items-center justify-center h-64 text-gray-400 " >
211+ < div className = "flex items-center justify-center h-64 text-text-tertiary " >
209212 < div className = "text-center" >
210213 < div className = "text-lg font-semibold mb-2" > No Response Data</ div >
211214 < div className = "text-sm" > Response information is not available</ div >
@@ -232,19 +235,19 @@ function ResponseTab({ responseData }: { responseData?: ResponseSpan }) {
232235 </ span >
233236 </ div >
234237 { responseTime && (
235- < span className = "text-gray-400 text-sm" >
238+ < span className = "text-text-tertiary text-sm" >
236239 { formatDuration ( responseTime ) }
237240 </ span >
238241 ) }
239242 </ div >
240243 < div className = "grid grid-cols-1 sm:grid-cols-2 gap-4 text-sm" >
241244 < div className = "flex justify-between" >
242- < span className = "text-gray-400 " > Content-Type:</ span >
245+ < span className = "text-text-tertiary " > Content-Type:</ span >
243246 < span className = "font-mono" > { contentType } </ span >
244247 </ div >
245248 { contentLength && (
246249 < div className = "flex justify-between" >
247- < span className = "text-gray-400 " > Content-Length:</ span >
250+ < span className = "text-text-tertiary " > Content-Length:</ span >
248251 < span className = "font-mono" > { contentLength } bytes</ span >
249252 </ div >
250253 ) }
@@ -266,19 +269,19 @@ function ResponseTab({ responseData }: { responseData?: ResponseSpan }) {
266269 < div className = "space-y-2 text-sm" >
267270 { responseTime && (
268271 < div className = "flex justify-between" >
269- < span className = "text-gray-400 " > Response Time:</ span >
272+ < span className = "text-text-tertiary " > Response Time:</ span >
270273 < span className = "font-mono" > { formatDuration ( responseTime ) } </ span >
271274 </ div >
272275 ) }
273276 < div className = "flex justify-between" >
274- < span className = "text-gray-400 " > Start Time:</ span >
277+ < span className = "text-text-tertiary " > Start Time:</ span >
275278 < span className = "font-mono" >
276279 { new Date ( responseData . start ) . toLocaleString ( ) }
277280 </ span >
278281 </ div >
279282 { responseData . end && (
280283 < div className = "flex justify-between" >
281- < span className = "text-gray-400 " > End Time:</ span >
284+ < span className = "text-text-tertiary " > End Time:</ span >
282285 < span className = "font-mono" >
283286 { new Date ( responseData . end ) . toLocaleString ( ) }
284287 </ span >
@@ -297,7 +300,7 @@ function ServerSpanTab({
297300} ) {
298301 if ( ! serverSpanData ) {
299302 return (
300- < div className = "flex items-center justify-center h-64 text-gray-400 " >
303+ < div className = "flex items-center justify-center h-64 text-text-tertiary " >
301304 < div className = "text-center" >
302305 < div className = "text-lg font-semibold mb-2" > No Server Span Data</ div >
303306 < div className = "text-sm" >
@@ -329,7 +332,7 @@ function ServerSpanTab({
329332 { serverSpanData . isActive ? "ACTIVE" : "COMPLETED" }
330333 </ span >
331334 { duration && (
332- < span className = "text-gray-400 text-sm" >
335+ < span className = "text-text-tertiary text-sm" >
333336 { formatDuration ( duration ) }
334337 </ span >
335338 ) }
@@ -399,7 +402,7 @@ function Tab({
399402 ${
400403 isActive
401404 ? "text-primary border-primary"
402- : "text-gray-400 hover:text-gray-300 border-transparent"
405+ : "text-text-tertiary hover:text-gray-300 border-transparent"
403406 }
404407 ` }
405408 role = "tab"
@@ -536,7 +539,7 @@ export default function SidePanel({
536539 ref = { panelRef }
537540 className = { `
538541 absolute right-0 top-0 bottom-0 left-auto inset-0 z-50 items-stretch justify-end
539- bg-white border-l border-gray-600 shadow-2xl
542+ bg-container-primary border-l border-border-primary shadow-2xl
540543 h-full overflow-hidden flex max-w-11/12 min-w-60
541544 transform transition-transform duration-300 ease-in-out
542545 ${ isOpen ? "translate-x-0" : "translate-x-full" }
@@ -564,11 +567,11 @@ export default function SidePanel({
564567 { /* Panel Content */ }
565568 < div className = "flex-1 flex flex-col min-w-0" >
566569 { /* Tab Navigation */ }
567- < div className = "flex border-b border-gray-600 " >
570+ < div className = "flex border-b border-border-primary " >
568571 < button
569572 type = "button"
570573 onClick = { onClose }
571- className = "p-2 hover:text-gray-700 rounded-lg transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary cursor-pointer text-gray-400 "
574+ className = "p-2 hover:text-text-secondary rounded-lg transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary cursor-pointer text-text-tertiary "
572575 aria-label = "Close panel"
573576 title = "Close panel"
574577 >
@@ -590,7 +593,7 @@ export default function SidePanel({
590593 >
591594 Request
592595 { ! requestData && (
593- < span className = "ml-1 text-xs text-gray-500 " > (N/A)</ span >
596+ < span className = "ml-1 text-xs text-text-tertiary " > (N/A)</ span >
594597 ) }
595598 </ Tab >
596599 < Tab
@@ -600,7 +603,7 @@ export default function SidePanel({
600603 >
601604 Response
602605 { ! responseData && (
603- < span className = "ml-1 text-xs text-gray-500 " > (N/A)</ span >
606+ < span className = "ml-1 text-xs text-text-tertiary " > (N/A)</ span >
604607 ) }
605608 </ Tab >
606609 </ div >
0 commit comments