[Minor] Replaced default font with ubuntu

This commit is contained in:
Robert von Burg 2022-05-12 08:42:57 +02:00
parent 4c525f9364
commit e67de5bdc9
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
10 changed files with 12 additions and 2 deletions

View File

@ -18,10 +18,15 @@
<style> <style>
@font-face {
font-family: 'Ubuntu-local';
src: url(font/Ubuntu-Regular.ttf);
}
body { body {
margin: 0; margin: 0;
padding: 0; padding: 0;
font-family: 'Roboto', 'Noto', sans-serif; font-family: 'Ubuntu-local', 'Roboto', 'Noto', sans-serif;
font-size: 14px; font-size: 14px;
background-color: #fafafa; background-color: #fafafa;
} }

View File

@ -20,6 +20,11 @@ gulp.task('copy', function () {
]) ])
.pipe(gulp.dest('www/')); .pipe(gulp.dest('www/'));
var font = gulp.src([
'app/font/*'
])
.pipe(gulp.dest('www/font/'));
var imgs = gulp.src([ var imgs = gulp.src([
'app/img/*.svg', 'app/img/*.ico', 'app/img/*.png', 'app/img/*.gif' 'app/img/*.svg', 'app/img/*.ico', 'app/img/*.png', 'app/img/*.gif'
]) ])
@ -40,7 +45,7 @@ gulp.task('copy', function () {
]) ])
.pipe(gulp.dest('js')); .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:'})); .pipe($.size({title: 'Copy app files to dist dir:'}));
}); });