From 07b629b289d0261000150aee198f7a2e6492f23b Mon Sep 17 00:00:00 2001 From: Tom Fleet Date: Tue, 7 Oct 2025 21:16:36 +0100 Subject: [PATCH] Tweak the title colour in help text --- Taskfile.yml | 3 +++ internal/style/style.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Taskfile.yml b/Taskfile.yml index 2fb2d30..7910bc1 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -36,6 +36,9 @@ tasks: - "**/testdata/**/*" - go.mod - go.sum + env: + # -race needs CGO (https://go.dev/doc/articles/race_detector#Requirements) + CGO_ENABLED: 1 cmds: - go test -race ./... {{.CLI_ARGS}} diff --git a/internal/style/style.go b/internal/style/style.go index e546790..74aad7f 100644 --- a/internal/style/style.go +++ b/internal/style/style.go @@ -8,7 +8,7 @@ import "go.followtheprocess.codes/hue" const ( // Title is the style for titles of help text sections like arguments or commands. - Title = hue.Bold | hue.White | hue.Underline + Title = hue.Bold | hue.Underline // Bold is simply plain bold text. Bold = hue.Bold