mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-23 07:13:57 +08:00
Merge pull request #2877 from okriuchykhin/local_fonts
Add typeface-lato for shipping Lato fonts
This commit is contained in:
commit
6357c23350
5 changed files with 9 additions and 3 deletions
|
@ -1,5 +1,3 @@
|
|||
@import url(https://fonts.googleapis.com/css?family=Lato:400,400i,700&subset=latin-ext);
|
||||
|
||||
//==============================================================================
|
||||
// Colors
|
||||
//==============================================================================
|
||||
|
|
1
app/javascript/packs/fonts.js
Normal file
1
app/javascript/packs/fonts.js
Normal file
|
@ -0,0 +1 @@
|
|||
require("typeface-lato");
|
|
@ -17,6 +17,7 @@
|
|||
<%= favicon_link_tag "favicon-16.png", type: "image/png", size: "16x16" %>
|
||||
<%= favicon_link_tag "favicon-32.png", type: "image/png", size: "32x32" %>
|
||||
<%= favicon_link_tag "favicon-48.png", type: "image/png", size: "48x48" %>
|
||||
<%= stylesheet_pack_tag 'fonts' %>
|
||||
<%= stylesheet_pack_tag 'fontawesome' %>
|
||||
|
||||
<%= csrf_meta_tags %>
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
"@babel/preset-env": "^7.0.0",
|
||||
"@babel/preset-react": "^7.0.0",
|
||||
"@fortawesome/fontawesome-free": "^5.2.0",
|
||||
"@joeattardi/emoji-button": "^2.5.4",
|
||||
"@rails/webpacker": "^4.0.7",
|
||||
"autoprefixer": "^7.2.6",
|
||||
"axios": "0.18.1",
|
||||
|
@ -62,7 +63,6 @@
|
|||
"compression-webpack-plugin": "^1.1.11",
|
||||
"croppie": "^2.6.4",
|
||||
"css-loader": "2.1.1",
|
||||
"@joeattardi/emoji-button": "^2.5.4",
|
||||
"extract-text-webpack-plugin": "^3.0.2",
|
||||
"fabric": "1.6.7",
|
||||
"file-loader": "^4.0.0",
|
||||
|
@ -110,6 +110,7 @@
|
|||
"tui-color-picker": "^2.2.0",
|
||||
"tui-image-editor": "git://github.com/biosistemika/tui.image-editor",
|
||||
"twemoji": "^12.1.4",
|
||||
"typeface-lato": "^0.0.75",
|
||||
"webpack": "^4.35.2",
|
||||
"webpack-cli": "^3.3.5",
|
||||
"webpack-manifest-plugin": "^1.3.2",
|
||||
|
|
|
@ -9768,6 +9768,11 @@ typedarray@^0.0.6:
|
|||
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
|
||||
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
|
||||
|
||||
typeface-lato@^0.0.75:
|
||||
version "0.0.75"
|
||||
resolved "https://registry.yarnpkg.com/typeface-lato/-/typeface-lato-0.0.75.tgz#8aa11c5611dc38416837c089b265a2abd1f7dd31"
|
||||
integrity sha512-iA5uJD4PSTyIE4BDiSOexQeXkDkiJuX4Hu3wh3saJ06EB2TvJayab1Lbbmqq2je/LQv7KCQZHZmC0k4hedd8sw==
|
||||
|
||||
typescript-eslint-parser@^16.0.0:
|
||||
version "16.0.1"
|
||||
resolved "https://registry.yarnpkg.com/typescript-eslint-parser/-/typescript-eslint-parser-16.0.1.tgz#b40681c7043b222b9772748b700a000b241c031b"
|
||||
|
|
Loading…
Reference in a new issue