Merge pull request #179 from reuters-graphics/dotcom-font-aliases

Dotcom font aliases
This commit is contained in:
Jon McClure 2024-09-24 12:34:25 +01:00 committed by GitHub
commit b3171955ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
'@reuters-graphics/graphics-components': patch
---
Adds Dotcom Knowledge font aliases needed for ads

View file

@ -83,6 +83,31 @@
font-display: swap;
}
/* Dotcom aliases for knowledge */
@font-face {
font-family: 'knowledge-regular';
src: local('Knowledge');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'knowledge-medium';
src: local('Knowledge');
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'knowledge-bold';
src: local('Knowledge');
font-weight: bold;
font-style: normal;
font-display: swap;
}
/* SOURCE SANS PRO */
@font-face {
font-family: 'Source Sans Pro';