@marioschmidt/design-system-tokens 1.0.21 → 1.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/dist/android/brands/advertorial/sizeclass-compact/typography_styles.xml +532 -348
  2. package/dist/android/brands/advertorial/sizeclass-regular/typography_styles.xml +533 -349
  3. package/dist/android/brands/bild/sizeclass-compact/typography_styles.xml +538 -354
  4. package/dist/android/brands/bild/sizeclass-regular/typography_styles.xml +543 -359
  5. package/dist/android/brands/sportbild/sizeclass-compact/typography_styles.xml +554 -370
  6. package/dist/android/brands/sportbild/sizeclass-regular/typography_styles.xml +553 -369
  7. package/dist/android/res/values/shared/colorprimitive.xml +5 -5
  8. package/dist/android/res/values/shared/spaceprimitive.xml +1 -1
  9. package/dist/css/brands/advertorial/density/density-compact.css +1 -1
  10. package/dist/css/brands/advertorial/density/density-default.css +1 -1
  11. package/dist/css/brands/advertorial/density/density-spacious.css +1 -1
  12. package/dist/css/brands/advertorial/overrides/brandtokenmapping.css +1 -1
  13. package/dist/css/brands/advertorial/semantic/breakpoints/breakpoint-lg-1024px-regular.css +1 -1
  14. package/dist/css/brands/advertorial/semantic/breakpoints/breakpoint-md-600px.css +1 -1
  15. package/dist/css/brands/advertorial/semantic/breakpoints/breakpoint-sm-390px-compact.css +1 -1
  16. package/dist/css/brands/advertorial/semantic/breakpoints/breakpoint-xs-320px.css +1 -1
  17. package/dist/css/brands/advertorial/semantic/effects/effects-dark.css +50 -26
  18. package/dist/css/brands/advertorial/semantic/effects/effects-light.css +50 -26
  19. package/dist/css/brands/advertorial/semantic/typography/typography-lg.css +711 -527
  20. package/dist/css/brands/advertorial/semantic/typography/typography-md.css +708 -524
  21. package/dist/css/brands/advertorial/semantic/typography/typography-sm.css +711 -527
  22. package/dist/css/brands/advertorial/semantic/typography/typography-xs.css +711 -527
  23. package/dist/css/brands/bild/density/density-compact.css +1 -1
  24. package/dist/css/brands/bild/density/density-default.css +1 -1
  25. package/dist/css/brands/bild/density/density-spacious.css +1 -1
  26. package/dist/css/brands/bild/overrides/brandcolormapping.css +1 -1
  27. package/dist/css/brands/bild/overrides/brandtokenmapping.css +1 -1
  28. package/dist/css/brands/bild/semantic/breakpoints/breakpoint-lg-1024px-regular.css +1 -1
  29. package/dist/css/brands/bild/semantic/breakpoints/breakpoint-md-600px.css +1 -1
  30. package/dist/css/brands/bild/semantic/breakpoints/breakpoint-sm-390px-compact.css +1 -1
  31. package/dist/css/brands/bild/semantic/breakpoints/breakpoint-xs-320px.css +1 -1
  32. package/dist/css/brands/bild/semantic/color/colormode-dark.css +1 -1
  33. package/dist/css/brands/bild/semantic/color/colormode-light.css +1 -1
  34. package/dist/css/brands/bild/semantic/effects/effects-dark.css +50 -26
  35. package/dist/css/brands/bild/semantic/effects/effects-light.css +50 -26
  36. package/dist/css/brands/bild/semantic/typography/typography-lg.css +716 -532
  37. package/dist/css/brands/bild/semantic/typography/typography-md.css +709 -525
  38. package/dist/css/brands/bild/semantic/typography/typography-sm.css +711 -527
  39. package/dist/css/brands/bild/semantic/typography/typography-xs.css +711 -527
  40. package/dist/css/brands/sportbild/density/density-compact.css +1 -1
  41. package/dist/css/brands/sportbild/density/density-default.css +1 -1
  42. package/dist/css/brands/sportbild/density/density-spacious.css +1 -1
  43. package/dist/css/brands/sportbild/overrides/brandcolormapping.css +1 -1
  44. package/dist/css/brands/sportbild/overrides/brandtokenmapping.css +1 -1
  45. package/dist/css/brands/sportbild/semantic/breakpoints/breakpoint-lg-1024px-regular.css +1 -1
  46. package/dist/css/brands/sportbild/semantic/breakpoints/breakpoint-md-600px.css +1 -1
  47. package/dist/css/brands/sportbild/semantic/breakpoints/breakpoint-sm-390px-compact.css +1 -1
  48. package/dist/css/brands/sportbild/semantic/breakpoints/breakpoint-xs-320px.css +1 -1
  49. package/dist/css/brands/sportbild/semantic/color/colormode-dark.css +1 -1
  50. package/dist/css/brands/sportbild/semantic/color/colormode-light.css +1 -1
  51. package/dist/css/brands/sportbild/semantic/effects/effects-dark.css +50 -26
  52. package/dist/css/brands/sportbild/semantic/effects/effects-light.css +50 -26
  53. package/dist/css/brands/sportbild/semantic/typography/typography-lg.css +750 -566
  54. package/dist/css/brands/sportbild/semantic/typography/typography-md.css +749 -565
  55. package/dist/css/brands/sportbild/semantic/typography/typography-sm.css +751 -567
  56. package/dist/css/brands/sportbild/semantic/typography/typography-xs.css +751 -567
  57. package/dist/css/shared/colorprimitive.css +6 -6
  58. package/dist/css/shared/fontprimitive.css +1 -1
  59. package/dist/css/shared/sizeprimitive.css +1 -1
  60. package/dist/css/shared/spaceprimitive.css +2 -2
  61. package/dist/flutter/shared/colorprimitive.dart +5 -5
  62. package/dist/flutter/shared/spaceprimitive.dart +1 -1
  63. package/dist/ios/brands/advertorial/sizeclass-compact/Typography.swift +364 -180
  64. package/dist/ios/brands/advertorial/sizeclass-regular/Typography.swift +364 -180
  65. package/dist/ios/brands/bild/sizeclass-compact/Typography.swift +364 -180
  66. package/dist/ios/brands/bild/sizeclass-regular/Typography.swift +364 -180
  67. package/dist/ios/brands/sportbild/sizeclass-compact/Typography.swift +364 -180
  68. package/dist/ios/brands/sportbild/sizeclass-regular/Typography.swift +364 -180
  69. package/dist/ios/shared/Colorprimitive.swift +5 -5
  70. package/dist/ios/shared/Spaceprimitive.swift +1 -1
  71. package/dist/js/brands/advertorial/density/density-compact.js +1 -1
  72. package/dist/js/brands/advertorial/density/density-default.js +1 -1
  73. package/dist/js/brands/advertorial/density/density-spacious.js +1 -1
  74. package/dist/js/brands/advertorial/overrides/brandtokenmapping.js +1 -1
  75. package/dist/js/brands/advertorial/semantic/breakpoints/breakpoint-lg-1024px-regular.js +1 -1
  76. package/dist/js/brands/advertorial/semantic/breakpoints/breakpoint-md-600px.js +1 -1
  77. package/dist/js/brands/advertorial/semantic/breakpoints/breakpoint-sm-390px-compact.js +1 -1
  78. package/dist/js/brands/advertorial/semantic/breakpoints/breakpoint-xs-320px.js +1 -1
  79. package/dist/js/brands/advertorial/semantic/effects/effects-dark.js +1 -1
  80. package/dist/js/brands/advertorial/semantic/effects/effects-light.js +1 -1
  81. package/dist/js/brands/advertorial/semantic/typography/typography-lg.js +1 -1
  82. package/dist/js/brands/advertorial/semantic/typography/typography-md.js +1 -1
  83. package/dist/js/brands/advertorial/semantic/typography/typography-sm.js +1 -1
  84. package/dist/js/brands/advertorial/semantic/typography/typography-xs.js +1 -1
  85. package/dist/js/brands/bild/density/density-compact.js +1 -1
  86. package/dist/js/brands/bild/density/density-default.js +1 -1
  87. package/dist/js/brands/bild/density/density-spacious.js +1 -1
  88. package/dist/js/brands/bild/overrides/brandcolormapping.js +1 -1
  89. package/dist/js/brands/bild/overrides/brandtokenmapping.js +1 -1
  90. package/dist/js/brands/bild/semantic/breakpoints/breakpoint-lg-1024px-regular.js +1 -1
  91. package/dist/js/brands/bild/semantic/breakpoints/breakpoint-md-600px.js +1 -1
  92. package/dist/js/brands/bild/semantic/breakpoints/breakpoint-sm-390px-compact.js +1 -1
  93. package/dist/js/brands/bild/semantic/breakpoints/breakpoint-xs-320px.js +1 -1
  94. package/dist/js/brands/bild/semantic/color/colormode-dark.js +1 -1
  95. package/dist/js/brands/bild/semantic/color/colormode-light.js +1 -1
  96. package/dist/js/brands/bild/semantic/effects/effects-dark.js +1 -1
  97. package/dist/js/brands/bild/semantic/effects/effects-light.js +1 -1
  98. package/dist/js/brands/bild/semantic/typography/typography-lg.js +1 -1
  99. package/dist/js/brands/bild/semantic/typography/typography-md.js +1 -1
  100. package/dist/js/brands/bild/semantic/typography/typography-sm.js +1 -1
  101. package/dist/js/brands/bild/semantic/typography/typography-xs.js +1 -1
  102. package/dist/js/brands/sportbild/density/density-compact.js +1 -1
  103. package/dist/js/brands/sportbild/density/density-default.js +1 -1
  104. package/dist/js/brands/sportbild/density/density-spacious.js +1 -1
  105. package/dist/js/brands/sportbild/overrides/brandcolormapping.js +1 -1
  106. package/dist/js/brands/sportbild/overrides/brandtokenmapping.js +1 -1
  107. package/dist/js/brands/sportbild/semantic/breakpoints/breakpoint-lg-1024px-regular.js +1 -1
  108. package/dist/js/brands/sportbild/semantic/breakpoints/breakpoint-md-600px.js +1 -1
  109. package/dist/js/brands/sportbild/semantic/breakpoints/breakpoint-sm-390px-compact.js +1 -1
  110. package/dist/js/brands/sportbild/semantic/breakpoints/breakpoint-xs-320px.js +1 -1
  111. package/dist/js/brands/sportbild/semantic/color/colormode-dark.js +1 -1
  112. package/dist/js/brands/sportbild/semantic/color/colormode-light.js +1 -1
  113. package/dist/js/brands/sportbild/semantic/effects/effects-dark.js +1 -1
  114. package/dist/js/brands/sportbild/semantic/effects/effects-light.js +1 -1
  115. package/dist/js/brands/sportbild/semantic/typography/typography-lg.js +1 -1
  116. package/dist/js/brands/sportbild/semantic/typography/typography-md.js +1 -1
  117. package/dist/js/brands/sportbild/semantic/typography/typography-sm.js +1 -1
  118. package/dist/js/brands/sportbild/semantic/typography/typography-xs.js +1 -1
  119. package/dist/js/shared/colorprimitive.js +6 -6
  120. package/dist/js/shared/fontprimitive.js +1 -1
  121. package/dist/js/shared/sizeprimitive.js +1 -1
  122. package/dist/js/shared/spaceprimitive.js +2 -2
  123. package/dist/json/shared/colorprimitive.json +15 -15
  124. package/dist/json/shared/spaceprimitive.json +3 -3
  125. package/dist/manifest.json +1 -1
  126. package/dist/scss/brands/advertorial/density/density-compact.scss +1 -1
  127. package/dist/scss/brands/advertorial/density/density-default.scss +1 -1
  128. package/dist/scss/brands/advertorial/density/density-spacious.scss +1 -1
  129. package/dist/scss/brands/advertorial/overrides/brandtokenmapping.scss +1 -1
  130. package/dist/scss/brands/advertorial/semantic/breakpoints/breakpoint-lg-1024px-regular.scss +1 -1
  131. package/dist/scss/brands/advertorial/semantic/breakpoints/breakpoint-md-600px.scss +1 -1
  132. package/dist/scss/brands/advertorial/semantic/breakpoints/breakpoint-sm-390px-compact.scss +1 -1
  133. package/dist/scss/brands/advertorial/semantic/breakpoints/breakpoint-xs-320px.scss +1 -1
  134. package/dist/scss/brands/advertorial/semantic/effects/effects-dark.scss +1 -1
  135. package/dist/scss/brands/advertorial/semantic/effects/effects-light.scss +1 -1
  136. package/dist/scss/brands/advertorial/semantic/typography/typography-lg.scss +1 -1
  137. package/dist/scss/brands/advertorial/semantic/typography/typography-md.scss +1 -1
  138. package/dist/scss/brands/advertorial/semantic/typography/typography-sm.scss +1 -1
  139. package/dist/scss/brands/advertorial/semantic/typography/typography-xs.scss +1 -1
  140. package/dist/scss/brands/bild/density/density-compact.scss +1 -1
  141. package/dist/scss/brands/bild/density/density-default.scss +1 -1
  142. package/dist/scss/brands/bild/density/density-spacious.scss +1 -1
  143. package/dist/scss/brands/bild/overrides/brandcolormapping.scss +1 -1
  144. package/dist/scss/brands/bild/overrides/brandtokenmapping.scss +1 -1
  145. package/dist/scss/brands/bild/semantic/breakpoints/breakpoint-lg-1024px-regular.scss +1 -1
  146. package/dist/scss/brands/bild/semantic/breakpoints/breakpoint-md-600px.scss +1 -1
  147. package/dist/scss/brands/bild/semantic/breakpoints/breakpoint-sm-390px-compact.scss +1 -1
  148. package/dist/scss/brands/bild/semantic/breakpoints/breakpoint-xs-320px.scss +1 -1
  149. package/dist/scss/brands/bild/semantic/color/colormode-dark.scss +1 -1
  150. package/dist/scss/brands/bild/semantic/color/colormode-light.scss +1 -1
  151. package/dist/scss/brands/bild/semantic/effects/effects-dark.scss +1 -1
  152. package/dist/scss/brands/bild/semantic/effects/effects-light.scss +1 -1
  153. package/dist/scss/brands/bild/semantic/typography/typography-lg.scss +1 -1
  154. package/dist/scss/brands/bild/semantic/typography/typography-md.scss +1 -1
  155. package/dist/scss/brands/bild/semantic/typography/typography-sm.scss +1 -1
  156. package/dist/scss/brands/bild/semantic/typography/typography-xs.scss +1 -1
  157. package/dist/scss/brands/sportbild/density/density-compact.scss +1 -1
  158. package/dist/scss/brands/sportbild/density/density-default.scss +1 -1
  159. package/dist/scss/brands/sportbild/density/density-spacious.scss +1 -1
  160. package/dist/scss/brands/sportbild/overrides/brandcolormapping.scss +1 -1
  161. package/dist/scss/brands/sportbild/overrides/brandtokenmapping.scss +1 -1
  162. package/dist/scss/brands/sportbild/semantic/breakpoints/breakpoint-lg-1024px-regular.scss +1 -1
  163. package/dist/scss/brands/sportbild/semantic/breakpoints/breakpoint-md-600px.scss +1 -1
  164. package/dist/scss/brands/sportbild/semantic/breakpoints/breakpoint-sm-390px-compact.scss +1 -1
  165. package/dist/scss/brands/sportbild/semantic/breakpoints/breakpoint-xs-320px.scss +1 -1
  166. package/dist/scss/brands/sportbild/semantic/color/colormode-dark.scss +1 -1
  167. package/dist/scss/brands/sportbild/semantic/color/colormode-light.scss +1 -1
  168. package/dist/scss/brands/sportbild/semantic/effects/effects-dark.scss +1 -1
  169. package/dist/scss/brands/sportbild/semantic/effects/effects-light.scss +1 -1
  170. package/dist/scss/brands/sportbild/semantic/typography/typography-lg.scss +1 -1
  171. package/dist/scss/brands/sportbild/semantic/typography/typography-md.scss +1 -1
  172. package/dist/scss/brands/sportbild/semantic/typography/typography-sm.scss +1 -1
  173. package/dist/scss/brands/sportbild/semantic/typography/typography-xs.scss +1 -1
  174. package/dist/scss/shared/colorprimitive.scss +6 -6
  175. package/dist/scss/shared/fontprimitive.scss +1 -1
  176. package/dist/scss/shared/sizeprimitive.scss +1 -1
  177. package/dist/scss/shared/spaceprimitive.scss +2 -2
  178. package/package.json +1 -1
