From db746802c9c3c321d7f0a517813a05e088e7bf36 Mon Sep 17 00:00:00 2001 From: Chris Cummer Date: Sat, 11 May 2019 08:49:26 -0700 Subject: [PATCH] Improve the display of Twitter; less-harsh colours --- modules/twitter/widget.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/twitter/widget.go b/modules/twitter/widget.go index 5ae8640f..f26564a0 100644 --- a/modules/twitter/widget.go +++ b/modules/twitter/widget.go @@ -77,7 +77,7 @@ func (widget *Widget) display() { title := fmt.Sprintf("Twitter - [green]@%s[white]", widget.CurrentSource()) if len(tweets) == 0 { - str := fmt.Sprintf("\n\n\n%s", wtf.CenterText("[blue]No Tweets[white]", 50)) + str := fmt.Sprintf("\n\n\n%s", wtf.CenterText("[lightblue]No Tweets[white]", 50)) widget.View.SetText(str) return } @@ -112,7 +112,7 @@ func (widget *Widget) formatText(text string) string { // @name mentions atRegExp := regexp.MustCompile(`@[0-9A-Za-z_]*`) - result = atRegExp.ReplaceAllString(result, "[blue]${0}[white]") + result = atRegExp.ReplaceAllString(result, "[lightblue]${0}[white]") // HTTP(S) links linkRegExp := regexp.MustCompile(`http[s:\/.0-9A-Za-z]*`)