Skip to content

Your lightweight open-source personal agent.

style(tui): use brand accent for active status

Xubin Ren2f7355426d64
diff --git a/tui/src/app.test.ts b/tui/src/app.test.ts
index e15b7d052..7a0163984 100644
--- a/tui/src/app.test.ts
+++ b/tui/src/app.test.ts
@@ -1270,6 +1270,7 @@ describe("NanobotTui layout", () => {
.map((chunk) => chunk.fg?.toInts().join(",")),
)
expect(shimmerColors.size).toBeGreaterThan(1)
+ expect([...shimmerColors].some((value) => value?.startsWith("239,142,48"))).toBe(true)
app.accept({
event: "message",
diff --git a/tui/src/app.ts b/tui/src/app.ts
index fa143edd8..7ff8f2d29 100644
--- a/tui/src/app.ts
+++ b/tui/src/app.ts
@@ -256,7 +256,7 @@ function shimmerStatus(
): StyledText {
const chars = Array.from(label)
const base = RGBA.fromHex(palette.muted).toInts()
- const highlight = RGBA.fromHex(palette.text).toInts()
+ const highlight = RGBA.fromHex(palette.accent).toInts()
// Sweep immediately, then leave a quiet pause before repeating. The text
// keeps a constant width throughout, so the footer never jitters.
const position = frame % (chars.length + SHIMMER_PAUSE)