Skip to content

Commit 4a6b618

Browse files
committed
Use body text color in #repo-files-table links
1 parent 57e0bf4 commit 4a6b618

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

templates/repo/view_list.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
{{if .LatestCommitUser}}
99
{{avatar .LatestCommitUser 24}}
1010
{{if .LatestCommitUser.FullName}}
11-
<a href="{{.LatestCommitUser.HomeLink}}"><strong>{{.LatestCommitUser.FullName}}</strong></a>
11+
<a class="author" href="{{.LatestCommitUser.HomeLink}}"><strong>{{.LatestCommitUser.FullName}}</strong></a>
1212
{{else}}
13-
<a href="{{.LatestCommitUser.HomeLink}}"><strong>{{if .LatestCommit.Author}}{{.LatestCommit.Author.Name}}{{else}}{{.LatestCommitUser.Name}}{{end}}</strong></a>
13+
<a class="author" href="{{.LatestCommitUser.HomeLink}}"><strong>{{if .LatestCommit.Author}}{{.LatestCommit.Author.Name}}{{else}}{{.LatestCommitUser.Name}}{{end}}</strong></a>
1414
{{end}}
1515
{{else}}
1616
{{if .LatestCommit.Author}}

web_src/less/_repository.less

+14
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,11 @@
323323
.ui.avatar {
324324
margin-bottom: 5px;
325325
}
326+
327+
.author,
328+
.commit-summary a {
329+
color: var(--color-text);
330+
}
326331
}
327332

328333
tbody {
@@ -364,6 +369,10 @@
364369
width: 33%;
365370

366371
max-width: calc(100vw - 140px);
372+
373+
a {
374+
color: var(--color-text);
375+
}
367376
}
368377

369378
&.message {
@@ -377,10 +386,15 @@
377386
max-width: 250px;
378387
}
379388
width: 66%;
389+
390+
a:not(.ref-issue) {
391+
color: var(--color-text-light-2);
392+
}
380393
}
381394

382395
&.age {
383396
width: 120px;
397+
color: var(--color-text-light-2);
384398
}
385399

386400
.truncate {

0 commit comments

Comments
 (0)