survey: fix color contrast of default values in prompts (#7354)
This commit is contained in:
parent
bd749b67f6
commit
0d110ea8bf
1 changed files with 0 additions and 3 deletions
|
|
@ -80,9 +80,6 @@ func mainRun() exitCode {
|
|||
surveyCore.TemplateFuncsWithColor["color"] = func(style string) string {
|
||||
switch style {
|
||||
case "white":
|
||||
if cmdFactory.IOStreams.ColorSupport256() {
|
||||
return fmt.Sprintf("\x1b[%d;5;%dm", 38, 242)
|
||||
}
|
||||
return ansi.ColorCode("default")
|
||||
default:
|
||||
return ansi.ColorCode(style)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue