Skip to content

Commit

Permalink
Merge pull request #490 from kinow/assets-diet
Browse files Browse the repository at this point in the history
Reduce the size of produced artefacts
  • Loading branch information
oliver-sanders authored Sep 22, 2020
2 parents 6e22b91 + 420ba13 commit 4d7f453
Show file tree
Hide file tree
Showing 63 changed files with 148 additions and 3,974 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@cypress/code-coverage": "^3.8.1",
"@cypress/webpack-preprocessor": "^5.4.5",
"@mdi/font": "^5.5.55",
"@mdi/js": "^5.5.55",
"@vue/babel-preset-app": "^4.5.6",
"@vue/cli-plugin-babel": "^4.5.6",
"@vue/cli-plugin-e2e-cypress": "^4.5.6",
Expand Down
84 changes: 12 additions & 72 deletions public/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,165 +20,105 @@
font-family: 'Roboto';
font-style: normal;
font-weight: 100;
src: url('fonts/roboto-v20-latin-100.eot'); /* IE9 Compat Modes */
src: local('Roboto Thin'), local('Roboto-Thin'),
url('fonts/roboto-v20-latin-100.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('fonts/roboto-v20-latin-100.woff2') format('woff2'), /* Super Modern Browsers */
url('fonts/roboto-v20-latin-100.woff') format('woff'), /* Modern Browsers */
url('fonts/roboto-v20-latin-100.ttf') format('truetype'), /* Safari, Android, iOS */
url('fonts/roboto-v20-latin-100.svg#Roboto') format('svg'); /* Legacy iOS */
url('fonts/roboto-v20-latin-100.woff') format('woff') /* Modern Browsers */
}

