mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-09-04 10:11:46 +03:00
style(tui): use brand accent for active status
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user