Skip to content

Commit ec5c5c2

Browse files
committed
🍱(frontend) update material-icons font
We don't use the material-icons font from ui-kit anymore, we need to import it directly in order to use both the outlined and filled variants.
1 parent f41c59e commit ec5c5c2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/frontend/apps/impress/src/pages/globals.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@import url('../cunningham/cunningham-style.css');
22
@import url('@fontsource/material-icons');
3+
@import url('@fontsource/material-icons-outlined');
34

45
body {
56
margin: 0;
@@ -43,8 +44,9 @@ main ::-webkit-scrollbar-thumb:hover,
4344
outline: inherit;
4445
}
4546

47+
.material-icons,
4648
.material-icons-filled {
47-
font-family: 'Material Icons', sans-serif;
49+
font-family: 'Material Icons Outlined', 'Material Icons', sans-serif;
4850
font-weight: normal;
4951
font-style: normal;
5052
font-size: 24px; /* Preferred icon size */
@@ -69,6 +71,10 @@ main ::-webkit-scrollbar-thumb:hover,
6971
font-feature-settings: 'liga';
7072
}
7173

74+
.material-icons-filled {
75+
font-family: 'Material Icons', sans-serif;
76+
}
77+
7278
[data-nextjs-dialog-overlay] {
7379
display: none !important;
7480
}

0 commit comments

Comments
 (0)