From ad6a9f11b728ddce21953a3a56cb90c4e3bd40f2 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 8 Nov 2024 23:16:17 +0200 Subject: change of colors --- internal/colour/colour.go | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'internal/colour') diff --git a/internal/colour/colour.go b/internal/colour/colour.go index 5d1133a..71cb16a 100644 --- a/internal/colour/colour.go +++ b/internal/colour/colour.go @@ -3,15 +3,12 @@ package colour import "github.com/fatih/color" var ( - // Printf function(s) - info = color.New(color.FgHiBlack, color.BgBlack) - Infof = info.PrintfFunc() - Infoln = info.PrintlnFunc() - Info1f = color.New(color.FgCyan, color.BgBlue, color.Bold).PrintfFunc() - Info2f = color.New(color.FgHiYellow, color.BgHiBlack, color.Bold).PrintfFunc() + infoCol = color.New(color.FgCyan, color.BgBlue, color.Bold) + Infof = infoCol.PrintfFunc() + Infoln = infoCol.PrintlnFunc() + info2Col = color.New(color.FgHiYellow, color.BgBlue) + Info2f = info2Col.PrintfFunc() + SInfo2f = info2Col.SprintfFunc() Ackf = color.New(color.FgBlack, color.BgHiYellow, color.Bold).PrintfFunc() Successf = color.New(color.FgWhite, color.BgGreen).PrintfFunc() - - // Sprintf function(s) - Sstatsf = color.New(color.FgHiYellow, color.BgBlue).SprintfFunc() ) -- cgit v1.2.3