Skip to content

Commit

Permalink
Fixes #3139 and #3230 - use native font stack, removing google fonts
Browse files Browse the repository at this point in the history
Especially helpful for those running Snipe-IT in a closed environment
  • Loading branch information
snipe committed Jan 25, 2017
1 parent ad4bf83 commit 9d555f5
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 19 deletions.
5 changes: 0 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
Snipe-IT Setup
</title>


<link href="https://fonts.googleapis.com/css?family=Lato:100" rel="stylesheet" type="text/css">



<style>
td, th {
font-size: 14px;
Expand Down
1 change: 0 additions & 1 deletion public/assets/compiled/css/app.css

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

2 changes: 1 addition & 1 deletion public/assets/css/AdminLTE.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic);

/*!
* AdminLTE v2.3.0
* Author: Almsaeed Studio
Expand Down
4 changes: 2 additions & 2 deletions public/assets/css/AdminLTE.min.css

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions public/assets/css/app.css

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

2 changes: 1 addition & 1 deletion public/assets/css/app.css.map

Large diffs are not rendered by default.

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

2 changes: 1 addition & 1 deletion public/build/assets/css/app.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/build/rev-manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"assets/css/app.css": "assets/css/app-68b995f614.css",
"assets/css/app.css": "assets/css/app-fc4d2fdcc4.css",
"assets/js/all.js": "assets/js/all-93b23559b9.js"
}
2 changes: 0 additions & 2 deletions resources/assets/less/AdminLTE.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* Please visit https://opensource.org/licenses/MIT for more information
!*/

//google fonts
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic);

//Bootstrap Variables & Mixins
//The core bootstrap code have not been modified. These files
Expand Down
1 change: 0 additions & 1 deletion resources/assets/less/app.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro);
@icon-font-path: '../../../bower_components/bootstrap-less/fonts';
@fa-font-path: '../../../bower_components/font-awesome/fonts/';
@import '../../../bower_components/bootstrap-less/less/bootstrap';
Expand Down
6 changes: 6 additions & 0 deletions resources/assets/less/overrides.less
Original file line number Diff line number Diff line change
Expand Up @@ -287,3 +287,9 @@ a.logo.no-hover a:hover {
border-right: 6px solid orange;
}

body {
font-family: -apple-system, BlinkMacSystemFont,
"Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
"Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
}

0 comments on commit 9d555f5

Please sign in to comment.