summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Machet <mail@hmachet.com>2022-01-06 08:25:45 +0100
committerdelthas <delthas@dille.cc>2022-02-10 12:22:24 +0100
commit506b4f588d4e9ec0fd472c7a964cb1ac6a45298d (patch)
treed73709515b70155d4897b9684b5e7ca2f83e4251
parentui: add commands completion (diff)
Rename ColorGrey to ColorGray for consistency
-rw-r--r--commands.go4
-rw-r--r--ui/style.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/commands.go b/commands.go
index 09582b6..18528db 100644
--- a/commands.go
+++ b/commands.go
@@ -361,13 +361,13 @@ func commandDoNames(app *App, args []string) (err error) {
return fmt.Errorf("this is not a channel")
}
var sb ui.StyledStringBuilder
- sb.SetStyle(tcell.StyleDefault.Foreground(tcell.ColorGrey))
+ sb.SetStyle(tcell.StyleDefault.Foreground(tcell.ColorGray))
sb.WriteString("Names: ")
for _, name := range s.Names(buffer) {
if name.PowerLevel != "" {
sb.SetStyle(tcell.StyleDefault.Foreground(tcell.ColorGreen))
sb.WriteString(name.PowerLevel)
- sb.SetStyle(tcell.StyleDefault.Foreground(tcell.ColorGrey))
+ sb.SetStyle(tcell.StyleDefault.Foreground(tcell.ColorGray))
}
sb.WriteString(name.Name.Name)
sb.WriteByte(' ')
diff --git a/ui/style.go b/ui/style.go
index 2f9c588..91cd2e1 100644
--- a/ui/style.go
+++ b/ui/style.go
@@ -32,7 +32,7 @@ var baseCodes = []tcell.Color{
tcell.ColorWhite, tcell.ColorBlack, tcell.ColorBlue, tcell.ColorGreen,
tcell.ColorRed, tcell.ColorBrown, tcell.ColorPurple, tcell.ColorOrange,
tcell.ColorYellow, tcell.ColorLightGreen, tcell.ColorTeal, tcell.ColorLightCyan,
- tcell.ColorLightBlue, tcell.ColorPink, tcell.ColorGrey, tcell.ColorLightGrey,
+ tcell.ColorLightBlue, tcell.ColorPink, tcell.ColorGray, tcell.ColorLightGray,
}
// unused