mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-17 10:35:28 -07:00
Use termenv's EnvColorProfile, which respects NO_COLOR and CLICOLOR_FORCE env vars
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
color = termenv.ColorProfile().Color
|
||||
color = termenv.EnvColorProfile().Color
|
||||
keyword = termenv.Style{}.Foreground(color("204")).Background(color("235")).Styled
|
||||
help = termenv.Style{}.Foreground(color("241")).Styled
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user