github.com/supabase/cli@v1.168.1/internal/utils/colors.go (about) 1 package utils 2 3 import ( 4 "github.com/charmbracelet/lipgloss" 5 ) 6 7 // For commands & names. 8 func Aqua(str string) string { 9 return lipgloss.NewStyle().Foreground(lipgloss.Color("14")).Render(str) 10 } 11 12 func Yellow(str string) string { 13 return lipgloss.NewStyle().Foreground(lipgloss.Color("11")).Render(str) 14 } 15 16 // For errors. 17 func Red(str string) string { 18 return lipgloss.NewStyle().Foreground(lipgloss.Color("9")).Render(str) 19 } 20 21 // For paths & filenames. 22 func Bold(str string) string { 23 return lipgloss.NewStyle().Bold(true).Render(str) 24 }