mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
add common status colors to global theme
This commit is contained in:
@@ -32,9 +32,9 @@ func (s *Status) Set(val string) {
|
||||
|
||||
switch val {
|
||||
case "running":
|
||||
color = ui.ColorGreen
|
||||
color = ui.ThemeAttr("status.ok")
|
||||
case "exited":
|
||||
color = ui.ColorRed
|
||||
color = ui.ThemeAttr("status.danger")
|
||||
case "paused":
|
||||
text = fmt.Sprintf("%s%s", vBar, vBar)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user