@@ -9,237 +9,421 @@ import UIKit
9
9
 
10
10
  extension UIFont {
11
11
  struct TypographyBildcompact {
12
- /** Display styles are used for large, attention-grabbing text, typically in hero sections, landing pages, or promotional contexts. They emphasize hierarchy and visual impact. Font size: 40 - 40 - 72 - 120 */
13
- static let display_display1 = UIFont(name: "Gotham", size: 40)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 40, weight: .heavy)
14
- /** Display styles are used for large, attention-grabbing text, typically in hero sections, landing pages, or promotional contexts. They emphasize hierarchy and visual impact. Font size: 36 - 36 - 42 - 64 */
15
- static let display_display2 = UIFont(name: "Gotham", size: 36)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 36, weight: .heavy)
16
- /** Display styles are used for large, attention-grabbing text, typically in hero sections, landing pages, or promotional contexts. They emphasize hierarchy and visual impact. Font size: 28 - 28 - 32 - 40 */
17
- static let display_display3 = UIFont(name: "Gotham", size: 28)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 28, weight: .heavy)
18
- /** Headlines structure content into clear sections. They are prominent but more versatile than Display styles, used across articles, teasers and modules. Font size: 48 - 48 - 72 - 100 */
19
- static let headline_headline1 = UIFont(name: "Gotham Condensed", size: 48)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 48, weight: .light)
20
- /** Headlines structure content into clear sections. They are prominent but more versatile than Display styles, used across articles, teasers and modules. This text style's token for the font size parameter changes across device sizes as follows: 40 - 40 - 48 - 64 */
21
- static let headline_headline2 = UIFont(name: "Gotham Condensed", size: 40)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 40, weight: .light)
22
- /** Headlines structure content into clear sections. They are prominent but more versatile than Display styles, used across articles, teasers and modules. This text style's font size parameter is controlled by the headline3FontSize token: 28 - 28 - 36 - 40 */
23
- static let headline_headline3 = UIFont(name: "Gotham Condensed", size: 28)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 28, weight: .light)
24
- /** Headlines structure content into clear sections. They are prominent but more versatile than Display styles, used across articles, teasers and modules. Font size: 22 - 22 - 26 - 32 */
25
- static let headline_headline4 = UIFont(name: "Gotham Condensed", size: 22)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 22, weight: .light)
26
- /** This Subheadlines text style is used in articles. They are placed under the headline at the top of an article. Subheadlines can appear in some teasers also. Font size: 24 - 24 - 32 - 36 */
27
- static let subheadline_subheadline1 = UIFont(name: "Gotham Condensed", size: 24)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 24, weight: .bold)
28
- /** Kickers are short introductory lines placed above a headline to provide context, category, or emphasis. They support content orientation. Font size: 18 - 18 - 22 - 30 --//*//-- currently css uses kicker0 for the naming of this text style and sequence of font size changes */
29
- static let kicker_kicker1 = UIFont(name: "Gotham XNarrow", size: 18)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 18, weight: .light)
30
- /** Kickers are short introductory lines placed above a headline to provide context, category, or emphasis. They support content orientation. Font size: 18 - 18 - 22 - 24 --//*//-- currently css uses kicker1 for the naming of this text style and sequence of font size changes */
31
- static let kicker_kicker2 = UIFont(name: "Gotham XNarrow", size: 18)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 18, weight: .light)
32
- /** Kickers are short introductory lines placed above a headline to provide context, category, or emphasis. They support content orientation. Font size: 16 - 16 - 18 - 20 --//*//-- currently css uses kicker2 for the naming of this text style and sequence of font size changes */
33
- static let kicker_kicker3 = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
34
- /** Kickers are short introductory lines placed above a headline to provide context, category, or emphasis. They support content orientation. Font size: 14 - 14 - 16 - 16 --//*//-- currently css uses kicker3 for the naming of this text style and sequence of font size changes */
35
- static let kicker_kicker4 = UIFont(name: "Gotham XNarrow", size: 14)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 14, weight: .light)
36
- /** Title styles are mid-level headings, often used for module names, card headers, or section labels. They balance prominence with readability. Font size: 22 - 22 - 22 - 28 */
37
- static let title_title1 = UIFont(name: "Gotham", size: 22)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 22, weight: .heavy)
38
- /** Title styles are mid-level headings, often used for module names, card headers, or section labels. They balance prominence with readability. Font size: 22 - 22 - 22 - 28 */
39
- static let title_title1uppercase = UIFont(name: "Gotham", size: 22)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 22, weight: .heavy)
40
- /** Title styles are mid-level headings, often used for module names, card headers, or section labels. They balance prominence with readability.
12
+ // MARK: - ============================================
13
+ // MARK: - .DSDOCSSTYLES
14
+ // MARK: - ============================================
41
15
 
42
- In the previous system, this style was named Caption. For greater clarity and consistency, it has been renamed to title2. Font size: 16 - 16 - 18 - 20 */
43
- static let title_title2 = UIFont(name: "Gotham", size: 16)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 16, weight: .heavy)
44
- /** Title styles are mid-level headings, often used for module names, card headers, or section labels. They balance prominence with readability.
16
+ static let .pageheaderdescription = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
17
+ /** This text style is only used on the design system's documentation for code syntax snippets. */
18
+ static let .codesnippets = UIFont(name: "Source Code Pro", size: 12)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 12, weight: .light)
19
+ /** This text style is only used for mockup pages of the design system website. */
20
+ static let .bilddesignsidemenu = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
21
+ /** This text style is only used for mockup pages of the design system website. */
22
+ static let .bilddesignsidemenuactive = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
23
+ /** This text style is only used for mockup pages of the design system website. */
24
+ static let .bilddesignsidemenuhover = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.semibold) ?? UIFont.systemFont(ofSize: 16, weight: .semibold)
25
+ /** This text style is only used for mockups the vertical video component teaser headlines. */
26
+ static let .verticalvideosmockheadlines = UIFont(name: "Gotham Condensed", size: 22)?.withWeight(.semibold) ?? UIFont.systemFont(ofSize: 22, weight: .semibold)
27
+ /** This text style is used on documentation pages that contain some token information. */
28
+ static let .tokenspecl = UIFont(name: "Source Code Pro", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
29
+
30
+ // MARK: - ============================================
31
+ // MARK: - .SPECS
32
+ // MARK: - ============================================
33
+
34
+ /** This text style is only used for audit pages of the design system. */
35
+ static let .specsxs = UIFont(name: "Gotham", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
36
+ /** This text style is only used for audit pages of the design system. */
37
+ static let .specss = UIFont(name: "Gotham", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
38
+ /** This text style is only used for audit pages of the design system. */
39
+ static let .specsms = UIFont(name: "Gotham", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
40
+ /** This text style is only used for audit pages of the design system. */
41
+ static let .specsm = UIFont(name: "Gotham", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
42
+ /** This text style is only used for audit pages of the design system. */
43
+ static let .specsml = UIFont(name: "Gotham", size: 64)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 64, weight: .light)
44
+ /** This text style is only used for audit pages of the design system. */
45
+ static let .specsl = UIFont(name: "Gotham", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
46
+ /** This text style is only used for audit pages of the design system. */
47
+ static let .specsxl = UIFont(name: "Gotham", size: 16)?.withWeight(.semibold) ?? UIFont.systemFont(ofSize: 16, weight: .semibold)
48
+ /** This text style is only used for audit pages of the design system. */
49
+ static let .specsxxl = UIFont(name: "Gotham", size: 16)?.withWeight(.semibold) ?? UIFont.systemFont(ofSize: 16, weight: .semibold)
50
+
51
+ // MARK: - ============================================
52
+ // MARK: - ACCORDION
53
+ // MARK: - ============================================
45
54
 
46
- In the previous system, this style was named Caption. For greater clarity and consistency, it has been renamed to title2. Font size: 16 - 16 - 18 - 20 */
47
- static let title_title2uppercase = UIFont(name: "Gotham", size: 16)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 16, weight: .heavy)
48
- /** Callouts highlight key information, quotes, or important notes inside content. They stand apart from body text to draw attention. There is overlap between this text style and the title text styles. Font size: 18 - 18 - 22 - 22 */
49
- static let callout_callout = UIFont(name: "Gotham", size: 18)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 18, weight: .heavy)
50
- /** Body styles are the default for running text. They prioritize readability and are optimized for long-form content across devices. Font size remains constant at 21 across device sizes. */
51
- static let body_body = UIFont(name: "Gotham XNarrow", size: 21)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 21, weight: .light)
52
- /** Body styles are the default for running text. They prioritize readability and are optimized for long-form content across devices. Font size remains constant at 21 across device sizes. */
53
- static let body_bodyitalic = UIFont(name: "Gotham XNarrow", size: 21)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 21, weight: .light)
54
- /** Body styles are the default for running text. They prioritize readability and are optimized for long-form content across devices. Font size remains constant at 21 across device sizes. */
55
- static let body_bodybold = UIFont(name: "Gotham XNarrow", size: 21)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 21, weight: .bold)
56
- /** Body styles are the default for running text. They prioritize readability and are optimized for long-form content across devices. Font size remains constant at 21 across device sizes. */
57
- static let body_bodybolditalic = UIFont(name: "Gotham XNarrow", size: 21)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 21, weight: .light)
58
- /** Use this text style for styling elements that are clickable text links inside body texts. This style is often found in article texts. Font size remains constant at 21 across device sizes. */
59
- static let textlink_textlink = UIFont(name: "Gotham XNarrow", size: 21)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 21, weight: .light)
60
- /** Use this text style for styling elements that are clickable text links inside body texts that are using the italic style. This style is often found in article texts that need to show contrast for publications titles, specific words or names. Font size remains constant at 21 across device sizes. */
61
- static let textlink_textlinkitalic = UIFont(name: "Gotham XNarrow", size: 21)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 21, weight: .light)
62
- /** Use this text style for styling elements that are clickable text links inside emphasized body texts that are using the bold or html strong style. This style is often found in article texts that need to show contrast for specific words or names. Font size remains constant at 21 across device sizes. */
63
- static let textlink_textlinkbold = UIFont(name: "Gotham XNarrow", size: 21)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 21, weight: .bold)
64
- /** Use this style for body text links or other text links that are in active state. Font size remains constant at 21 across device sizes. */
65
- static let textlink_textlinkhover = UIFont(name: "Gotham XNarrow", size: 21)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 21, weight: .light)
66
- /** Use this style for body text links or other text links that are in active state. Font size remains constant at 21 across device sizes. */
67
- static let textlink_textlinkboldhover = UIFont(name: "Gotham XNarrow", size: 21)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 21, weight: .bold)
68
- /** Footnotes are used for disclaimers, annotations, or secondary details. They are small in size and carry low visual weight. This specific style is commonly used on small two lines of text that are seen on standard teasers. The font size of this text style is similar to the label text style. This text style should be chosen when longer small descriptive texts in a small font size is needed where as the label text style should be used for shorter identifier texts. Font size: 16 - 16 - 16 - 18 */
69
- static let footnote_footnote1 = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
70
- /** Footnotes are used for disclaimers, annotations, or secondary details. They are small in size and carry low visual weight. This text style should be chosen when longer small descriptive texts in a small font size is needed where as the label text style should be used for shorter identifier texts. 16 - 16 - 16 - 18 */
71
- static let footnote_footnote1bold = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
72
- /** Footnotes are used for disclaimers, annotations, or secondary details. They are small in size and carry low visual weight. This text style should be chosen when longer small descriptive texts in a small font size is needed where as the label text style should be used for shorter identifier texts. Font size: 12 - 12 - 12 - 16 */
73
- static let footnote_footnote2 = UIFont(name: "Gotham XNarrow", size: 12)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 12, weight: .light)
74
- /** Footnotes are used for disclaimers, annotations, or secondary details. They are small in size and carry low visual weight. This text style should be chosen when longer small descriptive texts in a small font size is needed where as the label text style should be used for shorter identifier texts. Font size: 12 - 12 - 12 - 16 */
75
- static let footnote_footnote2bold = UIFont(name: "Gotham XNarrow", size: 12)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 12, weight: .bold)
76
- /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size value remains constant at 17 across device sizes. */
77
- static let label_label1 = UIFont(name: "Gotham XNarrow", size: 17)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 17, weight: .light)
78
- /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size value remains constant at 17 across device sizes. */
79
- static let label_label1bold = UIFont(name: "Gotham XNarrow", size: 17)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 17, weight: .bold)
80
- /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size changes across device sizes: 10 - 10 - 15 - 17 */
81
- static let label_label1boldresp = UIFont(name: "Gotham XNarrow", size: 10)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 10, weight: .bold)
82
- /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size value remains constant at 17 across device sizes. */
83
- static let label_label1uppercasebold = UIFont(name: "Gotham XNarrow", size: 17)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 17, weight: .bold)
84
- /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size value remains constant at 15 across device sizes. */
85
- static let label_label2 = UIFont(name: "Gotham XNarrow", size: 15)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 15, weight: .light)
86
- /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size value remains constant at 15 across device sizes. */
87
- static let label_label2uppercase = UIFont(name: "Gotham XNarrow", size: 15)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 15, weight: .light)
88
- /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size value remains constant at 15 across device sizes. */
89
- static let label_label2bold = UIFont(name: "Gotham XNarrow", size: 15)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 15, weight: .bold)
90
- /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This style used on special navi component simiiar to link lane menu items. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. The font size value remains constant at 15 across device sizes. */
91
- static let label_label2uppercasebold = UIFont(name: "Gotham XNarrow", size: 15)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 15, weight: .bold)
92
- /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size value remains constant at 12 across device sizes. */
93
- static let label_label3 = UIFont(name: "Gotham XNarrow", size: 12)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 12, weight: .light)
94
- /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size value remains constant at 12 across device sizes. Current online CSS .nav_btn--type-list & .nav_btn__text // --nav-btn */
95
- static let label_label3uppercase = UIFont(name: "Gotham XNarrow", size: 12)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 12, weight: .light)
96
- /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size value remains constant at 12 across device sizes. */
97
- static let label_label3bold = UIFont(name: "Gotham XNarrow", size: 12)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 12, weight: .bold)
98
- /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size value remains constant at 12 across device sizes. */
99
- static let label_label3uppercasebold = UIFont(name: "Gotham XNarrow", size: 12)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 12, weight: .bold)
100
- /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size value remains constant at 8. */
101
- static let label_label4 = UIFont(name: "Gotham XNarrow", size: 8)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 8, weight: .light)
102
- /** Use this text style for sections of text that are inside a fieldset with a quotation given by a person in an interview or a section of text from a larger body of text that need to be emphasized. */
103
- static let quote_quote = UIFont(name: "Gotham", size: 16)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 16, weight: .heavy)
104
55
  /** This text style is for use on accordion labels */
