1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-22 01:36:55 +01:00

switch to Noto Sans, kick out Fira

This commit is contained in:
Matthias Kretschmann 2016-02-04 15:08:40 +01:00
parent b12cb56412
commit fb7bf7199b
6 changed files with 9 additions and 14 deletions

Binary file not shown.

Binary file not shown.

View File

@ -3,13 +3,11 @@
// ---
// bigchain.io
//
@font-face {
font-family: 'Fira Sans';
src: local('Fira Sans Regular'),
url('/assets/fonts/FiraSans-Regular.woff2') format('woff2'),
url('/assets/fonts/FiraSans-Regular.woff') format('woff'),
url('/assets/fonts/FiraSans-Regular.ttf') format('truetype');
font-family: 'Noto Sans';
src: local('Noto Sans Regular'),
url('/assets/fonts/NotoSans-Regular.woff') format('woff'),
url('/assets/fonts/NotoSans-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}

View File

@ -30,7 +30,7 @@ $brand-danger: #c9726a !default;
//
// Typography
//
$font-family-fira: 'Fira Sans', sans-serif !default;
$font-family-noto: 'Noto Sans', 'Helvetica Neue', 'Arial', sans-serif !default;
$font-family-avenir: 'Avenir Next', 'Helvetica Neue', 'Arial', sans-serif !default;
$font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace !default;
$font-family-base: $font-family-avenir !default;
@ -57,7 +57,7 @@ $font-size-h6: 0.85rem !default;
$line-height: 1.5 !default;
$headings-font-family: $font-family-fira !default;
$headings-font-family: $font-family-noto !default;
$headings-font-weight: $font-weight-normal !default;
$headings-line-height: 1.2 !default;
$headings-color: $brand-main-blue-light !default;
@ -126,7 +126,7 @@ $pre-scrollable-max-height: 340px !default;
//
// Buttons
//
$btn-font-family: $font-family-avenir;
$btn-font-family: $font-family-noto;
$btn-font-weight: $font-weight-normal !default;
$btn-padding-x: 2rem !default;

View File

@ -215,9 +215,7 @@ gulp.task('images', function() {
// Copy Fonts
//
gulp.task('fonts', function() {
return gulp.src([
'./node_modules/fira/**/FiraSans-Regular.{eot,ttf,woff,woff2}'
])
return gulp.src(SRC + '_assets/fonts/**/*')
.pipe($.rename({dirname: ''}))
.pipe(gulp.dest(DIST + 'assets/fonts/'));
});

View File

@ -18,8 +18,7 @@
"normalize-opentype.css": ">=0.2.4",
"jquery": "^2.1.4",
"parsleyjs": "^2.0.7",
"svg4everybody": "^2.0.0",
"fira": "mozilla/Fira"
"svg4everybody": "^2.0.0"
},
"devDependencies": {
"browser-sync": ">=2.10.0",