Skip to content

Commit 4f6bdf8

Browse files
committed
Change wiki directory icon color
1 parent 62cef5b commit 4f6bdf8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

templates/repo/wiki/pages.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{{range .Pages}}
1717
<tr>
1818
<td>
19-
{{if .IsDir}}{{svg "octicon-file-directory"}}{{else}}{{svg "octicon-file"}}{{end}}
19+
{{if .IsDir}}{{svg "octicon-file-directory-fill"}}{{else}}{{svg "octicon-file"}}{{end}}
2020
<a href="{{$.RepoLink}}/wiki/{{.SubURL}}{{if .IsDir}}?action=_pages{{end}}">{{.Name}}</a>
2121
<a class="wiki-git-entry" href="{{$.RepoLink}}/wiki/{{.SubURL}}{{if .IsDir}}?action=_pages{{end}}" data-tooltip-content="{{ctx.Locale.Tr "repo.wiki.original_git_entry_tooltip"}}">{{svg "octicon-chevron-right"}}</a>
2222
</td>

web_src/css/repo/wiki.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
display: inline-block;
1212
}
1313

14+
.repository.wiki .wiki-pages-list .svg.octicon-file-directory-fill {
15+
color: var(--color-primary);
16+
}
17+
1418
.repository.wiki .markup {
1519
overflow: visible;
1620
}

0 commit comments

Comments
 (0)