105
- static let accordion_accordionlabel = UIFont(name: "Gotham XNarrow", size: 17)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 17, weight: .bold)
56
+ static let accordionlabel = UIFont(name: "Gotham XNarrow", size: 17)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 17, weight: .bold)
57
+
58
+ // MARK: - ============================================
59
+ // MARK: - ARTICLE
60
+ // MARK: - ============================================
61
+
106
62
  /** This text style contains the variables necessary for setting how the font parameters for the article kicker behaves across breakpoints. For font size, this component level token currently references the semantic level token kicker1FontSize. */
107
- static let article_articlekicker = UIFont(name: "Gotham XNarrow", size: 18)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 18, weight: .light)
63
+ static let articlekicker = UIFont(name: "Gotham XNarrow", size: 18)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 18, weight: .light)
108
64
  /** This text style is used on image captions that show up in article pages only. */
109
- static let article_articleimagecaption = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
65
+ static let articleimagecaption = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
110
66
  /** This component level text style is reserved for article page headline texts that show up at the top of article pages. This text style references the generic text styles headline1 and headline2 font size variables. 40 - 40 - 72 - 100 */
111
- static let article_articleheadline = UIFont(name: "Gotham Condensed", size: 40)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 40, weight: .light)
67
+ static let articleheadline = UIFont(name: "Gotham Condensed", size: 40)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 40, weight: .light)
112
68
  /** This text style is used on short pieces of text that give information about where an image originated. It can also be used on short texts that give information about where a video originated. */
