Skip to content

Commit

Permalink
Change foregroundstyle to make the link not blue
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelacaron committed Oct 29, 2024
1 parent f134775 commit 7e20dd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ struct ContributorsListView: View {
Link(destination: URL(string: contributor.htmlURL) ?? GitHubURL.repo) {
ContributorsProfileView(contributor: contributor)
}
.buttonStyle(.plain)
.foregroundStyle(.primary)
}
} else {
ProgressView()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,12 @@ struct ContributorsProfileView: View {
VStack(alignment: .leading) {
Text(contributor.login)
.bold()

Text(
"^[\(contributor.contributions) contributions](inflect: true)",
comment: "the number of contributions by a contributor"
)
.foregroundStyle(.secondary)
.foregroundStyle(.secondary)
}
}
}
Expand Down

0 comments on commit 7e20dd9

Please sign in to comment.