Skip to content

Commit b70a695

Browse files
authored
feat(prrow): slight style changes (#742)
# Summary ## How did you test this change? ## Images/Videos
1 parent 8bb74d7 commit b70a695

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

internal/tui/components/prrow/prrow.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ func (pr *PullRequest) renderExtendedTitle(isSelected bool) string {
185185
baseStyle = baseStyle.Foreground(pr.Ctx.Theme.SecondaryText).Background(pr.Ctx.Theme.SelectedBackground)
186186
}
187187

188-
author := baseStyle.Render(fmt.Sprintf("@%s",
188+
author := baseStyle.Bold(true).Foreground(pr.Ctx.Theme.FaintText).Render(fmt.Sprintf("@%s",
189189
pr.Data.Primary.GetAuthor(pr.Ctx.Theme, pr.ShowAuthorIcon)))
190190
top := lipgloss.JoinHorizontal(lipgloss.Top, pr.Data.Primary.Repository.NameWithOwner,
191191
fmt.Sprintf(" #%d by %s", pr.Data.Primary.Number, author))
@@ -203,7 +203,8 @@ func (pr *PullRequest) renderExtendedTitle(isSelected bool) string {
203203
}
204204
width := titleColumn.ComputedWidth - 2
205205
top = baseStyle.Foreground(pr.Ctx.Theme.SecondaryText).Width(width).MaxWidth(width).Height(1).MaxHeight(1).Render(top)
206-
title = baseStyle.Foreground(pr.Ctx.Theme.PrimaryText).Width(width).MaxWidth(width).Height(1).MaxHeight(1).Render(title)
206+
title = baseStyle.Foreground(pr.Ctx.Theme.PrimaryText).Bold(true).Width(width).MaxWidth(
207+
width).Height(1).MaxHeight(1).Render(title)
207208

208209
return baseStyle.Render(lipgloss.JoinVertical(lipgloss.Left, top, title))
209210
}

internal/tui/components/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func RenderIssueTitle(
4949
prNumber = strings.ReplaceAll(prNumber, "\x1b[0m", "")
5050
}
5151

52-
rTitle := GetIssueTextStyle(ctx).Render(title)
52+
rTitle := GetIssueTextStyle(ctx).Bold(true).Render(title)
5353

5454
res := fmt.Sprintf("%s%s", prNumber, rTitle)
5555
return res

0 commit comments

Comments
 (0)