113
- static let article_articlemetasource = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
69
+ static let articlemetasource = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
114
70
  /** Use this text style for time and day text string that commonly shows up along with the article authors avatars. Font size: 12 - 12 - 14 - 16 */
115
- static let article_articletimestamp = UIFont(name: "Gotham", size: 12)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 12, weight: .heavy)
71
+ static let articletimestamp = UIFont(name: "Gotham", size: 12)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 12, weight: .heavy)
72
+
73
+ // MARK: - ============================================
74
+ // MARK: - ATEASER
75
+ // MARK: - ============================================
76
+
77
+ /** 16 - 16 - 22 - 24 | This text style currently uses two different semantic styles within it, the kicker3 for XS & S, and kicker2 for MD & LG */
78
+ static let ateaserkicker = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
79
+ /** This text style references the semantic text styles headline3 (XS&SM) and headline2 (MD&LG). 28 - 28 - 48 - 64 */
80
+ static let ateaserheadline = UIFont(name: "Gotham Condensed", size: 28)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 28, weight: .light)
81
+
82
+ // MARK: - ============================================
83
+ // MARK: - AUDIOPLAYER
84
+ // MARK: - ============================================
85
+
116
86
  /** This text style is used on audio player labels for elapsed time, reproduction speed and short functionality description text. Font size: 16 - 16 - 16 - 18 */
117
- static let audioplayer_audioplayerlabel = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
87
+ static let audioplayerlabel = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
88
+
89
+ // MARK: - ============================================
90
+ // MARK: - AVATAR
91
+ // MARK: - ============================================
92
+
118
93
  /** This text style is used for avatar on iOS & Android apps. 12 - 12 - 14 - 16 */
119
- static let avatar_appavatar = UIFont(name: "Gotham", size: 12)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 12, weight: .heavy)
94
+ static let appavatar = UIFont(name: "Gotham", size: 12)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 12, weight: .heavy)
120
95
  /** This text style is used on article page avatar name labels in their default state. Font size: 16 - 16 - 16 - 18
121
96
 
122
97
  09-2025, on large devices this component uses the css var --footnote-font-size-lg at 1024px bp changes to --footnote-font-size-sm */
