Skip to content

Commit 4a72f9b

Browse files
change url colors
1 parent 9aa03b8 commit 4a72f9b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pkg/auth/auth.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ func defaultAuthFunc(url, code string) {
190190
fmt.Println("Your Device Confirmation Code is 👉", codeType(code), "👈")
191191
caretType := color.New(color.FgGreen, color.Bold).SprintFunc()
192192
enterType := color.New(color.FgGreen, color.Bold).SprintFunc()
193-
urlType := color.New(color.FgWhite, color.Bold).SprintFunc()
194-
fmt.Println("\n" + "Browser link: " + url)
195-
fmt.Println("Alternatively, get CLI Command (\"Login via CLI\"): https://console.brev.dev/profile?login=cli")
193+
urlType := color.New(color.FgCyan, color.Bold).SprintFunc()
194+
fmt.Println("\n" + "Browser link: " + urlType(url) + "\n")
195+
fmt.Println("Alternatively, get CLI Command (\"Login via CLI\"): ", urlType("https://console.brev.dev/profile?login=cli"))
196196
fmt.Print("\n")
197197
_ = terminal.PromptGetInput(terminal.PromptContent{
198198
Label: " " + caretType("▸") + " Press " + enterType("Enter") + " to login via browser",
@@ -210,9 +210,9 @@ func defaultAuthFunc(url, code string) {
210210
}
211211

212212
func skipBrowserAuthFunc(url, _ string) {
213-
urlType := color.New(color.FgWhite, color.Bold).SprintFunc()
213+
urlType := color.New(color.FgCyan, color.Bold).SprintFunc()
214214
fmt.Println("Please copy", urlType(url), "and paste it in your browser.")
215-
fmt.Println("Alternatively, get CLI Command (\"Login via CLI\"): https://console.brev.dev/profile?login=cli")
215+
fmt.Println("Alternatively, get CLI Command (\"Login via CLI\"): ", urlType("https://console.brev.dev/profile?login=cli"))
216216
fmt.Println("Waiting for login to complete in browser... Ctrl+C to use CLI command instead.")
217217
}
218218

0 commit comments

Comments
 (0)