diff options
| author | Paul Buetow <paul@buetow.org> | 2024-11-08 23:16:17 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-11-08 23:16:17 +0200 |
| commit | ad6a9f11b728ddce21953a3a56cb90c4e3bd40f2 (patch) | |
| tree | a46bdc070a8dce96edcd66bbcf75ba519588ee2a /internal/colour | |
| parent | 5ee4d7a6020e32159e735ff9e5b38be5da6bfe9c (diff) | |
change of colors
Diffstat (limited to 'internal/colour')
| -rw-r--r-- | internal/colour/colour.go | 15 |
1 files changed, 6 insertions, 9 deletions
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() ) |
