Skip to content

Commit d36ed9c

Browse files
committed
feat: add HelsinkiGroteskPro variable font
Refs: PT-2015
1 parent 65ca8bc commit d36ed9c

1 file changed

Lines changed: 78 additions & 0 deletions

File tree

src/styles/fonts.scss

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,84 @@
8282
text-rendering: optimizeLegibility;
8383
}
8484

85+
/*
86+
* HelsinkiGroteskPro variable font (font file served from CDN).
87+
* Regular (400), Medium (500), Bold (700), Black (900), each normal and italic.
88+
* Font axes (fvar): wght 200–900, ital 0–1.
89+
*/
90+
@font-face {
91+
font-display: swap;
92+
font-family: HelsinkiGroteskPro;
93+
font-style: normal;
94+
font-weight: 400;
95+
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
96+
format('woff2');
97+
text-rendering: optimizeLegibility;
98+
}
99+
@font-face {
100+
font-display: swap;
101+
font-family: HelsinkiGroteskPro;
102+
font-style: italic;
103+
font-weight: 400;
104+
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
105+
format('woff2');
106+
text-rendering: optimizeLegibility;
107+
}
108+
@font-face {
109+
font-display: swap;
110+
font-family: HelsinkiGroteskPro;
111+
font-style: normal;
112+
font-weight: 500;
113+
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
114+
format('woff2');
115+
text-rendering: optimizeLegibility;
116+
}
117+
@font-face {
118+
font-display: swap;
119+
font-family: HelsinkiGroteskPro;
120+
font-style: italic;
121+
font-weight: 500;
122+
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
123+
format('woff2');
124+
text-rendering: optimizeLegibility;
125+
}
126+
@font-face {
127+
font-display: swap;
128+
font-family: HelsinkiGroteskPro;
129+
font-style: normal;
130+
font-weight: 700;
131+
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
132+
format('woff2');
133+
text-rendering: optimizeLegibility;
134+
}
135+
@font-face {
136+
font-display: swap;
137+
font-family: HelsinkiGroteskPro;
138+
font-style: italic;
139+
font-weight: 700;
140+
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
141+
format('woff2');
142+
text-rendering: optimizeLegibility;
143+
}
144+
@font-face {
145+
font-display: swap;
146+
font-family: HelsinkiGroteskPro;
147+
font-style: normal;
148+
font-weight: 900;
149+
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
150+
format('woff2');
151+
text-rendering: optimizeLegibility;
152+
}
153+
@font-face {
154+
font-display: swap;
155+
font-family: HelsinkiGroteskPro;
156+
font-style: italic;
157+
font-weight: 900;
158+
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
159+
format('woff2');
160+
text-rendering: optimizeLegibility;
161+
}
162+
85163
$hel-grotesk: 'HelsinkiGrotesk', Arial, -apple-system, BlinkMacSystemFont,
86164
'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
87165
'Droid Sans', 'Helvetica Neue', sans-serif;

0 commit comments

Comments
 (0)