Fonts demonstration
by George Y
HTML
<p class="regular">
1. This is the Aeonik Pro Regular typeface with the correct font weight set (600).
</p>
<p class="bold">
2. This is the Aeonik Pro Bold typeface with the correct font weight set (700). This is the recommended way for using a bold font.
</p>
<p class="faux-bold">
3. This is the Aeonik Pro Bold typeface but with incorrect font-weight set to normal/600. The is the so called faux style and should be avoided / not recommended.
</p>
See how this page renders in Safari Browser.
SCSS
@font-face {
font-family: AeonikPro-Light;
src: url(https://assets.hellasdirect.gr/common/assets/5.11.33/fonts/aeonik/AeonikPro-Light.woff2) format("woff2"), url(https://assets.hellasdirect.gr/common/assets/5.11.33/fonts/aeonik/AeonikPro-Light.woff) format("woff");
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: AeonikPro-LightItalic;
src: url(https://assets.hellasdirect.gr/common/assets/5.11.33/fonts/aeonik/AeonikPro-LightItalic.woff2) format("woff2"), url(https://assets.hellasdirect.gr/common/assets/5.11.33/fonts/aeonik/AeonikPro-LightItalic.woff) format("woff");
font-weight: 300;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: AeonikPro-Regular;
src: url(https://assets.hellasdirect.gr/common/assets/5.11.33/fonts/aeonik/AeonikPro-Regular.woff2) format("woff2"), url(https://assets.hellasdirect.gr/common/assets/5.11.33/fonts/aeonik/AeonikPro-Regular.woff) format("woff");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: AeonikPro-RegularItalic;
src: url(https://assets.hellasdirect.gr/common/assets/5.11.33/fonts/aeonik/AeonikPro-RegularItalic.woff2) format("woff2"), url(https://assets.hellasdirect.gr/common/assets/5.11.33/fonts/aeonik/AeonikPro-RegularItalic.woff) format("woff");
font-weight: 400;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: AeonikPro-Bold;
src: url(https://assets.hellasdirect.gr/common/assets/5.11.33/fonts/aeonik/AeonikPro-Bold.woff2) format("woff2"), url(https://assets.hellasdirect.gr/common/assets/5.11.33/fonts/aeonik/AeonikPro-Bold.woff) format("woff");
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: AeonikPro-BoldItalic;
src: url(https://assets.hellasdirect.gr/common/assets/5.11.33/fonts/aeonik/AeonikPro-BoldItalic.woff2) format("woff2"),...