Skip to content

Commit

Permalink
Remove woff versions of poppins / open-sans fonts as woff2 is support…
Browse files Browse the repository at this point in the history
…ed in all browsers we support. Also remove unused weights and base64.
  • Loading branch information
volkanceylan committed Sep 1, 2024
1 parent d0271ca commit 84f6fea
Show file tree
Hide file tree
Showing 15 changed files with 6 additions and 54 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
24 changes: 0 additions & 24 deletions src/Serenity.Assets/wwwroot/fonts/open-sans/open-sans-base64.css

This file was deleted.

6 changes: 3 additions & 3 deletions src/Serenity.Assets/wwwroot/fonts/open-sans/open-sans.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: local(''), url('open-sans-400.woff2') format('woff2'), url('open-sans-400.woff') format('woff');
src: local(''), url('open-sans-400.woff2') format('woff2');
font-display: swap;
}
/* open-sans-500 - latin-ext_latin */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 500;
src: local(''), url('open-sans-500.woff2') format('woff2'), url('open-sans-500.woff') format('woff');
src: local(''), url('open-sans-500.woff2') format('woff2');
font-display: swap;
}
/* open-sans-600 - latin-ext_latin */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
src: local(''), url('open-sans-600.woff2') format('woff2'), url('open-sans-600.woff') format('woff');
src: local(''), url('open-sans-600.woff2') format('woff2');
font-display: swap;
}
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.
24 changes: 0 additions & 24 deletions src/Serenity.Assets/wwwroot/fonts/poppins/poppins-base64.css

This file was deleted.

6 changes: 3 additions & 3 deletions src/Serenity.Assets/wwwroot/fonts/poppins/poppins.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@
font-family: 'Poppins';
font-style: normal;
font-weight: 400;
src: local(''), url('poppins-400.woff2') format('woff2'), url('poppins-400.woff') format('woff');
src: local(''), url('poppins-400.woff2') format('woff2');
font-display: swap;
}
/* poppins-500 - latin-ext_latin */
@font-face {
font-family: 'Poppins';
font-style: normal;
font-weight: 500;
src: local(''), url('poppins-500.woff2') format('woff2'), url('poppins-500.woff') format('woff');
src: local(''), url('poppins-500.woff2') format('woff2');
font-display: swap;
}
/* poppins-600 - latin-ext_latin */
@font-face {
font-family: 'Poppins';
font-style: normal;
font-weight: 600;
src: local(''), url('poppins-600.woff2') format('woff2'), url('poppins-600.woff') format('woff');
src: local(''), url('poppins-600.woff2') format('woff2');
font-display: swap;
}

0 comments on commit 84f6fea

Please sign in to comment.