Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Token] Font tokens (raw + semantic) modifications after Figma updates (4th of October) #155

Closed
julien-deramond opened this issue Oct 4, 2024 · 4 comments · Fixed by #175
Assignees
Labels
📀 token Related to tokens (raws, semantics or components)

Comments

@julien-deramond
Copy link
Contributor

julien-deramond commented Oct 4, 2024

Description

Some modifications have been done on Figma's side. Here's a diff showing what's been modified the 4th of October by the designers.

For the raw tokens, only the name has changed.

-    public static let fontWeightBlack = "900"
-    public static let fontWeightBold = "700"
-    public static let fontWeightExtraBlack = "950"
-    public static let fontWeightExtraBold = "800"
-    public static let fontWeightExtraLight = "200"
-    public static let fontWeightLight = "300"
-    public static let fontWeightMedium = "500"
-    public static let fontWeightRegular = "400"
-    public static let fontWeightSemiBold = "600"
-    public static let fontWeightThin = "100"
+    public static let fontWeight100 = 100
+    public static let fontWeight200 = 200
+    public static let fontWeight300 = 300
+    public static let fontWeight400 = 400
+    public static let fontWeight500 = 500
+    public static let fontWeight600 = 600
+    public static let fontWeight700 = 700
+    public static let fontWeight800 = 800
+    public static let fontWeight900 = 900
+    public static let fontWeight950 = 950
 }

For the semantic tokens, pick up the changes that concern you. Unfortunately, the parser is not yet at the same level as what you're using here. It may contains unfiltered tokens.

