improve readability of colours (#65)

improve readability of colours
This commit is contained in:
Mark Kopenga 2019-07-02 15:15:08 +02:00 committed by GitHub
commit 1ff2198c0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -294,7 +294,7 @@ func (c *Container) GetColor() color.Attribute {
switch c.Container.State {
case "exited":
if c.Details.State.ExitCode == 0 {
return color.FgBlue
return color.FgYellow
}
return color.FgRed
case "created":

View file

@ -57,7 +57,7 @@ func (l *Layer) GetDisplayStrings(isFocused bool) []string {
}
idColor := color.FgWhite
if id == "<missing>" {
idColor = color.FgBlack
idColor = color.FgBlue
}
dockerFileCommandPrefix := "/bin/sh -c #(nop) "
@ -73,7 +73,7 @@ func (l *Layer) GetDisplayStrings(isFocused bool) []string {
size := utils.FormatBinaryBytes(int(l.Size))
sizeColor := color.FgWhite
if size == "0B" {
sizeColor = color.FgBlack
sizeColor = color.FgBlue
}
return []string{

View file

@ -23,7 +23,7 @@ type Service struct {
func (s *Service) GetDisplayStrings(isFocused bool) []string {
if s.Container == nil {
return []string{utils.ColoredString("none", color.FgBlack), s.Name, ""}
return []string{utils.ColoredString("none", color.FgBlue), s.Name, ""}
}
cont := s.Container