Skip to content

Commit

Permalink
feat: use the correct font for material symbols
Browse files Browse the repository at this point in the history
also use woff2 instead of otf
  • Loading branch information
jahow committed May 21, 2024
1 parent c4b41b4 commit 04eb977
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions assets-common/css/materials-symbols-outline.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
/* downloaded from https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200 */

/* fallback */
@font-face {
font-family: 'MaterialSymbolsOutlined';
font-family: 'Material Symbols Outlined';
font-style: normal;
font-weight: 100700;
src: url(../fonts/MaterialIconsOutlined-Regular.otf) format('opentype');
font-weight: 100 700;
src: url(../fonts/MaterialSymbolsOutlined.woff2) format('woff2');
}

.material-symbols-outlined {
font-family: 'MaterialSymbolsOutlined';
font-family: 'Material Symbols Outlined';
font-weight: normal;
font-style: normal;
font-size: 24px;
Expand Down
Binary file not shown.
Binary file added assets-common/fonts/MaterialSymbolsOutlined.woff2
Binary file not shown.

0 comments on commit 04eb977

Please sign in to comment.