123
- static let avatar_avatardefault = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
98
+ static let avatardefault = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
124
99
  /** This text style is used on avatars that appear in article pages. Font size: 16 - 16 - 16 - 18 */
125
- static let avatar_avatarhover = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
100
+ static let avatarhover = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
126
101
  /** This text style is used on avatars that show up on article pages. Some avatars have the individual's first and last name on a single line. The second line of the avatar label is then used for secondary information such as the location of the individual in the world. 16 - 16 - 16 - 18 */
127
- static let avatar_avatarsecondaryinfo = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
102
+ static let avatarsecondaryinfo = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
128
103
  /** This text style is used for the active state of the second line of avatar labels. This label text is used for secondary information such as the location of the individual in the world. 16 - 16 - 16 - 18 */
129
- static let avatar_avatarsecondaryinfohover = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
104
+ static let avatarsecondaryinfohover = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
105
+
106
+ // MARK: - ============================================
107
+ // MARK: - BADGES
108
+ // MARK: - ============================================
109
+
130
110
  /** 14 - 14 - 16 - 16 -- This text style is specific to the video horizontal player's ad badge that shows up next to the yellow progress bar that plays during horizontal video advertisements. */
131
- static let badges_videoadbadge = UIFont(name: "Gotham XNarrow", size: 14)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 14, weight: .light)
111
+ static let videoadbadge = UIFont(name: "Gotham XNarrow", size: 14)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 14, weight: .light)
132
112
  /** This text style is used on horizontal video badges that contain either the video's total duration or a live status identifier. Font size: 16 - 16 - 18 - 18 */
133
- static let badges_videotimebadge = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
113
+ static let videotimebadge = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
114
+
115
+ // MARK: - ============================================
116
+ // MARK: - BODY
117
+ // MARK: - ============================================
118
+
119
+ /** Body styles are the default for running text. They prioritize readability and are optimized for long-form content across devices. Font size remains constant at 21 across device sizes. */
120
+ static let body = UIFont(name: "Gotham XNarrow", size: 21)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 21, weight: .light)
121
+ /** Body styles are the default for running text. They prioritize readability and are optimized for long-form content across devices. Font size remains constant at 21 across device sizes. */
122
+ static let bodyitalic = UIFont(name: "Gotham XNarrow", size: 21)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 21, weight: .light)
123
+ /** Body styles are the default for running text. They prioritize readability and are optimized for long-form content across devices. Font size remains constant at 21 across device sizes. */
124
+ static let bodybold = UIFont(name: "Gotham XNarrow", size: 21)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 21, weight: .bold)
125
+ /** Body styles are the default for running text. They prioritize readability and are optimized for long-form content across devices. Font size remains constant at 21 across device sizes. */
126
+ static let bodybolditalic = UIFont(name: "Gotham XNarrow", size: 21)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 21, weight: .light)
127
+
128
+ // MARK: - ============================================
129
+ // MARK: - BREADCRUMB
130
+ // MARK: - ============================================
131
+
134
132
  /** This text style is used for the last items in a breadcrumbs chain. It is commonly used in article pages and is a h1 in html. This text style's font size parameter is controlled by the breadcrumbFontSize variable. 15 - 15 - 15 - 12. Breadcrumb labels are smaller on largest devices. */
135
- static let breadcrumb_breadcrumb = UIFont(name: "Gotham XNarrow", size: 15)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 15, weight: .bold)
133
+ static let breadcrumb = UIFont(name: "Gotham XNarrow", size: 15)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 15, weight: .bold)
136
134
  /** This text style is used for breadcrumb links that are commonly used in article pages. This text style's font size parameter is controlled by the breadcrumbFontSize variable. 15 - 15 - 15 - 12. Breadcrumb labels are smaller on largest devices. */
137
- static let breadcrumb_breadcrumblink = UIFont(name: "Gotham XNarrow", size: 15)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 15, weight: .bold)
135
+ static let breadcrumblink = UIFont(name: "Gotham XNarrow", size: 15)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 15, weight: .bold)
138
136
  /** This text style is used for the hover state of breadcrumbs that are commonly used in article pages. This text style's font size parameter is controlled by the breadcrumbFontSize variable. 15 - 15 - 15 - 12. Breadcrumb labels are smaller on largest devices. */
139
- static let breadcrumb_breadcrumblinkhover = UIFont(name: "Gotham XNarrow", size: 15)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 15, weight: .bold)
137
+ static let breadcrumblinkhover = UIFont(name: "Gotham XNarrow", size: 15)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 15, weight: .bold)
138
+
139
+ // MARK: - ============================================
140
+ // MARK: - BREAKINGNEWS
141
+ // MARK: - ============================================
142
+
140
143
  /** Use this text style on breaking news headlines that horizontally scroll in the breaking news animated strip. Font size constant 21. */
141
- static let breakingnews_breakingnewstext = UIFont(name: "Gotham XNarrow", size: 21)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 21, weight: .bold)
144
+ static let breakingnewstext = UIFont(name: "Gotham XNarrow", size: 21)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 21, weight: .bold)
142
145
  /** Use this text style on the upper title of the breaking news headline strip. Font size constant 13. */
143
- static let breakingnews_breakingnewsuppertitle = UIFont(name: "Gotham", size: 13)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 13, weight: .heavy)
146
+ static let breakingnewsuppertitle = UIFont(name: "Gotham", size: 13)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 13, weight: .heavy)
144
147
  /** Use this font style on the breaking news badge's lower title. Font size constant 23. */
145
- static let breakingnews_breakingnewslowertitle = UIFont(name: "Gotham", size: 23)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 23, weight: .heavy)
148
+ static let breakingnewslowertitle = UIFont(name: "Gotham", size: 23)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 23, weight: .heavy)
149
+
150
+ // MARK: - ============================================
151
+ // MARK: - BUTTON
152
+ // MARK: - ============================================
153
+
146
154
  /** This text style is used on button labels. Its font size variable is currently in the Density collection. Font size changes across devices: 15 - 17 - 19 Current online CSS .btn--narrow & .btn */
147
- static let button_buttonlabel = UIFont(name: "Gotham XNarrow", size: 15)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 15, weight: .light)
155
+ static let buttonlabel = UIFont(name: "Gotham XNarrow", size: 15)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 15, weight: .light)
148
156
  /** This text style is used on buttons that are commonly used inside of a container for advertizers and partners. This text is used in buttons that open links to external content. Font size: 16 - 16 - 16 - 18 */
149
- static let button_partnerlinkbuttonlabel = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
157
+ static let partnerlinkbuttonlabel = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
158
+
159
+ // MARK: - ============================================
160
+ // MARK: - CALLOUT
161
+ // MARK: - ============================================
162
+
163
+ /** Callouts highlight key information, quotes, or important notes inside content. They stand apart from body text to draw attention. There is overlap between this text style and the title text styles. Font size: 18 - 18 - 22 - 22 */
164
+ static let callout = UIFont(name: "Gotham", size: 18)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 18, weight: .heavy)
165
+
166
+ // MARK: - ============================================
167
+ // MARK: - CHIPS
168
+ // MARK: - ============================================
169
+
150
170
  /** This text style is used on the chips component. They are commonly used for filtering parameters. font size: 16 - 16 - 16 - 18 */
151
- static let chips_chipslabel = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
171
+ static let chipslabel = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
172
+
173
+ // MARK: - ============================================
174
+ // MARK: - DISPLAY
175
+ // MARK: - ============================================
176
+
177
+ /** Display styles are used for large, attention-grabbing text, typically in hero sections, landing pages, or promotional contexts. They emphasize hierarchy and visual impact. Font size: 40 - 40 - 72 - 120 */
178
+ static let display1 = UIFont(name: "Gotham", size: 40)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 40, weight: .heavy)
179
+ /** Display styles are used for large, attention-grabbing text, typically in hero sections, landing pages, or promotional contexts. They emphasize hierarchy and visual impact. Font size: 36 - 36 - 42 - 64 */
180
+ static let display2 = UIFont(name: "Gotham", size: 36)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 36, weight: .heavy)
181
+ /** Display styles are used for large, attention-grabbing text, typically in hero sections, landing pages, or promotional contexts. They emphasize hierarchy and visual impact. Font size: 28 - 28 - 32 - 40 */
182
+ static let display3 = UIFont(name: "Gotham", size: 28)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 28, weight: .heavy)
183
+
184
+ // MARK: - ============================================
185
+ // MARK: - FOOTER
186
+ // MARK: - ============================================
187
+
152
188
  /** This text style is used for link texts contained inside cards that commonly show up at the bottom of pages in footers. This link text style's font size parameter uses the label2 font size variable. */
