refactor: remove NO_COLOR env option

This commit is contained in:
2026-03-25 19:49:10 +00:00
parent be4c143b9d
commit 952211ef93
6 changed files with 37 additions and 59 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ func (s Style) BG(rgb uint32) Style {
}
func (s Style) Apply(text string) string {
if noColor() || (!s.bold && !s.italic && s.fg == nil && s.bg == nil) {
if !s.bold && !s.italic && s.fg == nil && s.bg == nil {
return text
}