From e86e6b0d2ca18f11ddd2705d7edcdc415cced2bc Mon Sep 17 00:00:00 2001 From: Jeremias Peier Date: Wed, 24 Apr 2024 15:51:01 +0200 Subject: [PATCH] feat: reduce font-faces to single SbbWeb variant BREAKING CHANGE: replaced roman, bold and light font-face variants by single "SbbWeb" font. Changed "typeFace" symbol name into "fontFamily". --- designTokens/typo.ts | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/designTokens/typo.ts b/designTokens/typo.ts index 611614c1..e87cead9 100644 --- a/designTokens/typo.ts +++ b/designTokens/typo.ts @@ -10,24 +10,8 @@ const attributes = (): Partial => ({ }); export const typo: DesignTokens = { - fontFamilyFallback: { - value: '"Helvetica Neue", Helvetica, Arial, sans-serif', - }, - typeFace: { - sbbLight: { - value: '"SBBWeb Light", {typo.fontFamilyFallback.value}', - }, - sbbRoman: { - value: '"SBBWeb Roman", {typo.fontFamilyFallback.value}', - }, - sbbBold: { - value: '"SBBWeb Bold", {typo.fontFamilyFallback.value}', - }, - i18n: { - traditionalChinese: { - value: '"Example for possible i18n structure"', - }, - }, + fontFamily: { + value: '"SBBWeb", "Helvetica Neue", Helvetica, Arial, sans-serif', }, letterSpacing: { titles: {