Drop WOFF support

Drop WOFF support since almost all browsers that support WOFF support WOFF2
This commit is contained in:
alistair3149 2020-08-07 00:32:32 -04:00
parent 143ecb98e7
commit 72dd4ca25b
5 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@
@font-face { @font-face {
font-family: 'Roboto'; font-family: 'Roboto';
src: local( 'Roboto' ), local( 'Roboto-Regular' ), url( '@{font-directory}Roboto-Regular.woff2' ) format( 'woff2' ), url( '@{font-directory}Roboto-Regular.woff' ) format( 'woff' ); src: local( 'Roboto' ), local( 'Roboto-Regular' ), url( '@{font-directory}Roboto-Regular.woff2' ) format( 'woff2' );
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
font-display: swap; font-display: swap;
@ -13,7 +13,7 @@
@font-face { @font-face {
font-family: 'Roboto'; font-family: 'Roboto';
src: local( 'Roboto Bold' ), local( 'Roboto-Bold' ), url( '@{font-directory}Roboto-Bold.woff2' ) format( 'woff2' ), url( '@{font-directory}Roboto-Bold.woff' ) format( 'woff' ); src: local( 'Roboto Bold' ), local( 'Roboto-Bold' ), url( '@{font-directory}Roboto-Bold.woff2' ) format( 'woff2' );
font-weight: bold; font-weight: bold;
font-style: normal; font-style: normal;
font-display: swap; font-display: swap;
@ -21,7 +21,7 @@
@font-face { @font-face {
font-family: 'Roboto'; font-family: 'Roboto';
src: local( 'Roboto Italic' ), local( 'Roboto-Italic' ), url( '@{font-directory}Roboto-Italic.woff2' ) format( 'woff2' ), url( '@{font-directory}Roboto-Italic.woff' ) format( 'woff' ); src: local( 'Roboto Italic' ), local( 'Roboto-Italic' ), url( '@{font-directory}Roboto-Italic.woff2' ) format( 'woff2' );
font-weight: normal; font-weight: normal;
font-style: italic; font-style: italic;
font-display: swap; font-display: swap;
@ -29,7 +29,7 @@
@font-face { @font-face {
font-family: 'Roboto'; font-family: 'Roboto';
src: local( 'Roboto Bold Italic' ), local( 'Roboto-BoldItalic' ), url( '@{font-directory}Roboto-BoldItalic.woff2' ) format( 'woff2' ), url( '@{font-directory}Roboto-BoldItalic.woff' ) format( 'woff' ); src: local( 'Roboto Bold Italic' ), local( 'Roboto-BoldItalic' ), url( '@{font-directory}Roboto-BoldItalic.woff2' ) format( 'woff2' );
font-weight: bold; font-weight: bold;
font-style: italic; font-style: italic;
font-display: swap; font-display: swap;