add common status colors to global theme

This commit is contained in:
Bradley Cicenas
2017-08-28 08:46:01 +09:00
parent a1ebf3f90e
commit add44c0f18
4 changed files with 15 additions and 12 deletions
+2 -2
View File
@@ -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)
}