Browse code

Use Roboto Slab as secondary font

Martin Filipovic Hinrichs authored on01/02/2026 18:54:28
Showing4 changed files
... ...
@@ -12,7 +12,7 @@ $font-weight-normal: 400;
12 12
 $font-weight-bold: 500;
13 13
 
14 14
 $font-primary: 'Roboto', sans-serif;
15
-$font-secondary: 'Noto Serif', sans-serif;
15
+$font-secondary: 'Roboto Slab', sans-serif;
16 16
 $font-family-sans-serif: $font-primary;
17 17
 
18 18
 // Color system
... ...
@@ -34,6 +34,26 @@
34 34
   src: url('/bundles/weinmanufakturtheme/fonts/roboto-v30-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
35 35
 }
36 36
 
37
+/* roboto slab 400 - latin-ext */
38
+@font-face {
39
+  font-family: 'Roboto Slab';
40
+  font-style: normal;
41
+  font-weight: 400;
42
+  font-display: swap;
43
+  src: url('/bundles/weinmanufakturtheme/fonts/roboto-slab-latin-ext-400.woff2') format('woff2');
44
+  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
45
+}
46
+/* roboto slab 400 - latin */
47
+@font-face {
48
+  font-family: 'Roboto Slab';
49
+  font-style: normal;
50
+  font-weight: 400;
51
+  font-display: swap;
52
+  src: url('/bundles/weinmanufakturtheme/fonts/roboto-slab-latin-400.woff2') format('woff2');
53
+  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
54
+}
55
+
56
+
37 57
 // Typo
38 58
 i[class*="fa-"] {
39 59
   font-weight: $font-weight-normal;
40 60
new file mode 100644
41 61
Binary files /dev/null and b/src/Resources/public/fonts/roboto-slab-latin-400.woff2 differ
42 62
new file mode 100644
43 63
Binary files /dev/null and b/src/Resources/public/fonts/roboto-slab-latin-ext-400.woff2 differ