153
- static let footer_footercardlink = UIFont(name: "Gotham XNarrow", size: 15)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 15, weight: .light)
189
+ static let footercardlink = UIFont(name: "Gotham XNarrow", size: 15)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 15, weight: .light)
154
190
  /** This text style is found on footers that separate links with a vertical bar. Font size remains constant at 20 px across devices. */
155
- static let footer_footerlinkseparator = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
191
+ static let footerlinkseparator = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
156
192
  /** This text style is used in footer links that show up at the bottom of content pages. Font size constant at 11px. */
157
- static let footer_footerlinks = UIFont(name: "Gotham XNarrow", size: 11)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 11, weight: .bold)
193
+ static let footerlinks = UIFont(name: "Gotham XNarrow", size: 11)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 11, weight: .bold)
158
194
  /** User data and offer pages use this text style on footer links. Font size remains constant at 18px. */
159
- static let footer_footerlinkuser&offerpages = UIFont(name: "Gotham XNarrow", size: 18)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 18, weight: .light)
195
+ static let footerlinkuser&offerpages = UIFont(name: "Gotham XNarrow", size: 18)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 18, weight: .light)
196
+
197
+ // MARK: - ============================================
198
+ // MARK: - FOOTNOTE
199
+ // MARK: - ============================================
200
+
201
+ /** Footnotes are used for disclaimers, annotations, or secondary details. They are small in size and carry low visual weight. This specific style is commonly used on small two lines of text that are seen on standard teasers. The font size of this text style is similar to the label text style. This text style should be chosen when longer small descriptive texts in a small font size is needed where as the label text style should be used for shorter identifier texts. Font size: 16 - 16 - 16 - 18 */
202
+ static let footnote1 = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
203
+ /** Footnotes are used for disclaimers, annotations, or secondary details. They are small in size and carry low visual weight. This text style should be chosen when longer small descriptive texts in a small font size is needed where as the label text style should be used for shorter identifier texts. 16 - 16 - 16 - 18 */
204
+ static let footnote1bold = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
205
+ /** Footnotes are used for disclaimers, annotations, or secondary details. They are small in size and carry low visual weight. This text style should be chosen when longer small descriptive texts in a small font size is needed where as the label text style should be used for shorter identifier texts. Font size: 12 - 12 - 12 - 16 */
206
+ static let footnote2 = UIFont(name: "Gotham XNarrow", size: 12)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 12, weight: .light)
207
+ /** Footnotes are used for disclaimers, annotations, or secondary details. They are small in size and carry low visual weight. This text style should be chosen when longer small descriptive texts in a small font size is needed where as the label text style should be used for shorter identifier texts. Font size: 12 - 12 - 12 - 16 */
208
+ static let footnote2bold = UIFont(name: "Gotham XNarrow", size: 12)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 12, weight: .bold)
209
+
210
+ // MARK: - ============================================
211
+ // MARK: - HEADLINE
212
+ // MARK: - ============================================
213
+
214
+ /** Headlines structure content into clear sections. They are prominent but more versatile than Display styles, used across articles, teasers and modules. Font size: 48 - 48 - 72 - 100 */
215
+ static let headline1 = UIFont(name: "Gotham Condensed", size: 48)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 48, weight: .light)
216
+ /** Headlines structure content into clear sections. They are prominent but more versatile than Display styles, used across articles, teasers and modules. This text style's token for the font size parameter changes across device sizes as follows: 40 - 40 - 48 - 64 */
217
+ static let headline2 = UIFont(name: "Gotham Condensed", size: 40)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 40, weight: .light)
218
+ /** Headlines structure content into clear sections. They are prominent but more versatile than Display styles, used across articles, teasers and modules. This text style's font size parameter is controlled by the headline3FontSize token: 28 - 28 - 36 - 40 */
219
+ static let headline3 = UIFont(name: "Gotham Condensed", size: 28)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 28, weight: .light)
220
+ /** Headlines structure content into clear sections. They are prominent but more versatile than Display styles, used across articles, teasers and modules. Font size: 22 - 22 - 26 - 32 */
221
+ static let headline4 = UIFont(name: "Gotham Condensed", size: 22)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 22, weight: .light)
222
+
223
+ // MARK: - ============================================
224
+ // MARK: - INPUTFIELD
225
+ // MARK: - ============================================
226
+
160
227
  /** This text style is used in dropdowns and other text input fields such as date inputs, search input fields and other inputs for text found in forms for example. Font size references a variable from the density collection. 15 - 17 - 19 */
161
- static let inputfield_textinputfieldlabel = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
228
+ static let textinputfieldlabel = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
229
+
230
+ // MARK: - ============================================
231
+ // MARK: - KICKER
232
+ // MARK: - ============================================
233
+
234
+ /** Kickers are short introductory lines placed above a headline to provide context, category, or emphasis. They support content orientation. Font size: 18 - 18 - 22 - 30 --//*//-- currently css uses kicker0 for the naming of this text style and sequence of font size changes */
235
+ static let kicker1 = UIFont(name: "Gotham XNarrow", size: 18)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 18, weight: .light)
236
+ /** Kickers are short introductory lines placed above a headline to provide context, category, or emphasis. They support content orientation. Font size: 18 - 18 - 22 - 24 --//*//-- currently css uses kicker1 for the naming of this text style and sequence of font size changes */
237
+ static let kicker2 = UIFont(name: "Gotham XNarrow", size: 18)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 18, weight: .light)
238
+ /** Kickers are short introductory lines placed above a headline to provide context, category, or emphasis. They support content orientation. Font size: 16 - 16 - 18 - 20 --//*//-- currently css uses kicker2 for the naming of this text style and sequence of font size changes */
239
+ static let kicker3 = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
240
+ /** Kickers are short introductory lines placed above a headline to provide context, category, or emphasis. They support content orientation. Font size: 14 - 14 - 16 - 16 --//*//-- currently css uses kicker3 for the naming of this text style and sequence of font size changes */
241
+ static let kicker4 = UIFont(name: "Gotham XNarrow", size: 14)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 14, weight: .light)
242
+
243
+ // MARK: - ============================================
244
+ // MARK: - LABEL
245
+ // MARK: - ============================================
246
+
247
+ /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size value remains constant at 17 across device sizes. */
248
+ static let label1 = UIFont(name: "Gotham XNarrow", size: 17)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 17, weight: .light)
249
+ /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size value remains constant at 17 across device sizes. */
250
+ static let label1bold = UIFont(name: "Gotham XNarrow", size: 17)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 17, weight: .bold)
251
+ /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size changes across device sizes: 10 - 10 - 15 - 17 */
252
+ static let label1boldresp = UIFont(name: "Gotham XNarrow", size: 10)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 10, weight: .bold)
253
+ /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size value remains constant at 17 across device sizes. */
254
+ static let label1uppercasebold = UIFont(name: "Gotham XNarrow", size: 17)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 17, weight: .bold)
255
+ /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size value remains constant at 15 across device sizes. */
256
+ static let label2 = UIFont(name: "Gotham XNarrow", size: 15)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 15, weight: .light)
257
+ /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size value remains constant at 15 across device sizes. */
258
+ static let label2uppercase = UIFont(name: "Gotham XNarrow", size: 15)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 15, weight: .light)
259
+ /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size value remains constant at 15 across device sizes. */
260
+ static let label2bold = UIFont(name: "Gotham XNarrow", size: 15)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 15, weight: .bold)
261
+ /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This style used on special navi component simiiar to link lane menu items. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. The font size value remains constant at 15 across device sizes. */
262
+ static let label2uppercasebold = UIFont(name: "Gotham XNarrow", size: 15)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 15, weight: .bold)
263
+ /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size value remains constant at 12 across device sizes. */
264
+ static let label3 = UIFont(name: "Gotham XNarrow", size: 12)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 12, weight: .light)
265
+ /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size value remains constant at 12 across device sizes. Current online CSS .nav_btn--type-list & .nav_btn__text // --nav-btn */
266
+ static let label3uppercase = UIFont(name: "Gotham XNarrow", size: 12)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 12, weight: .light)
267
+ /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size value remains constant at 12 across device sizes. */
268
+ static let label3bold = UIFont(name: "Gotham XNarrow", size: 12)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 12, weight: .bold)
269
+ /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size value remains constant at 12 across device sizes. */
270
+ static let label3uppercasebold = UIFont(name: "Gotham XNarrow", size: 12)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 12, weight: .bold)
271
+ /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. This text style should be chosen when shorter small identifier texts in a small font size is needed where as the footnote text style should be used for longer descriptive texts. This text style's font size value remains constant at 8. */
272
+ static let label4 = UIFont(name: "Gotham XNarrow", size: 8)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 8, weight: .light)
273
+
274
+ // MARK: - ============================================
275
+ // MARK: - LIVETICKER
276
+ // MARK: - ============================================
277
+
162
278
  /** This text style is used on live ticker headlines. The font size changes between device sizes. 22 - 22 - 32 -32 */
