Skip to content

Commit

Permalink
Fonts rework
Browse files Browse the repository at this point in the history
- Use system fonts only for text to avoid FOUT
- Move font-awesome to npm/webpack
- Move NotoColorEmoji to web_src
- Remove presumably unneccesary 'PT Sans Narrow'
- Simplify webpack import exclusions

Fixes: go-gitea#11818
Fixes: go-gitea#11814
  • Loading branch information
silverwind committed Jul 2, 2020
1 parent cd994f6 commit f6ecba5
Show file tree
Hide file tree
Showing 23 changed files with 21 additions and 954 deletions.
1 change: 0 additions & 1 deletion .ignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/vendor
/public/vendor/plugins
/public/vendor/assets
/modules/options/bindata.go
/modules/public/bindata.go
/modules/templates/bindata.go
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"fast-glob": "3.2.2",
"file-loader": "6.0.0",
"fomantic-ui": "2.8.6",
"font-awesome": "4.7.0",
"jquery": "3.5.1",
"jquery.are-you-sure": "1.9.0",
"less-loader": "6.1.0",
Expand Down
97 changes: 0 additions & 97 deletions public/vendor/assets/font-awesome/LICENSE

This file was deleted.

7 changes: 0 additions & 7 deletions public/vendor/assets/font-awesome/css/LICENSE

This file was deleted.

4 changes: 0 additions & 4 deletions public/vendor/assets/font-awesome/css/font-awesome.min.css

This file was deleted.

Binary file not shown.
97 changes: 0 additions & 97 deletions public/vendor/assets/font-awesome/fonts/LICENSE

This file was deleted.

Binary file not shown.
Loading

0 comments on commit f6ecba5

Please sign in to comment.