[Minor] Replaced default font with ubuntu
This commit is contained in:
parent
4c525f9364
commit
e67de5bdc9
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -18,10 +18,15 @@
|
|||
|
||||
<style>
|
||||
|
||||
@font-face {
|
||||
font-family: 'Ubuntu-local';
|
||||
src: url(font/Ubuntu-Regular.ttf);
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: 'Roboto', 'Noto', sans-serif;
|
||||
font-family: 'Ubuntu-local', 'Roboto', 'Noto', sans-serif;
|
||||
font-size: 14px;
|
||||
background-color: #fafafa;
|
||||
}
|
||||
|
|
|
@ -20,6 +20,11 @@ gulp.task('copy', function () {
|
|||
])
|
||||
.pipe(gulp.dest('www/'));
|
||||
|
||||
var font = gulp.src([
|
||||
'app/font/*'
|
||||
])
|
||||
.pipe(gulp.dest('www/font/'));
|
||||
|
||||
var imgs = gulp.src([
|
||||
'app/img/*.svg', 'app/img/*.ico', 'app/img/*.png', 'app/img/*.gif'
|
||||
])
|
||||
|
@ -40,7 +45,7 @@ gulp.task('copy', function () {
|
|||
])
|
||||
.pipe(gulp.dest('js'));
|
||||
|
||||
return merge(svg, imgs, locales, app_files, js)
|
||||
return merge(svg, font, imgs, locales, app_files, js)
|
||||
.pipe($.size({title: 'Copy app files to dist dir:'}));
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue