|
32 | 32 | $font-weight-700: false, // Bold |
33 | 33 | $font-weight-900: false, // Black |
34 | 34 | ){ |
35 | | - $font-path: '../../../src/fonts/'; |
| 35 | + $font-cdn-base: 'https://makasiini.hel.ninja/delivery/HelsinkiGrotesk'; |
36 | 36 |
|
37 | 37 | @if $all or ($font-weight-400) { |
38 | 38 | @font-face { |
39 | 39 | font-display: swap; |
40 | 40 | font-family: HelsinkiGrotesk; |
41 | 41 | font-style: normal; |
42 | 42 | font-weight: 400; |
43 | | - src: url('#{$font-path}565d73a693abe0776c801607ac28f0bf.woff') format('woff'); |
| 43 | + src: url('#{$font-cdn-base}/565d73a693abe0776c801607ac28f0bf.woff') format('woff'); |
44 | 44 | text-rendering: optimizelegibility; |
45 | 45 | } |
46 | 46 | } |
|
51 | 51 | font-family: HelsinkiGrotesk; |
52 | 52 | font-style: italic; |
53 | 53 | font-weight: 400; |
54 | | - src: url('#{$font-path}5bb29e3b7b1d3ef30121229bbe67c3e1.woff') format('woff'); |
| 54 | + src: url('#{$font-cdn-base}/5bb29e3b7b1d3ef30121229bbe67c3e1.woff') format('woff'); |
55 | 55 | text-rendering: optimizelegibility; |
56 | 56 | } |
57 | 57 | } |
|
62 | 62 | font-family: HelsinkiGrotesk; |
63 | 63 | font-style: normal; |
64 | 64 | font-weight: 500; |
65 | | - src: url('#{$font-path}7c46f288e8133b87e6b12b45dac71865.woff') format('woff'); |
| 65 | + src: url('#{$font-cdn-base}/7c46f288e8133b87e6b12b45dac71865.woff') format('woff'); |
66 | 66 | text-rendering: optimizelegibility; |
67 | 67 | } |
68 | 68 | } |
|
73 | 73 | font-family: HelsinkiGrotesk; |
74 | 74 | font-style: italic; |
75 | 75 | font-weight: 500; |
76 | | - src: url('#{$font-path}e62dc97e83a385e4d8cdc939cf1e4213.woff') format('woff'); |
| 76 | + src: url('#{$font-cdn-base}/e62dc97e83a385e4d8cdc939cf1e4213.woff') format('woff'); |
77 | 77 | text-rendering: optimizelegibility; |
78 | 78 | } |
79 | 79 | } |
|
84 | 84 | font-family: HelsinkiGrotesk; |
85 | 85 | font-style: normal; |
86 | 86 | font-weight: 700; |
87 | | - src: url('#{$font-path}533af26cf28d7660f24c2884d3c27eac.woff') format('woff'); |
| 87 | + src: url('#{$font-cdn-base}/533af26cf28d7660f24c2884d3c27eac.woff') format('woff'); |
88 | 88 | text-rendering: optimizelegibility; |
89 | 89 | } |
90 | 90 | } |
|
95 | 95 | font-family: HelsinkiGrotesk; |
96 | 96 | font-style: italic; |
97 | 97 | font-weight: 700; |
98 | | - src: url('#{$font-path}20d494430c87e15e194932b729d48270.woff') format('woff'); |
| 98 | + src: url('#{$font-cdn-base}/20d494430c87e15e194932b729d48270.woff') format('woff'); |
99 | 99 | text-rendering: optimizelegibility; |
100 | 100 | } |
101 | 101 | } |
|
106 | 106 | font-family: HelsinkiGrotesk; |
107 | 107 | font-style: normal; |
108 | 108 | font-weight: 900; |
109 | | - src: url('#{$font-path}a50a1bd245ce63abcc0d1da80ff790d2.woff') format('woff'); |
| 109 | + src: url('#{$font-cdn-base}/a50a1bd245ce63abcc0d1da80ff790d2.woff') format('woff'); |
110 | 110 | text-rendering: optimizelegibility; |
111 | 111 | } |
112 | 112 | } |
|
117 | 117 | font-family: HelsinkiGrotesk; |
118 | 118 | font-style: italic; |
119 | 119 | font-weight: 900; |
120 | | - src: url('#{$font-path}62a1781d8b396fbb025b0552cf6304d2.woff') format('woff'); |
| 120 | + src: url('#{$font-cdn-base}/62a1781d8b396fbb025b0552cf6304d2.woff') format('woff'); |
121 | 121 | text-rendering: optimizelegibility; |
122 | 122 | } |
123 | 123 | } |
|
0 commit comments