Skip to content

Commit

Permalink
dialtone-tokens-swift release
Browse files Browse the repository at this point in the history
  • Loading branch information
dialpad committed Dec 12, 2024
1 parent 8132827 commit 3cb468f
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 4 deletions.
46 changes: 43 additions & 3 deletions Sources/DialtoneTokens/tokens-tmo-dark.swift
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,37 @@ public enum DialtoneTokensTmoDark {
public static let dtAvatarColorBackground900 = UIColor(red: 0.318, green: 0.627, blue: 0.996, alpha: 1)
public static let dtAvatarColorForeground = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 1)
public static let dtBadgeColorBackgroundBulletin = UIColor(red: 0.486, green: 0.322, blue: 1.000, alpha: 1)
public static let dtBadgeColorBackgroundBulletinSubtle = UIColor(red: 0.486, green: 0.322, blue: 1.000, alpha: 1)
public static let dtBadgeColorBackgroundBulletinSubtle = UIColor(red: 0.671, green: 0.494, blue: 1.000, alpha: 1)
public static let dtBadgeColorBackgroundCritical = UIColor(red: 0.357, green: 0.020, blue: 0.020, alpha: 1)
public static let dtBadgeColorBackgroundDefault = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 1)
public static let dtBadgeColorBackgroundInfo = UIColor(red: 0.004, green: 0.196, blue: 0.427, alpha: 1)
public static let dtBadgeColorBackgroundSuccess = UIColor(red: 0.071, green: 0.275, blue: 0.125, alpha: 1)
public static let dtBadgeColorBackgroundWarning = UIColor(red: 0.506, green: 0.314, blue: 0.031, alpha: 1)
public static let dtBadgeColorBorderBulletinSubtle = UIColor(red: 0.486, green: 0.322, blue: 1.000, alpha: 1)
public static let dtBadgeColorBorderBulletinSubtle = UIColor(red: 0.671, green: 0.494, blue: 1.000, alpha: 1)
public static let dtBadgeColorBorderDefault = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
public static let dtBadgeColorForegroundBulletin = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
public static let dtBadgeColorForegroundBulletinSubtle = UIColor(red: 0.486, green: 0.322, blue: 1.000, alpha: 1)
public static let dtBadgeColorForegroundBulletinSubtle = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 1)
public static let dtBadgeColorForegroundDefault = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 1)
public static let dtButtonFontSizeLg = CGFloat(10.00) * 1.9
public static let dtButtonFontSizeMd = CGFloat(10.00) * 1.5
public static let dtButtonFontSizeSm = CGFloat(10.00) * 1.2
public static let dtButtonFontSizeXl = CGFloat(10.00) * 2.7
public static let dtButtonFontSizeXs = CGFloat(10.00) * 1.2
public static let dtButtonFontWeightLg = 500
public static let dtButtonFontWeightMd = 500
public static let dtButtonFontWeightSm = 500
public static let dtButtonFontWeightXl = 400
public static let dtButtonFontWeightXs = 500
public static let dtButtonLineHeightLg = CGFloat(120.00)
public static let dtButtonLineHeightMd = CGFloat(120.00)
public static let dtButtonLineHeightSm = CGFloat(120.00)
public static let dtButtonLineHeightXl = CGFloat(120.00)
public static let dtButtonLineHeightXs = CGFloat(120.00)
public static let dtButtonSizeRadiusLg = CGFloat(12.00)
public static let dtButtonSizeRadiusMd = CGFloat(8.00)
public static let dtButtonSizeRadiusSm = CGFloat(8.00)
public static let dtButtonSizeRadiusXl = CGFloat(16.00)
public static let dtButtonSizeRadiusXs = CGFloat(4.00)
public static let dtCheckboxColorBackgroundChecked = UIColor(red: 0.486, green: 0.322, blue: 1.000, alpha: 1)
public static let dtCheckboxColorBorderChecked = UIColor(red: 0.486, green: 0.322, blue: 1.000, alpha: 1)
public static let dtCheckboxColorBorderUnchecked = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
Expand Down Expand Up @@ -330,6 +350,26 @@ public enum DialtoneTokensTmoDark {
public static let dtTypographyBodySmFontWeight = 400
public static let dtTypographyBodySmLineHeight = CGFloat(140.00)
public static let dtTypographyBodySmTextCase = "none"
public static let dtTypographyButtonLgFontFamily = UIFont.systemFont(ofSize: 15)
public static let dtTypographyButtonLgFontSize = CGFloat(10.00) * 1.9
public static let dtTypographyButtonLgFontWeight = 500
public static let dtTypographyButtonLgLineHeight = CGFloat(120.00)
public static let dtTypographyButtonMdFontFamily = UIFont.systemFont(ofSize: 15)
public static let dtTypographyButtonMdFontSize = CGFloat(10.00) * 1.5
public static let dtTypographyButtonMdFontWeight = 500
public static let dtTypographyButtonMdLineHeight = CGFloat(120.00)
public static let dtTypographyButtonSmFontFamily = UIFont.systemFont(ofSize: 15)
public static let dtTypographyButtonSmFontSize = CGFloat(10.00) * 1.2
public static let dtTypographyButtonSmFontWeight = 500
public static let dtTypographyButtonSmLineHeight = CGFloat(120.00)
public static let dtTypographyButtonXlFontFamily = UIFont.systemFont(ofSize: 15)
public static let dtTypographyButtonXlFontSize = CGFloat(10.00) * 2.7
public static let dtTypographyButtonXlFontWeight = 400
public static let dtTypographyButtonXlLineHeight = CGFloat(120.00)
public static let dtTypographyButtonXsFontFamily = UIFont.systemFont(ofSize: 15)
public static let dtTypographyButtonXsFontSize = CGFloat(10.00) * 1.2
public static let dtTypographyButtonXsFontWeight = 500
public static let dtTypographyButtonXsLineHeight = CGFloat(120.00)
public static let dtTypographyCodeMdFontFamily = UIFont.monospacedSystemFont(ofSize: 15, weight: .regular)
public static let dtTypographyCodeMdFontSize = CGFloat(10.00) * 1.5
public static let dtTypographyCodeMdFontWeight = 400
Expand Down
40 changes: 40 additions & 0 deletions Sources/DialtoneTokens/tokens-tmo-light.swift
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,26 @@ public enum DialtoneTokensTmoLight {
public static let dtBadgeColorForegroundBulletin = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
public static let dtBadgeColorForegroundBulletinSubtle = UIColor(red: 0.486, green: 0.322, blue: 1.000, alpha: 1)
public static let dtBadgeColorForegroundDefault = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 1)
public static let dtButtonFontSizeLg = CGFloat(10.00) * 1.9
public static let dtButtonFontSizeMd = CGFloat(10.00) * 1.5
public static let dtButtonFontSizeSm = CGFloat(10.00) * 1.2
public static let dtButtonFontSizeXl = CGFloat(10.00) * 2.7
public static let dtButtonFontSizeXs = CGFloat(10.00) * 1.2
public static let dtButtonFontWeightLg = 500
public static let dtButtonFontWeightMd = 500
public static let dtButtonFontWeightSm = 500
public static let dtButtonFontWeightXl = 400
public static let dtButtonFontWeightXs = 500
public static let dtButtonLineHeightLg = CGFloat(120.00)
public static let dtButtonLineHeightMd = CGFloat(120.00)
public static let dtButtonLineHeightSm = CGFloat(120.00)
public static let dtButtonLineHeightXl = CGFloat(120.00)
public static let dtButtonLineHeightXs = CGFloat(120.00)
public static let dtButtonSizeRadiusLg = CGFloat(12.00)
public static let dtButtonSizeRadiusMd = CGFloat(8.00)
public static let dtButtonSizeRadiusSm = CGFloat(8.00)
public static let dtButtonSizeRadiusXl = CGFloat(16.00)
public static let dtButtonSizeRadiusXs = CGFloat(4.00)
public static let dtCheckboxColorBackgroundChecked = UIColor(red: 0.486, green: 0.322, blue: 1.000, alpha: 1)
public static let dtCheckboxColorBorderChecked = UIColor(red: 0.486, green: 0.322, blue: 1.000, alpha: 1)
public static let dtCheckboxColorBorderUnchecked = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 1)
Expand Down Expand Up @@ -330,6 +350,26 @@ public enum DialtoneTokensTmoLight {
public static let dtTypographyBodySmFontWeight = 400
public static let dtTypographyBodySmLineHeight = CGFloat(140.00)
public static let dtTypographyBodySmTextCase = "none"
public static let dtTypographyButtonLgFontFamily = UIFont.systemFont(ofSize: 15)
public static let dtTypographyButtonLgFontSize = CGFloat(10.00) * 1.9
public static let dtTypographyButtonLgFontWeight = 500
public static let dtTypographyButtonLgLineHeight = CGFloat(120.00)
public static let dtTypographyButtonMdFontFamily = UIFont.systemFont(ofSize: 15)
public static let dtTypographyButtonMdFontSize = CGFloat(10.00) * 1.5
public static let dtTypographyButtonMdFontWeight = 500
public static let dtTypographyButtonMdLineHeight = CGFloat(120.00)
public static let dtTypographyButtonSmFontFamily = UIFont.systemFont(ofSize: 15)
public static let dtTypographyButtonSmFontSize = CGFloat(10.00) * 1.2
public static let dtTypographyButtonSmFontWeight = 500
public static let dtTypographyButtonSmLineHeight = CGFloat(120.00)
public static let dtTypographyButtonXlFontFamily = UIFont.systemFont(ofSize: 15)
public static let dtTypographyButtonXlFontSize = CGFloat(10.00) * 2.7
public static let dtTypographyButtonXlFontWeight = 400
public static let dtTypographyButtonXlLineHeight = CGFloat(120.00)
public static let dtTypographyButtonXsFontFamily = UIFont.systemFont(ofSize: 15)
public static let dtTypographyButtonXsFontSize = CGFloat(10.00) * 1.2
public static let dtTypographyButtonXsFontWeight = 500
public static let dtTypographyButtonXsLineHeight = CGFloat(120.00)
public static let dtTypographyCodeMdFontFamily = UIFont.monospacedSystemFont(ofSize: 15, weight: .regular)
public static let dtTypographyCodeMdFontSize = CGFloat(10.00) * 1.5
public static let dtTypographyCodeMdFontWeight = 400
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.37.2
1.38.0

0 comments on commit 3cb468f

Please sign in to comment.