File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -411,7 +411,7 @@ const SerialPlotter = () => {
411411 onClick = { isConnected ? disconnectSerial : connectToSerial }
412412 className = { `px-4 py-2 text-sm font-semibold transition rounded-xl ${ isConnected ? "text-sm" : "text-sm" } ` }
413413 >
414- { isConnected ? "Disconnect" : "Connect Serial " }
414+ { isConnected ? "Disconnect" : "Connect" }
415415 </ Button >
416416 </ div >
417417
@@ -423,8 +423,8 @@ const SerialPlotter = () => {
423423 onClick = { ( ) => setViewMode ( mode ) }
424424 className = { `px-4 py-2 text-sm transition font-semibold
425425 ${ viewMode === mode
426- ? "bg-primary text-white dark:text-gray-800 shadow-md" // Active state
427- : "bg-gray-700 text-gray-300 hover:bg-gray-600 " } // Inactive state
426+ ? "bg-primary text-white dark:text-gray-900 shadow-md" // Active state
427+ : "bg-gray-500 text-gray-900 hover:bg-gray-300 " } // Inactive state (lighter shade)
428428 ${ index === 0 ? "rounded-xl rounded-r-none" : "" }
429429 ${ index === arr . length - 1 ? "rounded-xl rounded-l-none" : "" }
430430 ${ index !== 0 && index !== arr . length - 1 ? "rounded-none" : "" } ` }
@@ -434,6 +434,7 @@ const SerialPlotter = () => {
434434 ) ) }
435435 </ div >
436436
437+
437438 { /* Baud Rate Selector */ }
438439 < div className = "flex items-center space-x-2" >
439440 < label className = "text-sm font-semibold" > Baud Rate:</ label >
You can’t perform that action at this time.
0 commit comments