Skip to content

Commit

Permalink
fix: styles
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <[email protected]>
  • Loading branch information
caarlos0 committed Jul 15, 2021
1 parent ef8a9d9 commit 8d3cc76
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions highlights/highlight.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ func Write(w io.Writer, s orgstats.Stats, top int, includeReviews bool) error {
var bodyStyle = lipgloss.NewStyle().
MarginLeft(2)

var userStyle = lipgloss.NewStyle().Bold(true)

// TODO: handle no results for a given topic
for _, d := range data {
if _, err := fmt.Fprintln(
Expand All @@ -65,7 +63,7 @@ func Write(w io.Writer, s orgstats.Stats, top int, includeReviews bool) error {
fmt.Sprintf(
"%s %s with %d %s!",
emojiForPos(i),
userStyle.Render(d.stats[i].Key),
d.stats[i].Key,
d.stats[i].Value,
d.kind,
),
Expand Down

0 comments on commit 8d3cc76

Please sign in to comment.