diff --git a/build/ios/semantic/FontSemanticTokens.swift b/build/ios/semantic/FontSemanticTokens.swift
index c2c348d..f0af096 100644
--- a/build/ios/semantic/FontSemanticTokens.swift
+++ b/build/ios/semantic/FontSemanticTokens.swift
@@ -12,175 +12,159 @@
 // 
 
 public enum FontSemanticTokens {
-    public static let fontWeightWebStrong = fontWeightBold
-    public static let fontWeightWebDefault = fontWeightRegular
-    public static let fontWeightWebCode = fontWeightRegular
-    public static let fontWeightTvStrong = fontWeightBold
-    public static let fontWeightTvDefault = fontWeightRegular
-    public static let fontWeightTvCode = fontWeightRegular
-    public static let fontWeightStrong = fontWeightBold
-    public static let fontWeightDefault = fontWeightRegular
-    public static let fontWeightCode = fontWeightRegular
-    public static let fontSizeTabletHeadingXLarge = fontSize750
-    public static let fontSizeTabletHeadingSmall = fontSize350
-    public static let fontSizeTabletHeadingMedium = fontSize450
-    public static let fontSizeTabletHeadingLarge = fontSize550
-    public static let fontSizeTabletDisplaySmall = fontSize850
-    public static let fontSizeTabletDisplayMedium = fontSize1050
-    public static let fontSizeTabletDisplayLarge = fontSize1450
-    public static let fontSizeTabletCodeSmall = fontSize150
-    public static let fontSizeTabletCodeMedium = fontSize200
-    public static let fontSizeTabletBodySmall = fontSize150
-    public static let fontSizeTabletBodyMedium = fontSize200
-    public static let fontSizeTabletBodyLarge = fontSize250
-    public static let fontSizeMobileHeadingXLarge = fontSize550
-    public static let fontSizeMobileHeadingSmall = fontSize300
-    public static let fontSizeMobileHeadingMedium = fontSize350
-    public static let fontSizeMobileHeadingLarge = fontSize450
-    public static let fontSizeMobileDisplaySmall = fontSize650
-    public static let fontSizeMobileDisplayMedium = fontSize750
-    public static let fontSizeMobileDisplayLarge = fontSize850
-    public static let fontSizeMobileCodeSmall = fontSize150
-    public static let fontSizeMobileCodeMedium = fontSize200
-    public static let fontSizeMobileBodySmall = fontSize150
-    public static let fontSizeMobileBodyMedium = fontSize200
-    public static let fontSizeMobileBodyLarge = fontSize250
-    public static let fontSizeLabelXLarge = fontSize300
+    public static let fontWeightWebStrong = fontWeight700
+    public static let fontWeightWebDefault = fontWeight400
+    public static let fontWeightWebCode = fontWeight400
+    public static let fontWeightTvStrong = fontWeight700
+    public static let fontWeightTvDefault = fontWeight400
+    public static let fontWeightTvCode = fontWeight400
+    public static let fontWeightStrong = fontWeight700
+    public static let fontWeightDefault = fontWeight400
+    public static let fontWeightCode = fontWeight400
+    public static let fontSizeLabelXlarge = fontSize300
     public static let fontSizeLabelSmall = fontSize150
     public static let fontSizeLabelMedium = fontSize200
     public static let fontSizeLabelLarge = fontSize250
-    public static let fontSizeDesktopHeadingXLarge = fontSize850
-    public static let fontSizeDesktopHeadingSmall = fontSize450
-    public static let fontSizeDesktopHeadingMedium = fontSize550
-    public static let fontSizeDesktopHeadingLarge = fontSize650
-    public static let fontSizeDesktopDisplaySmall = fontSize1050
-    public static let fontSizeDesktopDisplayMedium = fontSize1250
-    public static let fontSizeDesktopDisplayLarge = fontSize1850
-    public static let fontSizeDesktopCodeSmall = fontSize150
-    public static let fontSizeDesktopCodeMedium = fontSize200
-    public static let fontSizeDesktopBodySmall = fontSize200
-    public static let fontSizeDesktopBodyMedium = fontSize250
-    public static let fontSizeDesktopBodyLarge = fontSize300
-    public static let fontParagraphSpacingTabletHeadingXLarge = fontParagraphSpacing100
-    public static let fontParagraphSpacingTabletHeadingSmall = fontParagraphSpacing100
-    public static let fontParagraphSpacingTabletHeadingMedium = fontParagraphSpacing100
-    public static let fontParagraphSpacingTabletHeadingLarge = fontParagraphSpacing100
-    public static let fontParagraphSpacingTabletDisplaySmall = fontParagraphSpacing100
-    public static let fontParagraphSpacingTabletDisplayMedium = fontParagraphSpacing100
-    public static let fontParagraphSpacingTabletDisplayLarge = fontParagraphSpacing100
-    public static let fontParagraphSpacingTabletCodeSmall = fontParagraphSpacing100
-    public static let fontParagraphSpacingTabletCodeMedium = fontParagraphSpacing100
-    public static let fontParagraphSpacingTabletBodySmall = fontParagraphSpacing100
-    public static let fontParagraphSpacingTabletBodyMedium = fontParagraphSpacing100
-    public static let fontParagraphSpacingTabletBodyLarge = fontParagraphSpacing100
-    public static let fontParagraphSpacingMobileHeadingXLarge = fontParagraphSpacing100
-    public static let fontParagraphSpacingMobileHeadingSmall = fontParagraphSpacing100
-    public static let fontParagraphSpacingMobileHeadingMedium = fontParagraphSpacing100
-    public static let fontParagraphSpacingMobileHeadingLarge = fontParagraphSpacing100
-    public static let fontParagraphSpacingMobileDisplaySmall = fontParagraphSpacing100
-    public static let fontParagraphSpacingMobileDisplayMedium = fontParagraphSpacing100
-    public static let fontParagraphSpacingMobileDisplayLarge = fontParagraphSpacing100
-    public static let fontParagraphSpacingMobileCodeSmall = fontParagraphSpacing100
-    public static let fontParagraphSpacingMobileCodeMedium = fontParagraphSpacing100
-    public static let fontParagraphSpacingMobileBodySmall = fontParagraphSpacing100
-    public static let fontParagraphSpacingMobileBodyMedium = fontParagraphSpacing100
-    public static let fontParagraphSpacingMobileBodyLarge = fontParagraphSpacing100
-    public static let fontParagraphSpacingLabelXLarge = fontParagraphSpacing100
+    public static let fontSizeHeadingXlargeTablet = fontSize750
+    public static let fontSizeHeadingXlargeMobile = fontSize550
+    public static let fontSizeHeadingXlargeDesktop = fontSize850
+    public static let fontSizeHeadingSmallTablet = fontSize350
+    public static let fontSizeHeadingSmallMobile = fontSize300
+    public static let fontSizeHeadingSmallDesktop = fontSize450
+    public static let fontSizeHeadingMediumTablet = fontSize450
+    public static let fontSizeHeadingMediumMobile = fontSize350
+    public static let fontSizeHeadingMediumDesktop = fontSize550
+    public static let fontSizeHeadingLargeTablet = fontSize550
+    public static let fontSizeHeadingLargeMobile = fontSize450
+    public static let fontSizeHeadingLargeDesktop = fontSize650
+    public static let fontSizeDisplaySmallTablet = fontSize850
+    public static let fontSizeDisplaySmallMobile = fontSize650
+    public static let fontSizeDisplaySmallDesktop = fontSize1050
+    public static let fontSizeDisplayMediumTablet = fontSize1050
+    public static let fontSizeDisplayMediumMobile = fontSize750
+    public static let fontSizeDisplayMediumDesktop = fontSize1250
+    public static let fontSizeDisplayLargeTablet = fontSize1450
+    public static let fontSizeDisplayLargeMobile = fontSize850
+    public static let fontSizeDisplayLargeDesktop = fontSize1850
+    public static let fontSizeCodeSmall = fontSize150
+    public static let fontSizeCodeMedium = fontSize200
+    public static let fontSizeBodySmallTablet = fontSize150
+    public static let fontSizeBodySmallMobile = fontSize150
+    public static let fontSizeBodySmallDesktop = fontSize200
+    public static let fontSizeBodyMediumTablet = fontSize200
+    public static let fontSizeBodyMediumMobile = fontSize200
+    public static let fontSizeBodyMediumDesktop = fontSize250
public static let fontSizeBodyLargeTablet = fontSize250
+    public static let fontSizeBodyLargeMobile = fontSize250
+    public static let fontSizeBodyLargeDesktop = fontSize300
+    public static let fontParagraphSpacingLabelXlarge = fontParagraphSpacing100
     public static let fontParagraphSpacingLabelSmall = fontParagraphSpacing100
     public static let fontParagraphSpacingLabelMedium = fontParagraphSpacing100
     public static let fontParagraphSpacingLabelLarge = fontParagraphSpacing100
-    public static let fontParagraphSpacingDesktopHeadingXLarge = fontParagraphSpacing100
-    public static let fontParagraphSpacingDesktopHeadingSmall = fontParagraphSpacing100
-    public static let fontParagraphSpacingDesktopHeadingMedium = fontParagraphSpacing100
-    public static let fontParagraphSpacingDesktopHeadingLarge = fontParagraphSpacing100
-    public static let fontParagraphSpacingDesktopDisplaySmall = fontParagraphSpacing100
-    public static let fontParagraphSpacingDesktopDisplayMedium = fontParagraphSpacing100
-    public static let fontParagraphSpacingDesktopDisplayLarge = fontParagraphSpacing100
-    public static let fontParagraphSpacingDesktopCodeSmall = fontParagraphSpacing100
-    public static let fontParagraphSpacingDesktopCodeMedium = fontParagraphSpacing100
-    public static let fontParagraphSpacingDesktopBodySmall = fontParagraphSpacing100
-    public static let fontParagraphSpacingDesktopBodyMedium = fontParagraphSpacing100
-    public static let fontParagraphSpacingDesktopBodyLarge = fontParagraphSpacing100
-    public static let fontLineHeightTabletHeadingXLarge = fontLineHeight950
-    public static let fontLineHeightTabletHeadingSmall = fontLineHeight550
-    public static let fontLineHeightTabletHeadingMedium = fontLineHeight650
-    public static let fontLineHeightTabletHeadingLarge = fontLineHeight750
-    public static let fontLineHeightTabletDisplaySmall = fontLineHeight1050
-    public static let fontLineHeightTabletDisplayMedium = fontLineHeight1250
-    public static let fontLineHeightTabletDisplayLarge = fontLineHeight1850
-    public static let fontLineHeightTabletCodeSmall = fontLineHeight250
-    public static let fontLineHeightTabletCodeMedium = fontLineHeight350
-    public static let fontLineHeightTabletBodySmall = fontLineHeight250
-    public static let fontLineHeightTabletBodyMedium = fontLineHeight350
-    public static let fontLineHeightTabletBodyLarge = fontLineHeight450
-    public static let fontLineHeightMobileHeadingXLarge = fontLineHeight750
-    public static let fontLineHeightMobileHeadingSmall = fontLineHeight450
-    public static let fontLineHeightMobileHeadingMedium = fontLineHeight550
-    public static let fontLineHeightMobileHeadingLarge = fontLineHeight650
-    public static let fontLineHeightMobileDisplaySmall = fontLineHeight850
-    public static let fontLineHeightMobileDisplayMedium = fontLineHeight950
-    public static let fontLineHeightMobileDisplayLarge = fontLineHeight1050
-    public static let fontLineHeightMobileCodeSmall = fontLineHeight250
-    public static let fontLineHeightMobileCodeMedium = fontLineHeight350
-    public static let fontLineHeightMobileBodySmall = fontLineHeight250
-    public static let fontLineHeightMobileBodyMedium = fontLineHeight350
-    public static let fontLineHeightMobileBodyLarge = fontLineHeight450
-    public static let fontLineHeightLabelXLarge = fontLineHeight450
+    public static let fontParagraphSpacingHeadingXlargeTablet = fontParagraphSpacing100
+    public static let fontParagraphSpacingHeadingXlargeMobile = fontParagraphSpacing100
+    public static let fontParagraphSpacingHeadingXlargeDesktop = fontParagraphSpacing100
+    public static let fontParagraphSpacingHeadingSmallTablet = fontParagraphSpacing100
+    public static let fontParagraphSpacingHeadingSmallMobile = fontParagraphSpacing100
+    public static let fontParagraphSpacingHeadingSmallDesktop = fontParagraphSpacing100
+    public static let fontParagraphSpacingHeadingMediumTablet = fontParagraphSpacing100
+    public static let fontParagraphSpacingHeadingMediumMobile = fontParagraphSpacing100
+    public static let fontParagraphSpacingHeadingMediumDesktop = fontParagraphSpacing100
+    public static let fontParagraphSpacingHeadingLargeTablet = fontParagraphSpacing100
+    public static let fontParagraphSpacingHeadingLargeMobile = fontParagraphSpacing100
+    public static let fontParagraphSpacingHeadingLargeDesktop = fontParagraphSpacing100
+    public static let fontParagraphSpacingDisplaySmallTablet = fontParagraphSpacing100
+    public static let fontParagraphSpacingDisplaySmallMobile = fontParagraphSpacing100
+    public static let fontParagraphSpacingDisplaySmallDesktop = fontParagraphSpacing100
+    public static let fontParagraphSpacingDisplayMediumTablet = fontParagraphSpacing100
+    public static let fontParagraphSpacingDisplayMediumMobile = fontParagraphSpacing100
+    public static let fontParagraphSpacingDisplayMediumDesktop = fontParagraphSpacing100
+    public static let fontParagraphSpacingDisplayLargeTablet = fontParagraphSpacing100
+    public static let fontParagraphSpacingDisplayLargeMobile = fontParagraphSpacing100
+    public static let fontParagraphSpacingDisplayLargeDesktop = fontParagraphSpacing100
+    public static let fontParagraphSpacingCodeSmall = fontParagraphSpacing100
+    public static let fontParagraphSpacingCodeMedium = fontParagraphSpacing100
+    public static let fontParagraphSpacingBodySmallTablet = fontParagraphSpacing100
+    public static let fontParagraphSpacingBodySmallMobile = fontParagraphSpacing100
+    public static let fontParagraphSpacingBodySmallDesktop = fontParagraphSpacing100
+    public static let fontParagraphSpacingBodyMediumTablet = fontParagraphSpacing100
+    public static let fontParagraphSpacingBodyMediumMobile = fontParagraphSpacing100
+    public static let fontParagraphSpacingBodyMediumDesktop = fontParagraphSpacing100
+    public static let fontParagraphSpacingBodyLargeTablet = fontParagraphSpacing100
+    public static let fontParagraphSpacingBodyLargeMobile = fontParagraphSpacing100
+    public static let fontParagraphSpacingBodyLargeDesktop = fontParagraphSpacing100
+    public static let fontLineHeightLabelXlarge = fontLineHeight450
     public static let fontLineHeightLabelSmall = fontLineHeight250
     public static let fontLineHeightLabelMedium = fontLineHeight350
     public static let fontLineHeightLabelLarge = fontLineHeight450
-    public static let fontLineHeightDesktopHeadingXLarge = fontLineHeight1050
-    public static let fontLineHeightDesktopHeadingSmall = fontLineHeight650
-    public static let fontLineHeightDesktopHeadingMedium = fontLineHeight750
-    public static let fontLineHeightDesktopHeadingLarge = fontLineHeight850
-    public static let fontLineHeightDesktopDisplaySmall = fontLineHeight1250
-    public static let fontLineHeightDesktopDisplayMedium = fontLineHeight1450
-    public static let fontLineHeightDesktopDisplayLarge = fontLineHeight2050
-    public static let fontLineHeightDesktopCodeSmall = fontLineHeight250
-    public static let fontLineHeightDesktopCodeMedium = fontLineHeight350
-    public static let fontLineHeightDesktopBodySmall = fontLineHeight350
-    public static let fontLineHeightDesktopBodyMedium = fontLineHeight450
-    public static let fontLineHeightDesktopBodyLarge = fontLineHeight450
-    public static let fontLetterSpacingTabletHeadingXLarge = fontLetterSpacing750
-    public static let fontLetterSpacingTabletHeadingSmall = fontLetterSpacing350
-    public static let fontLetterSpacingTabletHeadingMedium = fontLetterSpacing450
-    public static let fontLetterSpacingTabletHeadingLarge = fontLetterSpacing550
-    public static let fontLetterSpacingTabletDisplaySmall = fontLetterSpacing850
-    public static let fontLetterSpacingTabletDisplayMedium = fontLetterSpacing1050
-    public static let fontLetterSpacingTabletDisplayLarge = fontLetterSpacing1450
-    public static let fontLetterSpacingTabletCodeSmall = fontLetterSpacing150
-    public static let fontLetterSpacingTabletCodeMedium = fontLetterSpacing200
-    public static let fontLetterSpacingTabletBodySmall = fontLetterSpacing150
-    public static let fontLetterSpacingTabletBodyMedium = fontLetterSpacing200
-    public static let fontLetterSpacingTabletBodyLarge = fontLetterSpacing250
-    public static let fontLetterSpacingMobileHeadingXLarge = fontLetterSpacing550
-    public static let fontLetterSpacingMobileHeadingSmall = fontLetterSpacing300
-    public static let fontLetterSpacingMobileHeadingMedium = fontLetterSpacing350
-    public static let fontLetterSpacingMobileHeadingLarge = fontLetterSpacing450
-    public static let fontLetterSpacingMobileDisplaySmall = fontLetterSpacing650
-    public static let fontLetterSpacingMobileDisplayMedium = fontLetterSpacing750
-    public static let fontLetterSpacingMobileDisplayLarge = fontLetterSpacing850
-    public static let fontLetterSpacingMobileCodeSmall = fontLetterSpacing150
-    public static let fontLetterSpacingMobileCodeMedium = fontLetterSpacing200
-    public static let fontLetterSpacingMobileBodySmall = fontLetterSpacing150
-    public static let fontLetterSpacingMobileBodyMedium = fontLetterSpacing200
-    public static let fontLetterSpacingMobileBodyLarge = fontLetterSpacing250
-    public static let fontLetterSpacingLabelXLarge = fontLetterSpacing300
+    public static let fontLineHeightHeadingXlargeTablet = fontLineHeight950
+    public static let fontLineHeightHeadingXlargeMobile = fontLineHeight750
+    public static let fontLineHeightHeadingXlargeDesktop = fontLineHeight1050
+    public static let fontLineHeightHeadingSmallTablet = fontLineHeight550
+    public static let fontLineHeightHeadingSmallMobile = fontLineHeight450
+    public static let fontLineHeightHeadingSmallDesktop = fontLineHeight650
+    public static let fontLineHeightHeadingMediumTablet = fontLineHeight650
+    public static let fontLineHeightHeadingMediumMobile = fontLineHeight550
+    public static let fontLineHeightHeadingMediumDesktop = fontLineHeight750
+    public static let fontLineHeightHeadingLargeTablet = fontLineHeight750
+    public static let fontLineHeightHeadingLargeMobile = fontLineHeight650
+    public static let fontLineHeightHeadingLargeDesktop = fontLineHeight850
+    public static let fontLineHeightDisplaySmallTablet = fontLineHeight1050
+    public static let fontLineHeightDisplaySmallMobile = fontLineHeight850
+    public static let fontLineHeightDisplaySmallDesktop = fontLineHeight1250
+    public static let fontLineHeightDisplayMediumTablet = fontLineHeight1250
+    public static let fontLineHeightDisplayMediumMobile = fontLineHeight950
+    public static let fontLineHeightDisplayMediumDesktop = fontLineHeight1450
public static let fontLineHeightDisplayLargeTablet = fontLineHeight1850
+    public static let fontLineHeightDisplayLargeMobile = fontLineHeight1050
+    public static let fontLineHeightDisplayLargeDesktop = fontLineHeight2050
+    public static let fontLineHeightCodeSmall = fontLineHeight250
+    public static let fontLineHeightCodeMedium = fontLineHeight350
+    public static let fontLineHeightBodySmallTablet = fontLineHeight250
+    public static let fontLineHeightBodySmallMobile = fontLineHeight250
+    public static let fontLineHeightBodySmallDesktop = fontLineHeight350
+    public static let fontLineHeightBodyMediumTablet = fontLineHeight350
+    public static let fontLineHeightBodyMediumMobile = fontLineHeight350
+    public static let fontLineHeightBodyMediumDesktop = fontLineHeight450
+    public static let fontLineHeightBodyLargeTablet = fontLineHeight450
+    public static let fontLineHeightBodyLargeMobile = fontLineHeight450
+    public static let fontLineHeightBodyLargeDesktop = fontLineHeight450
+    public static let fontLetterSpacingLabelXlarge = fontLetterSpacing300
     public static let fontLetterSpacingLabelSmall = fontLetterSpacing150
     public static let fontLetterSpacingLabelMedium = fontLetterSpacing200
     public static let fontLetterSpacingLabelLarge = fontLetterSpacing250
-    public static let fontLetterSpacingDesktopHeadingXLarge = fontLetterSpacing850
-    public static let fontLetterSpacingDesktopHeadingSmall = fontLetterSpacing450
-    public static let fontLetterSpacingDesktopHeadingMedium = fontLetterSpacing550
-    public static let fontLetterSpacingDesktopHeadingLarge = fontLetterSpacing650
-    public static let fontLetterSpacingDesktopDisplaySmall = fontLetterSpacing1050
-    public static let fontLetterSpacingDesktopDisplayMedium = fontLetterSpacing1250
-    public static let fontLetterSpacingDesktopDisplayLarge = fontLetterSpacing1850
-    public static let fontLetterSpacingDesktopCodeSmall = fontLetterSpacing150
-    public static let fontLetterSpacingDesktopCodeMedium = fontLetterSpacing200
-    public static let fontLetterSpacingDesktopBodySmall = fontLetterSpacing200
-    public static let fontLetterSpacingDesktopBodyMedium = fontLetterSpacing250
-    public static let fontLetterSpacingDesktopBodyLarge = fontLetterSpacing300
+    public static let fontLetterSpacingHeadingXlargeTablet = fontLetterSpacing750
+    public static let fontLetterSpacingHeadingXlargeMobile = fontLetterSpacing550
+    public static let fontLetterSpacingHeadingXlargeDesktop = fontLetterSpacing850
+    public static let fontLetterSpacingHeadingSmallTablet = fontLetterSpacing350
+    public static let fontLetterSpacingHeadingSmallMobile = fontLetterSpacing300
+    public static let fontLetterSpacingHeadingSmallDesktop = fontLetterSpacing450
+    public static let fontLetterSpacingHeadingMediumTablet = fontLetterSpacing450
+    public static let fontLetterSpacingHeadingMediumMobile = fontLetterSpacing350
+    public static let fontLetterSpacingHeadingMediumDesktop = fontLetterSpacing550
+    public static let fontLetterSpacingHeadingLargeTablet = fontLetterSpacing550
+    public static let fontLetterSpacingHeadingLargeMobile = fontLetterSpacing450
+    public static let fontLetterSpacingHeadingLargeDesktop = fontLetterSpacing650
+    public static let fontLetterSpacingDisplaySmallTablet = fontLetterSpacing850
+    public static let fontLetterSpacingDisplaySmallMobile = fontLetterSpacing650
+    public static let fontLetterSpacingDisplaySmallDesktop = fontLetterSpacing1050
+    public static let fontLetterSpacingDisplayMediumTablet = fontLetterSpacing1050
+    public static let fontLetterSpacingDisplayMediumMobile = fontLetterSpacing750
+    public static let fontLetterSpacingDisplayMediumDesktop = fontLetterSpacing1250
+    public static let fontLetterSpacingDisplayLargeTablet = fontLetterSpacing1450
+    public static let fontLetterSpacingDisplayLargeMobile = fontLetterSpacing850
+    public static let fontLetterSpacingDisplayLargeDesktop = fontLetterSpacing1850
+    public static let fontLetterSpacingCodeSmall = fontLetterSpacing150
+    public static let fontLetterSpacingCodeMedium = fontLetterSpacing200
+    public static let fontLetterSpacingBodySmallTablet = fontLetterSpacing150
+    public static let fontLetterSpacingBodySmallMobile = fontLetterSpacing150
+    public static let fontLetterSpacingBodySmallDesktop = fontLetterSpacing200
+    public static let fontLetterSpacingBodyMediumTablet = fontLetterSpacing200
+    public static let fontLetterSpacingBodyMediumMobile = fontLetterSpacing200
+    public static let fontLetterSpacingBodyMediumDesktop = fontLetterSpacing250
+    public static let fontLetterSpacingBodyLargeTablet = fontLetterSpacing250
+    public static let fontLetterSpacingBodyLargeMobile = fontLetterSpacing250
+    public static let fontLetterSpacingBodyLargeDesktop = fontLetterSpacing300
     public static let fontFamilyWeb = fontFamilyBrandDefault
     public static let fontFamilyTv = fontFamilyBrandTv
     public static let fontFamily = fontFamilyBrandDefault
@julien-deramond julien-deramond changed the title Font modifications after Figma updates (4th of October) Font tokens (raw + semantic) modifications after Figma updates (4th of October) Oct 4, 2024
@pylapp pylapp self-assigned this Oct 4, 2024
@pylapp pylapp changed the title Font tokens (raw + semantic) modifications after Figma updates (4th of October) [Token] Font tokens (raw + semantic) modifications after Figma updates (4th of October) Oct 4, 2024
@pylapp
Copy link
Member

pylapp commented Oct 7, 2024

@julien-deramond It has been discussed that fontParagraphSpacing tokens won't be defined in mobile thus we removed them in v0.2.0 :)

pylapp added a commit that referenced this issue Oct 7, 2024
@julien-deramond
Copy link
Contributor Author

Yep, no problem. As said in the description, you can apply what's relevant in your current context, variables, files. This is the pure diff of what's in OUDS Tokenator, not ready yet to be embedded into your lib. Soon, hopefully 🙏 with some ☕ and ❤ .

pylapp added a commit that referenced this issue Oct 7, 2024
pylapp added a commit that referenced this issue Oct 7, 2024
@pylapp pylapp added the 📀 token Related to tokens (raws, semantics or components) label Oct 7, 2024
@pylapp pylapp moved this from Triage to In Progress in [OUDS] Project Oct 7, 2024
pylapp added a commit that referenced this issue Oct 7, 2024
pylapp added a commit that referenced this issue Oct 7, 2024
ludovic35 pushed a commit that referenced this issue Oct 7, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in [OUDS] Project Oct 7, 2024
@pylapp
Copy link
Member

pylapp commented Oct 7, 2024

📣 New TestFlight ALPHA upload available 🚀

Please, get the new build from TestFlight app, or contact the project maintainers if you don't have access.

  • Display name: OUDS Showcase ALPHA (155, 156, 169, 170, 172, 173, 174)
  • Version: 0.4.0
  • Build number: 1728313283
  • Build tag: 1522281
  • Build type: ALPHA
  • Build details (GitHub): 155, 156, 169, 170, 172, 173, 174

cc @B3nz01d @pylapp @ludovic35 @Tayebsed93 @mccart77

This is an automated message sent with love and Fastlane from our CI/CD pipeline 🤘

@pylapp pylapp mentioned this issue Oct 18, 2024
pylapp added a commit that referenced this issue Oct 18, 2024
Release of version 0.4.0
See below the full CHANGELOG details.

Added

- [DemoApp] Update opacity screen with new design ([#200](#200))
- [DemoApp] Add color tokens screen in demo app ([#152](#152))
- [Library] Add semantic tokens `spacePaddingInlineTallest`, `spacePaddingBlockTallest`, `spaceColumnGapTaller`, `spaceColumnGapWithArrowShortest`, `spaceRowGapShortest` (Figjam final synchronization of October 16th)
- [Library] Add semantic color tokens ([#124](#124))
- [DemoApp] Fix some design issues and mutualize some UI elements ([#189](#189))
- [DemoApp] Add sizing tokens screen in demo app ([#150](#150))
- [DemoApp] Add spacing tokens screen in demo app ([#149](#149))
- [Library] Add color semantic tokens `colorContentTransparentDefault`, `colorBorderTransparentDefault` and `colorBackgroundTransparentDefault` (October 8th) ([#177](#177))
- [DemoApp] On opacity screen, add a border around the view showing the opacity ([#157](#157))

Changed

- [Library] Update of semantic typography tokens (Figjam final synchronization of October 16th)
- [Library] Update of semantic grid tokens `gridExtraCompactColumnCount`, `gridCompactColumnGap`, `gridRegularColumnGap` (Figjam final synchronization of October 16th)
- [Library] Update of semantic elevation token `elevationStickyNavigationScrolled` (Figjam final synchronization of October 16th)
- [Library] Update of semantic color tokens, semantic sizing tokens (Figjam final synchronization of October 16th)
- [Library/DemoApp] Updates SwiftLint rules, fix linter warnings ([#143](#143))
- [Tool] Update the templates for GitHub issues
- [Tool] Improve script for documentation generation ([#168](#168))
- [Library] Rename raw brand-specific color tokens in Orange theme (no use of "brand" word) ([#179](#179))
- [Library] `fontLetterSpacingMobile*` and `fontLetterSpacingTablet*` merged in `MultipleFontLetterSpacingTokens` objects
- [Library] `fontLineHeightMobile*` and `fontLineHeightTablet*` merged in `MultipleFontLineHeightTokens` objects
- [Library] `fontSizeMobile*` and `fontSizeTablet*` merged in `MultipleFontSizeTokens` objects 
- [Library] Update semantic and raw tokens for fonts ([#155](#155))
- [Library] Update semantic tokens for fonts (October 7th) ([#172](#172))
- [Library] Update raw tokens for fonts (October 7th) ([#170](#170))
- [Library] Any semantic token of sizing `TypeXXX` has been replaced by `TypeSizeXXX` (update of October 7th)
- [Library] Any semantic tokens of sizing `WithTypeXXX` has been replaced by `TypzeXXX` (update of October 7th)
- [Library] Update semantic tokens for sizing (October 7th) ([#173](#173))
- [Library] Any semantic tokens of spacing `isIcon` and `isArrow` are now `withIcon` and `withArrow` (update of October 7th)
- [Library] Update semantic tokens for spacing (October 4th) ([#174](#174))
- [Library] Update semantic tokens for spacing (October 4th) ([#156](#156))
- [Library] Update raw tokens for dimensions (October 7th) ([#169](#169))

Removed

- [Library] Raw typography token `fontSize100` (Figjam final synchronization of October 16th)
- [Library] Semantic token `spaceColumnGapWithArrowTaller` (Figjam final synchronization of October 16th)
- [Library] Remove all color alias semantic tokens and any optional color tokens type uses
- [Library] `SoshTheme` ([#180](#180))
- [Library] `fontSizeMobile*`, `fontSizeTablet*`, `fontLineHeightMobile*`, `fontLineHeightTablet*`, `fontLetterSpacingMobile*`, `fontLetterSpacingTablet*` removed (update of October 4th)
- [Library] `spaceRowGapWithIconTaller`, `spaceColumnGapWithIconTaller` removed (update of October 7th)

Fixed

- [Library] `typeBodyDefaultLarge` font weight ([#191](#191))

Co-authored-by: Pierre-Yves Lapersonne <[email protected]>
Co-authored-by: Ludovic Pinel <[email protected]>
Co-authored-by: Tayeb Sedraia <[email protected]>
@pylapp
Copy link
Member

pylapp commented Oct 18, 2024

ℹ️ Released with version v0.4.0 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📀 token Related to tokens (raws, semantics or components)
Projects
Status: Done
2 participants