diff --git a/examples/altscreen-toggle/main.go b/examples/altscreen-toggle/main.go index c63cee2..539ee52 100644 --- a/examples/altscreen-toggle/main.go +++ b/examples/altscreen-toggle/main.go @@ -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 ) diff --git a/examples/views/main.go b/examples/views/main.go index 5b4ed92..1a934be 100644 --- a/examples/views/main.go +++ b/examples/views/main.go @@ -28,7 +28,7 @@ const ( // General stuff for styling the view var ( - term = termenv.ColorProfile() + term = termenv.EnvColorProfile() keyword = makeFgStyle("211") subtle = makeFgStyle("241") progressEmpty = subtle(progressEmptyChar)