163
- static let liveticker_livetickerheadline = UIFont(name: "Gotham Condensed", size: 22)?.withWeight(.semibold) ?? UIFont.systemFont(ofSize: 22, weight: .semibold)
279
+ static let livetickerheadline = UIFont(name: "Gotham Condensed", size: 22)?.withWeight(.semibold) ?? UIFont.systemFont(ofSize: 22, weight: .semibold)
164
280
  /** Use this text style on the live ticker time stamps. 14 - 14 - 16 - 16 */
165
- static let liveticker_livetickertimestamp = UIFont(name: "Gotham XNarrow", size: 14)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 14, weight: .bold)
281
+ static let livetickertimestamp = UIFont(name: "Gotham XNarrow", size: 14)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 14, weight: .bold)
282
+
283
+ // MARK: - ============================================
284
+ // MARK: - MEDIAPLAYERS
285
+ // MARK: - ============================================
286
+
166
287
  /** This text style is used on controller labels of the podcast media player. Font size: 16 - 16 - 16 - 18 */
167
- static let mediaplayers_podcastplayerlabel = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
288
+ static let podcastplayerlabel = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
168
289
  /** 14 - 14 - 16 - 16 -- This text style is specific to the video horizontal player's ad badge that shows up next to the yellow progress bar that plays during the video advertisement. */
169
- static let mediaplayers_videoadtime = UIFont(name: "Gotham", size: 14)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 14, weight: .heavy)
290
+ static let videoadtime = UIFont(name: "Gotham", size: 14)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 14, weight: .heavy)
170
291
  /** Use this text style on video player time badges that display elapsed, total or live information text labels. This text style references the label2 font size variable. 15px constant */
171
- static let mediaplayers_videoplayertime = UIFont(name: "Gotham", size: 14)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 14, weight: .heavy)
292
+ static let videoplayertime = UIFont(name: "Gotham", size: 14)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 14, weight: .heavy)
293
+
294
+ // MARK: - ============================================
295
+ // MARK: - MENU
296
+ // MARK: - ============================================
297
+
172
298
  /** This text style is used on a small title that is placed above tab elements that are seen on iOS and Android top menu bar. */
173
- static let menu_apptopbarstagetitle = UIFont(name: "Gotham", size: 12)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 12, weight: .heavy)
299
+ static let apptopbarstagetitle = UIFont(name: "Gotham", size: 12)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 12, weight: .heavy)
174
300
  /** iOS and Android apps currently have a top bar with tabs that when selected display different content within the main view of the device. This text style is used for a title text that provides information for the user to situate where they are within the app's content possibilities. */
175
- static let menu_apptopbartabstitle = UIFont(name: "Gotham", size: 12)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 12, weight: .heavy)
301
+ static let apptopbartabstitle = UIFont(name: "Gotham", size: 12)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 12, weight: .heavy)
176
302
  /** Used on menu link lane items and on mobile side menu drawer. Current online CSS naming: --nav-btn */
177
- static let menu_menuitemlabel = UIFont(name: "Gotham XNarrow", size: 15)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 15, weight: .light)
303
+ static let menuitemlabel = UIFont(name: "Gotham XNarrow", size: 15)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 15, weight: .light)
178
304
  /** Use this tokenized font style for menu items with icons that are more important than the menu link lane items. Current online CSS: .nav_btn--type-util */
179
- static let menu_menuitemutillabel = UIFont(name: "Gotham XNarrow", size: 12)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 12, weight: .light)
305
+ static let menuitemutillabel = UIFont(name: "Gotham XNarrow", size: 12)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 12, weight: .light)
306
+
307
+ // MARK: - ============================================
308
+ // MARK: - MQTEASER
309
+ // MARK: - ============================================
310
+
311
+ /** This component level text style references size variables for the semantic level. Specifically kicker4. 14 - 14 - 16 - 16 */
312
+ static let mqteaserkicker = UIFont(name: "Gotham XNarrow", size: 14)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 14, weight: .light)
313
+ /** This component level text style references the semantic level text sizes of headline3 and headline4.
314
+ XS-headline4FontSize:22 // SM-headline4FontSize:22 // MD-headline3FontSize:36 // LG-headline3FontSize:40 */
315
+ static let mqteaserheadline = UIFont(name: "Gotham Condensed", size: 22)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 22, weight: .light)
316
+
317
+ // MARK: - ============================================
318
+ // MARK: - NEWSTICKER
319
+ // MARK: - ============================================
320
+
180
321
  /** The vertical newsticker component has timestamps that use this text style. 16 - 16 - 16 - 18 */
181
- static let newsticker_newstickertimestamp = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
322
+ static let newstickertimestamp = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
182
323
  /** This text style is a component level option for the newsticker kicker. Currently the newsticker kicker uses the semantic text style kicker3. This text style references the semantic one. */
183
- static let newsticker_newstickerkicker = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
324
+ static let newstickerkicker = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
184
325
  /** This text style is used on NewsTicker Headlines. It references the semantic level text style headline3. 28 - 28 - 36 - 40 */
185
- static let newsticker_newstickerheadline = UIFont(name: "Gotham Condensed", size: 28)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 28, weight: .light)
326
+ static let newstickerheadline = UIFont(name: "Gotham Condensed", size: 28)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 28, weight: .light)
327
+
328
+ // MARK: - ============================================
329
+ // MARK: - PAGINATION
330
+ // MARK: - ============================================
331
+
186
332
  /** This component level text style stores the variables for the pagination component's active state (label1 with red accent color underline). Its size remains constant at 17px across device sizes. */
187
- static let pagination_numberedpaginationactive = UIFont(name: "Gotham XNarrow", size: 17)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 17, weight: .bold)
333
+ static let numberedpaginationactive = UIFont(name: "Gotham XNarrow", size: 17)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 17, weight: .bold)
334
+
335
+ // MARK: - ============================================
336
+ // MARK: - PAYWALL
337
+ // MARK: - ============================================
338
+
188
339
  /** This text style is used for the paywall price tag text. */
189
- static let paywall_paywallcardpricetag = UIFont(name: "Gotham", size: 64)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 64, weight: .heavy)
340
+ static let paywallcardpricetag = UIFont(name: "Gotham", size: 64)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 64, weight: .heavy)
190
341
  /** This text style is used on the paywall card under the price value. */
191
- static let paywall_paywallcardnote = UIFont(name: "Gotham", size: 40)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 40, weight: .heavy)
342
+ static let paywallcardnote = UIFont(name: "Gotham", size: 40)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 40, weight: .heavy)
343
+
344
+ // MARK: - ============================================
345
+ // MARK: - QTEASER
346
+ // MARK: - ============================================
347
+
348
+ /** This component level text style is used on the quad teaser headline. Its font size parameter references the semantic level variable headline1. 48 - 48 - 72 - 100 */
349
+ static let qteaserheadline = UIFont(name: "Gotham Condensed", size: 48)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 48, weight: .light)
350
+
351
+ // MARK: - ============================================
352
+ // MARK: - QUOTE
353
+ // MARK: - ============================================
354
+
355
+ /** Use this text style for sections of text that are inside a fieldset with a quotation given by a person in an interview or a section of text from a larger body of text that need to be emphasized. */
356
+ static let quote = UIFont(name: "Gotham", size: 16)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 16, weight: .heavy)
357
+
358
+ // MARK: - ============================================
359
+ // MARK: - SPECIALNAVI
360
+ // MARK: - ============================================
361
+
192
362
  /** Used on menu link lane items and on mobile side menu drawer. */
193
- static let specialnavi_specianaviitemlabel = UIFont(name: "Gotham XNarrow", size: 15)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 15, weight: .light)
363
+ static let specianaviitemlabel = UIFont(name: "Gotham XNarrow", size: 15)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 15, weight: .light)
364
+
365
+ // MARK: - ============================================
366
+ // MARK: - STDTEASER
367
+ // MARK: - ============================================
368
+
369
+ /** Standard teasers typography changes more than other teasers. On desktop they have a kicker, a headline and a short text. On mobile devices the short text is eliminated and the headline gains weight at device widths 600px. Then at small mobile sizes the weight drops once again. */
370
+ static let stdteaserheadline = UIFont(name: "Gotham Condensed", size: 22)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 22, weight: .light)
371
+
372
+ // MARK: - ============================================
373
+ // MARK: - SUBHEADLINE
374
+ // MARK: - ============================================
375
+
376
+ /** This Subheadlines text style is used in articles. They are placed under the headline at the top of an article. Subheadlines can appear in some teasers also. Font size: 24 - 24 - 32 - 36 */
377
+ static let subheadline1 = UIFont(name: "Gotham Condensed", size: 24)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 24, weight: .bold)
378
+
379
+ // MARK: - ============================================
380
+ // MARK: - TABS
381
+ // MARK: - ============================================
382
+
194
383
  /** This text style stores variables for the tab component. Tabs are similar to submenus and special navigation elements but tabs do not link to other URLs. */
