mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-07-09 19:50:18 +00:00
refactor: use ansi colors in cli
This commit is contained in:
@@ -156,11 +156,11 @@ func (t *themeBase) Theme(isDark bool) *huh.Styles {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
redStyle = lipgloss.NewStyle().Foreground(lipgloss.Red)
|
redStyle = lipgloss.NewStyle().Foreground(lipgloss.ANSIColor(160))
|
||||||
greenStyle = lipgloss.NewStyle().Foreground(lipgloss.Green)
|
greenStyle = lipgloss.NewStyle().Foreground(lipgloss.ANSIColor(34))
|
||||||
grayStyle = lipgloss.NewStyle().Foreground(lipgloss.Lighten(lipgloss.Black, 0.8))
|
grayStyle = lipgloss.NewStyle().Foreground(lipgloss.ANSIColor(247))
|
||||||
yellowStyle = lipgloss.NewStyle().Foreground(lipgloss.Yellow)
|
yellowStyle = lipgloss.NewStyle().Foreground(lipgloss.ANSIColor(214))
|
||||||
blueStyle = lipgloss.NewStyle().Foreground(lipgloss.Blue)
|
blueStyle = lipgloss.NewStyle().Foreground(lipgloss.ANSIColor(75))
|
||||||
)
|
)
|
||||||
|
|
||||||
func fatalf(err error, msg string) {
|
func fatalf(err error, msg string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user