@@ -66,60 +66,69 @@ interface StatusBarProps {
6666
6767function StatusBar ( { workflowStatus, nodeCount, readonly } : StatusBarProps ) {
6868 const statusConfig = {
69- idle : { color : "text-gray-600" , bg : "bg-gray-100" , label : "Ready" } ,
69+ idle : {
70+ color : "text-neutral-600 dark:text-neutral-400" ,
71+ bg : "bg-neutral-200 dark:bg-neutral-700" ,
72+ label : "Ready" ,
73+ } ,
7074 submitted : {
71- color : "text-orange-600" ,
72- bg : "bg-orange-100 " ,
75+ color : "text-orange-600 dark:text-orange-400 " ,
76+ bg : "bg-orange-200 dark:bg-orange-900/50 " ,
7377 label : "Queued" ,
7478 } ,
7579 executing : {
76- color : "text-yellow-600" ,
77- bg : "bg-yellow-400" ,
80+ color : "text-yellow-600 dark:text-yellow-400 " ,
81+ bg : "bg-yellow-400 dark:bg-yellow-500 " ,
7882 label : "Running" ,
7983 } ,
8084 completed : {
81- color : "text-green-600" ,
82- bg : "bg-green-100 " ,
85+ color : "text-green-600 dark:text-green-400 " ,
86+ bg : "bg-green-200 dark:bg-green-900/50 " ,
8387 label : "Completed" ,
8488 } ,
85- error : { color : "text-red-600" , bg : "bg-red-100" , label : "Error" } ,
89+ error : {
90+ color : "text-red-600 dark:text-red-400" ,
91+ bg : "bg-red-200 dark:bg-red-900/50" ,
92+ label : "Error" ,
93+ } ,
8694 cancelled : {
87- color : "text-neutral -600" ,
88- bg : "bg-neutral-100 " ,
95+ color : "text-gray -600 dark:text-gray-400 " ,
96+ bg : "bg-gray-200 dark:bg-gray-700 " ,
8997 label : "Cancelled" ,
9098 } ,
91- paused : { color : "text-blue-600" , bg : "bg-blue-100" , label : "Paused" } ,
99+ paused : {
100+ color : "text-blue-600 dark:text-blue-400" ,
101+ bg : "bg-blue-200 dark:bg-blue-900/50" ,
102+ label : "Paused" ,
103+ } ,
92104 } ;
93105
94106 const config = statusConfig [ workflowStatus ] || statusConfig . idle ;
95107
96108 return (
97109 < div className = "absolute bottom-4 left-4 flex items-center gap-3 z-50" >
98- < div className = "bg-white/95 backdrop-blur-sm border border-gray -200 rounded-lg px-3 py-2 shadow-sm flex items-center gap-3" >
110+ < div className = "bg-white/95 dark:bg-neutral-900/95 backdrop-blur-sm border border-neutral -200 dark:border-neutral-700 rounded-lg px-3 py-2 shadow-sm flex items-center gap-3" >
99111 < div className = "flex items-center gap-2" >
100112 < div className = { cn ( "w-2 h-2 rounded-full" , config . bg ) } >
101- < div
102- className = { cn (
103- "w-full h-full rounded-full" ,
104- config . color . replace ( "text-" , "bg-" )
105- ) }
106- />
113+ < div className = { cn ( "w-full h-full rounded-full" ) } />
107114 </ div >
108115 < span className = { cn ( "text-sm font-medium" , config . color ) } >
109116 { config . label }
110117 </ span >
111118 </ div >
112119
113- < div className = "w-px h-4 bg-gray -300" />
120+ < div className = "w-px h-4 bg-neutral -300 dark:bg-neutral-600 " />
114121
115- < div className = "flex items-center gap-2 text-sm text-gray -600" >
122+ < div className = "flex items-center gap-2 text-sm text-neutral -600 dark:text-neutral-400 " >
116123 < span >
117124 { nodeCount } node{ nodeCount !== 1 ? "s" : "" }
118125 </ span >
119126 { readonly && (
120127 < >
121128 < span > •</ span >
122- < span className = "text-amber-600" > Read-only</ span >
129+ < span className = "text-amber-600 dark:text-amber-400" >
130+ Read-only
131+ </ span >
123132 </ >
124133 ) }
125134 </ div >
0 commit comments