Skip to content

Commit b7da972

Browse files
authored
Merge pull request #14 from fipguide/feat/lennart
fix: reduce icon set size
2 parents 289009c + 7591fdd commit b7da972

File tree

7 files changed

+15
-26
lines changed

7 files changed

+15
-26
lines changed

assets/sass/fonts.scss

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -22,27 +22,6 @@
2222
src: url(/fonts/Roboto-Italic-VariableFont_wdth,wght.ttf) format('woff2');
2323
}
2424

25-
.material-symbols-rounded {
26-
font-family: "Material Symbols Rounded";
27-
font-weight: normal;
28-
font-style: normal;
29-
font-size: 24px;
30-
line-height: 1;
31-
letter-spacing: normal;
32-
text-transform: none;
33-
display: inline-block;
34-
white-space: nowrap;
35-
word-wrap: normal;
36-
direction: ltr;
37-
-webkit-font-feature-settings: 'liga';
38-
-webkit-font-smoothing: antialiased;
39-
font-variation-settings:
40-
'FILL' 0,
41-
'wght' 400,
42-
'GRAD' 0,
43-
'opsz' 24;
44-
}
45-
4625
body {
4726
font-family: "Roboto",Arial,Helvetica,sans-serif;
4827
}

assets/sass/main.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
@import "teaser.scss";
88
@import "footer.scss";
99
@import "content.scss";
10-
@import "textHighlight.scss";
10+
@import "textHighlight.scss";
11+
@import 'node_modules/@material-design-icons/font/round.scss';

hugo.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ module:
1919
mounts:
2020
- source: "node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"
2121
target: "assets/js/bootstrap.bundle.min.js"
22+
- source: "node_modules/@material-design-icons/font/material-icons-round.woff2"
23+
target: "static/css/material-icons-round.woff2"
2224
- source: "assets"
2325
target: "assets"
2426
- source: "static"

layouts/partials/menu.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@
1111
<div class="o-header__nav container">
1212
<button class="o-nav__menu-button" title="Menü öffnen" aria-expanded="false" aria-haspopup="true">
1313
<span>{{ T "menu-open" }}</span>
14-
<i class="material-symbols-rounded" aria-hidden="true">menu</i>
14+
<i class="material-icons-round" aria-hidden="true">menu</i>
1515
</button>
1616
<nav>
1717
<button class="o-nav__close-button" title="Menü schließen">
1818
<span>{{ T "menu-close" }}</span>
19-
<i class="material-symbols-rounded" aria-hidden="true">close</i>
19+
<i class="material-icons-round" aria-hidden="true">close</i>
2020
</button>
2121
<menu>
2222
<li class="o-header__item">
2323
<button class="o-header__expand-button" aria-haspopup="true" aria-expanded="false">
2424
<span>{{ T "countryselection" }}</span>
25-
<i class="material-symbols-rounded" aria-hidden="true">keyboard_arrow_down</i>
25+
<i class="material-icons-round" aria-hidden="true">keyboard_arrow_down</i>
2626
</button>
2727
<h2 id="menu-country-list">{{ T "country" }}</h2>
2828
<menu class="o-header__item-countries" aria-describedby="menu-country-list">

package-lock.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"description": "",
1919
"dependencies": {
2020
"bootstrap": "^5.3.3",
21-
"pagefind": "^1.3.0"
21+
"pagefind": "^1.3.0",
22+
"@material-design-icons/font": "^0.14.15"
2223
}
2324
}
-12.8 MB
Binary file not shown.

0 commit comments

Comments
 (0)