195
- static let tabs_tablabel = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
384
+ static let tablabel = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
196
385
  /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. */
197
- static let tabs_appbottombarlabeldefault = UIFont(name: "Gotham XNarrow", size: 12)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 12, weight: .light)
386
+ static let appbottombarlabeldefault = UIFont(name: "Gotham XNarrow", size: 12)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 12, weight: .light)
198
387
  /** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. */
199
- static let tabs_appbottombarlabelactive = UIFont(name: "Gotham XNarrow", size: 12)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 12, weight: .bold)
200
- /** 16 - 16 - 22 - 24 | This text style currently uses two different semantic styles within it, the kicker3 for XS & S, and kicker2 for MD & LG */
201
- static let ateaser_ateaserkicker = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
202
- /** This text style references the semantic text styles headline3 (XS&SM) and headline2 (MD&LG). 28 - 28 - 48 - 64 */
203
- static let ateaser_ateaserheadline = UIFont(name: "Gotham Condensed", size: 28)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 28, weight: .light)
204
- /** This component level text style references size variables for the semantic level. Specifically kicker4. 14 - 14 - 16 - 16 */
205
- static let mqteaser_mqteaserkicker = UIFont(name: "Gotham XNarrow", size: 14)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 14, weight: .light)
206
- /** This component level text style references the semantic level text sizes of headline3 and headline4.
207
- XS-headline4FontSize:22 // SM-headline4FontSize:22 // MD-headline3FontSize:36 // LG-headline3FontSize:40 */
208
- static let mqteaser_mqteaserheadline = UIFont(name: "Gotham Condensed", size: 22)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 22, weight: .light)
209
- /** This component level text style is used on the quad teaser headline. Its font size parameter references the semantic level variable headline1. 48 - 48 - 72 - 100 */
210
- static let qteaser_qteaserheadline = UIFont(name: "Gotham Condensed", size: 48)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 48, weight: .light)
211
- /** Standard teasers typography changes more than other teasers. On desktop they have a kicker, a headline and a short text. On mobile devices the short text is eliminated and the headline gains weight at device widths 600px. Then at small mobile sizes the weight drops once again. */
212
- static let stdteaser_stdteaserheadline = UIFont(name: "Gotham Condensed", size: 22)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 22, weight: .light)
388
+ static let appbottombarlabelactive = UIFont(name: "Gotham XNarrow", size: 12)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 12, weight: .bold)
389
+
390
+ // MARK: - ============================================
391
+ // MARK: - TEXTLINK
392
+ // MARK: - ============================================
393
+
394
+ /** Use this text style for styling elements that are clickable text links inside body texts. This style is often found in article texts. Font size remains constant at 21 across device sizes. */
395
+ static let textlink = UIFont(name: "Gotham XNarrow", size: 21)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 21, weight: .light)
396
+ /** Use this text style for styling elements that are clickable text links inside body texts that are using the italic style. This style is often found in article texts that need to show contrast for publications titles, specific words or names. Font size remains constant at 21 across device sizes. */
397
+ static let textlinkitalic = UIFont(name: "Gotham XNarrow", size: 21)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 21, weight: .light)
398
+ /** Use this text style for styling elements that are clickable text links inside emphasized body texts that are using the bold or html strong style. This style is often found in article texts that need to show contrast for specific words or names. Font size remains constant at 21 across device sizes. */
399
+ static let textlinkbold = UIFont(name: "Gotham XNarrow", size: 21)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 21, weight: .bold)
400
+ /** Use this style for body text links or other text links that are in active state. Font size remains constant at 21 across device sizes. */
401
+ static let textlinkhover = UIFont(name: "Gotham XNarrow", size: 21)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 21, weight: .light)
402
+ /** Use this style for body text links or other text links that are in active state. Font size remains constant at 21 across device sizes. */
403
+ static let textlinkboldhover = UIFont(name: "Gotham XNarrow", size: 21)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 21, weight: .bold)
404
+
405
+ // MARK: - ============================================
406
+ // MARK: - TITLE
407
+ // MARK: - ============================================
408
+
409
+ /** Title styles are mid-level headings, often used for module names, card headers, or section labels. They balance prominence with readability. Font size: 22 - 22 - 22 - 28 */
410
+ static let title1 = UIFont(name: "Gotham", size: 22)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 22, weight: .heavy)
411
+ /** Title styles are mid-level headings, often used for module names, card headers, or section labels. They balance prominence with readability. Font size: 22 - 22 - 22 - 28 */
412
+ static let title1uppercase = UIFont(name: "Gotham", size: 22)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 22, weight: .heavy)
413
+ /** Title styles are mid-level headings, often used for module names, card headers, or section labels. They balance prominence with readability.
414
+
415
+ In the previous system, this style was named Caption. For greater clarity and consistency, it has been renamed to title2. Font size: 16 - 16 - 18 - 20 */
416
+ static let title2 = UIFont(name: "Gotham", size: 16)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 16, weight: .heavy)
417
+ /** Title styles are mid-level headings, often used for module names, card headers, or section labels. They balance prominence with readability.
418
+
419
+ In the previous system, this style was named Caption. For greater clarity and consistency, it has been renamed to title2. Font size: 16 - 16 - 18 - 20 */
420
+ static let title2uppercase = UIFont(name: "Gotham", size: 16)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 16, weight: .heavy)
421
+
422
+ // MARK: - ============================================
423
+ // MARK: - TOGGLESWITCHES
424
+ // MARK: - ============================================
425
+
213
426
  /** This text style is used on labels in list items with toggle switches found in app preferences. 14 - 14 - 16 - 18 */
214
- static let toggleswitches_apptoogleitemlabel = UIFont(name: "Gotham", size: 14)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 14, weight: .heavy)
215
- static let .dsdocsstyles_.pageheaderdescription = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
216
- /** This text style is only used on the design system's documentation for code syntax snippets. */
217
- static let .dsdocsstyles_.codesnippets = UIFont(name: "Source Code Pro", size: 12)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 12, weight: .light)
218
- /** This text style is only used for mockup pages of the design system website. */
219
- static let .dsdocsstyles_.bilddesignsidemenu = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
220
- /** This text style is only used for mockup pages of the design system website. */
221
- static let .dsdocsstyles_.bilddesignsidemenuactive = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
222
- /** This text style is only used for mockup pages of the design system website. */
223
- static let .dsdocsstyles_.bilddesignsidemenuhover = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.semibold) ?? UIFont.systemFont(ofSize: 16, weight: .semibold)
224
- /** This text style is only used for mockups the vertical video component teaser headlines. */
225
- static let .dsdocsstyles_.verticalvideosmockheadlines = UIFont(name: "Gotham Condensed", size: 22)?.withWeight(.semibold) ?? UIFont.systemFont(ofSize: 22, weight: .semibold)
226
- /** This text style is used on documentation pages that contain some token information. */
227
- static let .dsdocsstyles_.tokenspecl = UIFont(name: "Source Code Pro", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
228
- /** This text style is only used for audit pages of the design system. */
229
- static let .specs_.specsxs = UIFont(name: "Gotham", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
230
- /** This text style is only used for audit pages of the design system. */
231
- static let .specs_.specss = UIFont(name: "Gotham", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
232
- /** This text style is only used for audit pages of the design system. */
233
- static let .specs_.specsms = UIFont(name: "Gotham", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
234
- /** This text style is only used for audit pages of the design system. */
235
- static let .specs_.specsm = UIFont(name: "Gotham", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
236
- /** This text style is only used for audit pages of the design system. */
237
- static let .specs_.specsml = UIFont(name: "Gotham", size: 64)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 64, weight: .light)
238
- /** This text style is only used for audit pages of the design system. */
239
- static let .specs_.specsl = UIFont(name: "Gotham", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
240
- /** This text style is only used for audit pages of the design system. */
241
- static let .specs_.specsxl = UIFont(name: "Gotham", size: 16)?.withWeight(.semibold) ?? UIFont.systemFont(ofSize: 16, weight: .semibold)
242
- /** This text style is only used for audit pages of the design system. */
243
- static let .specs_.specsxxl = UIFont(name: "Gotham", size: 16)?.withWeight(.semibold) ?? UIFont.systemFont(ofSize: 16, weight: .semibold)
427
+ static let apptoogleitemlabel = UIFont(name: "Gotham", size: 14)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 14, weight: .heavy)
244
428
  }
245
429
  }