/* roboto-100italic - latin */
@font-face {
font-family: 'Roboto';
font-style: italic;
font-weight: 100;
src: url('fonts/roboto-v20-latin-100italic.eot'); /* IE9 Compat Modes */
src: local('Roboto Thin Italic'), local('Roboto-ThinItalic'),
url('fonts/roboto-v20-latin-100italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('fonts/roboto-v20-latin-100italic.woff2') format('woff2'), /* Super Modern Browsers */
url('fonts/roboto-v20-latin-100italic.woff') format('woff'), /* Modern Browsers */
url('fonts/roboto-v20-latin-100italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('fonts/roboto-v20-latin-100italic.svg#Roboto') format('svg'); /* Legacy iOS */
url('fonts/roboto-v20-latin-100italic.woff') format('woff') /* Modern Browsers */
}

/* roboto-300 - latin */
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 300;
src: url('fonts/roboto-v20-latin-300.eot'); /* IE9 Compat Modes */
src: local('Roboto Light'), local('Roboto-Light'),
url('fonts/roboto-v20-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('fonts/roboto-v20-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
url('fonts/roboto-v20-latin-300.woff') format('woff'), /* Modern Browsers */
url('fonts/roboto-v20-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
url('fonts/roboto-v20-latin-300.svg#Roboto') format('svg'); /* Legacy iOS */
url('fonts/roboto-v20-latin-300.woff') format('woff') /* Modern Browsers */
}

/* roboto-300italic - latin */
@font-face {
font-family: 'Roboto';
font-style: italic;
font-weight: 300;
src: url('fonts/roboto-v20-latin-300italic.eot'); /* IE9 Compat Modes */
src: local('Roboto Light Italic'), local('Roboto-LightItalic'),
url('fonts/roboto-v20-latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('fonts/roboto-v20-latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */
url('fonts/roboto-v20-latin-300italic.woff') format('woff'), /* Modern Browsers */
url('fonts/roboto-v20-latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('fonts/roboto-v20-latin-300italic.svg#Roboto') format('svg'); /* Legacy iOS */
url('fonts/roboto-v20-latin-300italic.woff') format('woff') /* Modern Browsers */
}

/* roboto-regular - latin */
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: url('fonts/roboto-v20-latin-regular.eot'); /* IE9 Compat Modes */
src: local('Roboto'), local('Roboto-Regular'),
url('fonts/roboto-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('fonts/roboto-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('fonts/roboto-v20-latin-regular.woff') format('woff'), /* Modern Browsers */
url('fonts/roboto-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('fonts/roboto-v20-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
url('fonts/roboto-v20-latin-regular.woff') format('woff') /* Modern Browsers */
}

/* roboto-italic - latin */
@font-face {
font-family: 'Roboto';
font-style: italic;
font-weight: 400;
src: url('fonts/roboto-v20-latin-italic.eot'); /* IE9 Compat Modes */
src: local('Roboto Italic'), local('Roboto-Italic'),
url('fonts/roboto-v20-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('fonts/roboto-v20-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
url('fonts/roboto-v20-latin-italic.woff') format('woff'), /* Modern Browsers */
url('fonts/roboto-v20-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('fonts/roboto-v20-latin-italic.svg#Roboto') format('svg'); /* Legacy iOS */
url('fonts/roboto-v20-latin-italic.woff') format('woff') /* Modern Browsers */
}

/* roboto-500 - latin */
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 500;
src: url('fonts/roboto-v20-latin-500.eot'); /* IE9 Compat Modes */
src: local('Roboto Medium'), local('Roboto-Medium'),
url('fonts/roboto-v20-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('fonts/roboto-v20-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
url('fonts/roboto-v20-latin-500.woff') format('woff'), /* Modern Browsers */
url('fonts/roboto-v20-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
url('fonts/roboto-v20-latin-500.svg#Roboto') format('svg'); /* Legacy iOS */
url('fonts/roboto-v20-latin-500.woff') format('woff') /* Modern Browsers */
}

/* roboto-500italic - latin */
@font-face {
font-family: 'Roboto';
font-style: italic;
font-weight: 500;
src: url('fonts/roboto-v20-latin-500italic.eot'); /* IE9 Compat Modes */
src: local('Roboto Medium Italic'), local('Roboto-MediumItalic'),
url('fonts/roboto-v20-latin-500italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('fonts/roboto-v20-latin-500italic.woff2') format('woff2'), /* Super Modern Browsers */
url('fonts/roboto-v20-latin-500italic.woff') format('woff'), /* Modern Browsers */
url('fonts/roboto-v20-latin-500italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('fonts/roboto-v20-latin-500italic.svg#Roboto') format('svg'); /* Legacy iOS */
url('fonts/roboto-v20-latin-500italic.woff') format('woff') /* Modern Browsers */
}

/* roboto-700 - latin */
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 700;
src: url('fonts/roboto-v20-latin-700.eot'); /* IE9 Compat Modes */
src: local('Roboto Bold'), local('Roboto-Bold'),
url('fonts/roboto-v20-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('fonts/roboto-v20-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
url('fonts/roboto-v20-latin-700.woff') format('woff'), /* Modern Browsers */
url('fonts/roboto-v20-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
url('fonts/roboto-v20-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
url('fonts/roboto-v20-latin-700.woff') format('woff') /* Modern Browsers */
}

/* roboto-700italic - latin */
@font-face {
font-family: 'Roboto';
font-style: italic;
font-weight: 700;
src: url('fonts/roboto-v20-latin-700italic.eot'); /* IE9 Compat Modes */
src: local('Roboto Bold Italic'), local('Roboto-BoldItalic'),
url('fonts/roboto-v20-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('fonts/roboto-v20-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
url('fonts/roboto-v20-latin-700italic.woff') format('woff'), /* Modern Browsers */
url('fonts/roboto-v20-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('fonts/roboto-v20-latin-700italic.svg#Roboto') format('svg'); /* Legacy iOS */
url('fonts/roboto-v20-latin-700italic.woff') format('woff') /* Modern Browsers */
}

/* roboto-900 - latin */
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 900;
src: url('fonts/roboto-v20-latin-900.eot'); /* IE9 Compat Modes */
src: local('Roboto Black'), local('Roboto-Black'),
url('fonts/roboto-v20-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('fonts/roboto-v20-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
url('fonts/roboto-v20-latin-900.woff') format('woff'), /* Modern Browsers */
url('fonts/roboto-v20-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
url('fonts/roboto-v20-latin-900.svg#Roboto') format('svg'); /* Legacy iOS */
url('fonts/roboto-v20-latin-900.woff') format('woff') /* Modern Browsers */
}

/* roboto-900italic - latin */
@font-face {
font-family: 'Roboto';
font-style: italic;
font-weight: 900;
src: url('fonts/roboto-v20-latin-900italic.eot'); /* IE9 Compat Modes */
src: local('Roboto Black Italic'), local('Roboto-BlackItalic'),
url('fonts/roboto-v20-latin-900italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('fonts/roboto-v20-latin-900italic.woff2') format('woff2'), /* Super Modern Browsers */
url('fonts/roboto-v20-latin-900italic.woff') format('woff'), /* Modern Browsers */
url('fonts/roboto-v20-latin-900italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('fonts/roboto-v20-latin-900italic.svg#Roboto') format('svg'); /* Legacy iOS */
url('fonts/roboto-v20-latin-900italic.woff') format('woff') /* Modern Browsers */
}
Binary file removed public/fonts/roboto-v20-latin-100.eot
Binary file not shown.
Loading

0 comments on commit 4d7f453

Please sign in to comment.