Browse Source

Upgrade lato fonts to v16. (#9498)

* Upgrade lato fonts to v16

* Upgrade lato fonts to v16

* fix bug
for-closed-social
Lunny Xiao 4 years ago
committed by techknowlogick
parent
commit
c0f8795462
46 changed files with 72 additions and 20 deletions
  1. BIN
     
  2. BIN
     
  3. BIN
     
  4. BIN
     
  5. BIN
     
  6. BIN
     
  7. BIN
     
  8. BIN
     
  9. BIN
     
  10. BIN
     
  11. BIN
     
  12. BIN
     
  13. BIN
     
  14. BIN
     
  15. BIN
     
  16. BIN
     
  17. BIN
     
  18. BIN
     
  19. BIN
     
  20. BIN
     
  21. BIN
     
  22. BIN
     
  23. BIN
     
  24. BIN
     
  25. BIN
     
  26. +0
    -0
      public/vendor/assets/lato-fonts/lato-v16-latin-700.svg
  27. BIN
     
  28. BIN
     
  29. BIN
     
  30. BIN
     
  31. +0
    -0
      public/vendor/assets/lato-fonts/lato-v16-latin-700italic.svg
  32. BIN
     
  33. BIN
     
  34. BIN
     
  35. BIN
     
  36. +0
    -0
      public/vendor/assets/lato-fonts/lato-v16-latin-italic.svg
  37. BIN
     
  38. BIN
     
  39. BIN
     
  40. BIN
     
  41. +0
    -0
      public/vendor/assets/lato-fonts/lato-v16-latin-regular.svg
  42. BIN
     
  43. BIN
     
  44. BIN
     
  45. +2
    -2
      templates/pwa/serviceworker_js.tmpl
  46. +70
    -18
      web_src/less/_base.less

BIN
View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


public/vendor/assets/lato-fonts/lato-v14-latin-700.svg → public/vendor/assets/lato-fonts/lato-v16-latin-700.svg View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


public/vendor/assets/lato-fonts/lato-v14-latin-700italic.svg → public/vendor/assets/lato-fonts/lato-v16-latin-700italic.svg View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


public/vendor/assets/lato-fonts/lato-v14-latin-italic.svg → public/vendor/assets/lato-fonts/lato-v16-latin-italic.svg View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


public/vendor/assets/lato-fonts/lato-v14-latin-regular.svg → public/vendor/assets/lato-fonts/lato-v16-latin-regular.svg View File


BIN
View File


BIN
View File


BIN
View File


+ 2
- 2
templates/pwa/serviceworker_js.tmpl View File

@ -46,8 +46,8 @@ var urlsToCache = [
// fonts
'{{StaticUrlPrefix}}/vendor/plugins/fomantic/themes/default/assets/fonts/icons.woff2',
'{{StaticUrlPrefix}}/vendor/assets/octicons/octicons.woff2?ef21c39f0ca9b1b5116e5eb7ac5eabe6',
'{{StaticUrlPrefix}}/vendor/assets/lato-fonts/lato-v14-latin-regular.woff2',
'{{StaticUrlPrefix}}/vendor/assets/lato-fonts/lato-v14-latin-700.woff2'
'{{StaticUrlPrefix}}/vendor/assets/lato-fonts/lato-v16-latin-regular.woff2',
'{{StaticUrlPrefix}}/vendor/assets/lato-fonts/lato-v16-latin-700.woff2'
];
self.addEventListener('install', function (event) {

+ 70
- 18
web_src/less/_base.less View File

@ -1,33 +1,85 @@
/* lato-regular - latin */
@font-face {
font-family: 'Lato';
src: url('../vendor/assets/lato-fonts/lato-regular.eot');
src: url('../vendor/assets/lato-fonts/lato-regular.eot?#iefix') format('embedded-opentype'), url('../vendor/assets/lato-fonts/lato-regular.woff2') format('woff2'), url('../vendor/assets/lato-fonts/lato-regular.woff') format('woff'), url('../vendor/assets/lato-fonts/lato-regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}
font-weight: 400;
src: url('../vendor/assets/lato-fonts/lato-v16-latin-regular.eot'); /* IE9 Compat Modes */
src:
local('Lato Regular'),
local('Lato-Regular'),
/* IE6-IE8 */
url('../vendor/assets/lato-fonts/lato-v16-latin-regular.eot?#iefix') format('embedded-opentype'),
/* Super Modern Browsers */
url('../vendor/assets/lato-fonts/lato-v16-latin-regular.woff2') format('woff2'),
/* Modern Browsers */
url('../vendor/assets/lato-fonts/lato-v16-latin-regular.woff') format('woff'),
/* Safari, Android, iOS */
url('../vendor/assets/lato-fonts/lato-v16-latin-regular.ttf') format('truetype'),
/* Legacy iOS */
url('../vendor/assets/lato-fonts/lato-v16-latin-regular.svg#Lato') format('svg');
}
/* lato-italic - latin */
@font-face {
font-family: 'Lato';
src: url('../vendor/assets/lato-fonts/lato-italic.eot');
src: url('../vendor/assets/lato-fonts/lato-italic.eot?#iefix') format('embedded-opentype'), url('../vendor/assets/lato-fonts/lato-italic.woff2') format('woff2'), url('../vendor/assets/lato-fonts/lato-italic.woff') format('woff'), url('../vendor/assets/lato-fonts/lato-italic.ttf') format('truetype');
font-weight: 400;
font-style: italic;
}
font-weight: 400;
src: url('../vendor/assets/lato-fonts/lato-v16-latin-italic.eot'); /* IE9 Compat Modes */
src:
local('Lato Italic'),
local('Lato-Italic'),
/* IE6-IE8 */
url('../vendor/assets/lato-fonts/lato-v16-latin-italic.eot?#iefix') format('embedded-opentype'),
/* Super Modern Browsers */
url('../vendor/assets/lato-fonts/lato-v16-latin-italic.woff2') format('woff2'),
/* Modern Browsers */
url('../vendor/assets/lato-fonts/lato-v16-latin-italic.woff') format('woff'),
/* Safari, Android, iOS */
url('../vendor/assets/lato-fonts/lato-v16-latin-italic.ttf') format('truetype'),
/* Legacy iOS */
url('../vendor/assets/lato-fonts/lato-v16-latin-italic.svg#Lato') format('svg');
}
/* lato-700 - latin */
@font-face {
font-family: 'Lato';
src: url('../vendor/assets/lato-fonts/lato-bold.eot');
src: url('../vendor/assets/lato-fonts/lato-bold.eot?#iefix') format('embedded-opentype'), url('../vendor/assets/lato-fonts/lato-bold.woff2') format('woff2'), url('../vendor/assets/lato-fonts/lato-bold.woff') format('woff'), url('../vendor/assets/lato-fonts/lato-bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
}
font-weight: 700;
src: url('../vendor/assets/lato-fonts/lato-v16-latin-700.eot'); /* IE9 Compat Modes */
src:
local('Lato Bold'),
local('Lato-Bold'),
/* IE6-IE8 */
url('../vendor/assets/lato-fonts/lato-v16-latin-700.eot?#iefix') format('embedded-opentype'),
/* Super Modern Browsers */
url('../vendor/assets/lato-fonts/lato-v16-latin-700.woff2') format('woff2'),
/* Modern Browsers */
url('../vendor/assets/lato-fonts/lato-v16-latin-700.woff') format('woff'),
/* Safari, Android, iOS */
url('../vendor/assets/lato-fonts/lato-v16-latin-700.ttf') format('truetype'),
/* Legacy iOS */
url('../vendor/assets/lato-fonts/lato-v16-latin-700.svg#Lato') format('svg');
}
/* lato-700italic - latin */
@font-face {
font-family: 'Lato';
src: url('../vendor/assets/lato-fonts/lato-bolditalic.eot');
src: url('../vendor/assets/lato-fonts/lato-bolditalic.eot?#iefix') format('embedded-opentype'), url('../vendor/assets/lato-fonts/lato-bolditalic.woff2') format('woff2'), url('../vendor/assets/lato-fonts/lato-bolditalic.woff') format('woff'), url('../vendor/assets/lato-fonts/lato-bolditalic.ttf') format('truetype');
font-weight: 700;
font-style: italic;
font-weight: 700;
src: url('../vendor/assets/lato-fonts/lato-v16-latin-700italic.eot'); /* IE9 Compat Modes */
src:
local('Lato Bold Italic'),
local('Lato-BoldItalic'),
/* IE6-IE8 */
url('../vendor/assets/lato-fonts/lato-v16-latin-700italic.eot?#iefix') format('embedded-opentype'),
/* Super Modern Browsers */
url('../vendor/assets/lato-fonts/lato-v16-latin-700italic.woff2') format('woff2'),
/* Modern Browsers */
url('../vendor/assets/lato-fonts/lato-v16-latin-700italic.woff') format('woff'),
/* Safari, Android, iOS */
url('../vendor/assets/lato-fonts/lato-v16-latin-700italic.ttf') format('truetype'),
/* Legacy iOS */
url('../vendor/assets/lato-fonts/lato-v16-latin-700italic.svg#Lato') format('svg');
}
@font-face {

Loading…
Cancel
Save