summaryrefslogtreecommitdiffstats
path: root/web_src/js/svg.js
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-07-13 15:21:19 +0200
committerGitHub <noreply@github.com>2020-07-13 16:21:19 +0300
commit84a419de98701fe1e8a0d7f1be5d82c7f5e4ac92 (patch)
tree9953031b9d1200d86006ba1717f638fe8c986888 /web_src/js/svg.js
parentb49a195839ae388184c5111464d8ea3dbe03772b (diff)
downloadgitea-84a419de98701fe1e8a0d7f1be5d82c7f5e4ac92.tar.gz
gitea-84a419de98701fe1e8a0d7f1be5d82c7f5e4ac92.zip
Replace code fold icons with octicons (#12222)
- replace font-awesome icons with octicons - clean up js and css surrounding the code expansion and file folding - fix hover color on arc-green - tweak diff line number colors Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'web_src/js/svg.js')
-rw-r--r--web_src/js/svg.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/web_src/js/svg.js b/web_src/js/svg.js
index 9a7c7f4e67..556a191720 100644
--- a/web_src/js/svg.js
+++ b/web_src/js/svg.js
@@ -1,3 +1,5 @@
+import octiconChevronDown from '../../public/img/svg/octicon-chevron-down.svg';
+import octiconChevronRight from '../../public/img/svg/octicon-chevron-right.svg';
import octiconGitMerge from '../../public/img/svg/octicon-git-merge.svg';
import octiconGitPullRequest from '../../public/img/svg/octicon-git-pull-request.svg';
import octiconInternalRepo from '../../public/img/svg/octicon-internal-repo.svg';
@@ -12,6 +14,8 @@ import octiconRepoTemplate from '../../public/img/svg/octicon-repo-template.svg'
import octiconRepoTemplatePrivate from '../../public/img/svg/octicon-repo-template-private.svg';
export const svgs = {
+ 'octicon-chevron-down': octiconChevronDown,
+ 'octicon-chevron-right': octiconChevronRight,
'octicon-git-merge': octiconGitMerge,
'octicon-git-pull-request': octiconGitPullRequest,
'octicon-internal-repo': octiconInternalRepo,