Skip to content

Commit

Permalink
chore: add yellow to common colors
Browse files Browse the repository at this point in the history
  • Loading branch information
majori committed Sep 24, 2024
1 parent a8fe7ea commit 999479f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions pkg/ui/colors/colors.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package colors
import "github.com/charmbracelet/lipgloss"

var (
Red = lipgloss.NewStyle().Foreground(lipgloss.Color("#EF4136"))
Green = lipgloss.NewStyle().Foreground(lipgloss.Color("#26A568"))
Red = lipgloss.NewStyle().Foreground(lipgloss.Color("#EF4136"))
Green = lipgloss.NewStyle().Foreground(lipgloss.Color("#26A568"))
Yellow = lipgloss.NewStyle().Foreground(lipgloss.Color("#FFFF00"))
)
2 changes: 1 addition & 1 deletion pkg/ui/conflict/conflict.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func combineDiffLinesToColorizedDiffString(lines []string) string {
colorizedLines = append(colorizedLines, colors.Red.Render(line))
}
}
colorizedLines = append(colorizedLines, lipgloss.NewStyle().Foreground(lipgloss.Color("#FFFF00")).Render("-- End of file --"))
colorizedLines = append(colorizedLines, colors.Yellow.Render("-- End of file --"))
return strings.Join(colorizedLines, "\n")
}

Expand Down

0 comments on commit 999479f

Please sign in to comment.