Remove TTF fonts
This commit is contained in:
parent
494dbc4cf5
commit
f5de115534
File diff suppressed because one or more lines are too long
@ -64,13 +64,6 @@ function fonts() {
|
||||
return gulp.src('src/font/*(*.woff|*.woff2)').pipe(gulp.dest('dist/font'));
|
||||
}
|
||||
|
||||
function compressTTF() {
|
||||
return gulp
|
||||
.src(['src/font/*.ttf'])
|
||||
.pipe(brotli({ quality: 11 }))
|
||||
.pipe(gulp.dest('dist/font'));
|
||||
}
|
||||
|
||||
function compress() {
|
||||
return gulp
|
||||
.src(['dist/!(*.toml)'])
|
||||
@ -127,7 +120,7 @@ function serve() {
|
||||
});
|
||||
}
|
||||
|
||||
const assets = gulp.parallel(js, config, fonts, compressTTF);
|
||||
const assets = gulp.parallel(js, config, fonts);
|
||||
|
||||
const build = gulp.series(clean, assets, compress, cleanup, bindata);
|
||||
|
||||
|
3
client/src/css/fontello.css
vendored
3
client/src/css/fontello.css
vendored
@ -1,8 +1,7 @@
|
||||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('/font/fontello.woff2?48901973') format('woff2'),
|
||||
url('/font/fontello.woff?48901973') format('woff'),
|
||||
url('/font/fontello.ttf?48901973') format('truetype');
|
||||
url('/font/fontello.woff?48901973') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
@ -4,8 +4,7 @@
|
||||
font-weight: 400;
|
||||
src: local('Montserrat-Regular'),
|
||||
url(/font/Montserrat-Regular.woff2) format('woff2'),
|
||||
url(/font/Montserrat-Regular.woff) format('woff'),
|
||||
url(/font/Montserrat-Regular.ttf) format('truetype');
|
||||
url(/font/Montserrat-Regular.woff) format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@ -14,8 +13,7 @@
|
||||
font-weight: 700;
|
||||
src: local('Montserrat-Bold'),
|
||||
url(/font/Montserrat-Bold.woff2) format('woff2'),
|
||||
url(/font/Montserrat-Bold.woff) format('woff'),
|
||||
url(/font/Montserrat-Bold.ttf) format('truetype');
|
||||
url(/font/Montserrat-Bold.woff) format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@ -24,8 +22,7 @@
|
||||
font-weight: 400;
|
||||
src: local('Roboto Mono'), local('RobotoMono-Regular'),
|
||||
url(/font/RobotoMono-Regular.woff2) format('woff2'),
|
||||
url(/font/RobotoMono-Regular.woff) format('woff'),
|
||||
url(/font/RobotoMono-Regular.ttf) format('truetype');
|
||||
url(/font/RobotoMono-Regular.woff) format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@ -34,6 +31,5 @@
|
||||
font-weight: 700;
|
||||
src: local('Roboto Mono Bold'), local('RobotoMono-Bold'),
|
||||
url(/font/RobotoMono-Bold.woff2) format('woff2'),
|
||||
url(/font/RobotoMono-Bold.woff) format('woff'),
|
||||
url(/font/RobotoMono-Bold.ttf) format('truetype');
|
||||
url(/font/RobotoMono-Bold.woff) format('woff');
|
||||
}
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user