@marioschmidt/design-system-tokens 1.0.22 → 1.0.24
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.
- package/dist/android/brands/advertorial/sizeclass-compact/typography_styles.xml +297 -113
- package/dist/android/brands/advertorial/sizeclass-regular/typography_styles.xml +297 -113
- package/dist/android/brands/bild/sizeclass-compact/typography_styles.xml +297 -113
- package/dist/android/brands/bild/sizeclass-regular/typography_styles.xml +297 -113
- package/dist/android/brands/sportbild/sizeclass-compact/typography_styles.xml +297 -113
- package/dist/android/brands/sportbild/sizeclass-regular/typography_styles.xml +297 -113
- package/dist/css/brands/advertorial/density/density-compact.css +1 -1
- package/dist/css/brands/advertorial/density/density-default.css +1 -1
- package/dist/css/brands/advertorial/density/density-spacious.css +1 -1
- package/dist/css/brands/advertorial/overrides/brandtokenmapping.css +494 -494
- package/dist/css/brands/advertorial/semantic/breakpoints/breakpoint-lg-1024px-regular.css +773 -773
- package/dist/css/brands/advertorial/semantic/breakpoints/breakpoint-md-600px.css +773 -773
- package/dist/css/brands/advertorial/semantic/breakpoints/breakpoint-sm-390px-compact.css +773 -773
- package/dist/css/brands/advertorial/semantic/breakpoints/breakpoint-xs-320px.css +773 -773
- package/dist/css/brands/advertorial/semantic/effects/effects-dark.css +38 -14
- package/dist/css/brands/advertorial/semantic/effects/effects-light.css +38 -14
- package/dist/css/brands/advertorial/semantic/typography/typography-lg.css +298 -114
- package/dist/css/brands/advertorial/semantic/typography/typography-md.css +298 -114
- package/dist/css/brands/advertorial/semantic/typography/typography-sm.css +298 -114
- package/dist/css/brands/advertorial/semantic/typography/typography-xs.css +298 -114
- package/dist/css/brands/bild/density/density-compact.css +1 -1
- package/dist/css/brands/bild/density/density-default.css +1 -1
- package/dist/css/brands/bild/density/density-spacious.css +1 -1
- package/dist/css/brands/bild/overrides/brandcolormapping.css +140 -140
- package/dist/css/brands/bild/overrides/brandtokenmapping.css +494 -494
- package/dist/css/brands/bild/semantic/breakpoints/breakpoint-lg-1024px-regular.css +773 -773
- package/dist/css/brands/bild/semantic/breakpoints/breakpoint-md-600px.css +773 -773
- package/dist/css/brands/bild/semantic/breakpoints/breakpoint-sm-390px-compact.css +773 -773
- package/dist/css/brands/bild/semantic/breakpoints/breakpoint-xs-320px.css +773 -773
- package/dist/css/brands/bild/semantic/color/colormode-dark.css +385 -385
- package/dist/css/brands/bild/semantic/color/colormode-light.css +385 -385
- package/dist/css/brands/bild/semantic/effects/effects-dark.css +38 -14
- package/dist/css/brands/bild/semantic/effects/effects-light.css +38 -14
- package/dist/css/brands/bild/semantic/typography/typography-lg.css +298 -114
- package/dist/css/brands/bild/semantic/typography/typography-md.css +298 -114
- package/dist/css/brands/bild/semantic/typography/typography-sm.css +298 -114
- package/dist/css/brands/bild/semantic/typography/typography-xs.css +298 -114
- package/dist/css/brands/sportbild/density/density-compact.css +1 -1
- package/dist/css/brands/sportbild/density/density-default.css +1 -1
- package/dist/css/brands/sportbild/density/density-spacious.css +1 -1
- package/dist/css/brands/sportbild/overrides/brandcolormapping.css +140 -140
- package/dist/css/brands/sportbild/overrides/brandtokenmapping.css +494 -494
- package/dist/css/brands/sportbild/semantic/breakpoints/breakpoint-lg-1024px-regular.css +773 -773
- package/dist/css/brands/sportbild/semantic/breakpoints/breakpoint-md-600px.css +773 -773
- package/dist/css/brands/sportbild/semantic/breakpoints/breakpoint-sm-390px-compact.css +773 -773
- package/dist/css/brands/sportbild/semantic/breakpoints/breakpoint-xs-320px.css +773 -773
- package/dist/css/brands/sportbild/semantic/color/colormode-dark.css +385 -385
- package/dist/css/brands/sportbild/semantic/color/colormode-light.css +385 -385
- package/dist/css/brands/sportbild/semantic/effects/effects-dark.css +38 -14
- package/dist/css/brands/sportbild/semantic/effects/effects-light.css +38 -14
- package/dist/css/brands/sportbild/semantic/typography/typography-lg.css +298 -114
- package/dist/css/brands/sportbild/semantic/typography/typography-md.css +298 -114
- package/dist/css/brands/sportbild/semantic/typography/typography-sm.css +298 -114
- package/dist/css/brands/sportbild/semantic/typography/typography-xs.css +298 -114
- package/dist/css/shared/colorprimitive.css +97 -97
- package/dist/css/shared/fontprimitive.css +22 -22
- package/dist/css/shared/sizeprimitive.css +1 -1
- package/dist/css/shared/spaceprimitive.css +1 -1
- package/dist/flutter/brands/advertorial/overrides/brandtokenmapping.dart +291 -291
- package/dist/flutter/brands/advertorial/semantic/breakpoints/breakpoint-lg-1024px-regular.dart +635 -635
- package/dist/flutter/brands/advertorial/semantic/breakpoints/breakpoint-md-600px.dart +635 -635
- package/dist/flutter/brands/advertorial/semantic/breakpoints/breakpoint-sm-390px-compact.dart +635 -635
- package/dist/flutter/brands/advertorial/semantic/breakpoints/breakpoint-xs-320px.dart +635 -635
- package/dist/flutter/brands/bild/overrides/brandcolormapping.dart +91 -91
- package/dist/flutter/brands/bild/overrides/brandtokenmapping.dart +291 -291
- package/dist/flutter/brands/bild/semantic/breakpoints/breakpoint-lg-1024px-regular.dart +635 -635
- package/dist/flutter/brands/bild/semantic/breakpoints/breakpoint-md-600px.dart +635 -635
- package/dist/flutter/brands/bild/semantic/breakpoints/breakpoint-sm-390px-compact.dart +635 -635
- package/dist/flutter/brands/bild/semantic/breakpoints/breakpoint-xs-320px.dart +635 -635
- package/dist/flutter/brands/bild/semantic/color/colormode-dark.dart +389 -389
- package/dist/flutter/brands/bild/semantic/color/colormode-light.dart +389 -389
- package/dist/flutter/brands/sportbild/overrides/brandcolormapping.dart +91 -91
- package/dist/flutter/brands/sportbild/overrides/brandtokenmapping.dart +291 -291
- package/dist/flutter/brands/sportbild/semantic/breakpoints/breakpoint-lg-1024px-regular.dart +635 -635
- package/dist/flutter/brands/sportbild/semantic/breakpoints/breakpoint-md-600px.dart +635 -635
- package/dist/flutter/brands/sportbild/semantic/breakpoints/breakpoint-sm-390px-compact.dart +635 -635
- package/dist/flutter/brands/sportbild/semantic/breakpoints/breakpoint-xs-320px.dart +635 -635
- package/dist/flutter/brands/sportbild/semantic/color/colormode-dark.dart +389 -389
- package/dist/flutter/brands/sportbild/semantic/color/colormode-light.dart +389 -389
- package/dist/flutter/shared/colorprimitive.dart +82 -82
- package/dist/flutter/shared/fontprimitive.dart +21 -21
- package/dist/ios/brands/advertorial/overrides/Brandtokenmapping.swift +291 -291
- package/dist/ios/brands/advertorial/semantic/breakpoints/BreakpointLg1024pxRegular.swift +635 -635
- package/dist/ios/brands/advertorial/semantic/breakpoints/BreakpointMd600px.swift +635 -635
- package/dist/ios/brands/advertorial/semantic/breakpoints/BreakpointSm390pxCompact.swift +635 -635
- package/dist/ios/brands/advertorial/semantic/breakpoints/BreakpointXs320px.swift +635 -635
- package/dist/ios/brands/advertorial/sizeclass-compact/Typography.swift +297 -113
- package/dist/ios/brands/advertorial/sizeclass-regular/Typography.swift +297 -113
- package/dist/ios/brands/bild/overrides/Brandcolormapping.swift +91 -91
- package/dist/ios/brands/bild/overrides/Brandtokenmapping.swift +291 -291
- package/dist/ios/brands/bild/semantic/breakpoints/BreakpointLg1024pxRegular.swift +635 -635
- package/dist/ios/brands/bild/semantic/breakpoints/BreakpointMd600px.swift +635 -635
- package/dist/ios/brands/bild/semantic/breakpoints/BreakpointSm390pxCompact.swift +635 -635
- package/dist/ios/brands/bild/semantic/breakpoints/BreakpointXs320px.swift +635 -635
- package/dist/ios/brands/bild/semantic/color/ColormodeDark.swift +389 -389
- package/dist/ios/brands/bild/semantic/color/ColormodeLight.swift +389 -389
- package/dist/ios/brands/bild/sizeclass-compact/Typography.swift +297 -113
- package/dist/ios/brands/bild/sizeclass-regular/Typography.swift +297 -113
- package/dist/ios/brands/sportbild/overrides/Brandcolormapping.swift +91 -91
- package/dist/ios/brands/sportbild/overrides/Brandtokenmapping.swift +291 -291
- package/dist/ios/brands/sportbild/semantic/breakpoints/BreakpointLg1024pxRegular.swift +635 -635
- package/dist/ios/brands/sportbild/semantic/breakpoints/BreakpointMd600px.swift +635 -635
- package/dist/ios/brands/sportbild/semantic/breakpoints/BreakpointSm390pxCompact.swift +635 -635
- package/dist/ios/brands/sportbild/semantic/breakpoints/BreakpointXs320px.swift +635 -635
- package/dist/ios/brands/sportbild/semantic/color/ColormodeDark.swift +389 -389
- package/dist/ios/brands/sportbild/semantic/color/ColormodeLight.swift +389 -389
- package/dist/ios/brands/sportbild/sizeclass-compact/Typography.swift +297 -113
- package/dist/ios/brands/sportbild/sizeclass-regular/Typography.swift +297 -113
- package/dist/ios/shared/Colorprimitive.swift +82 -82
- package/dist/ios/shared/Fontprimitive.swift +21 -21
- package/dist/js/brands/advertorial/density/density-compact.js +1 -1
- package/dist/js/brands/advertorial/density/density-default.js +1 -1
- package/dist/js/brands/advertorial/density/density-spacious.js +1 -1
- package/dist/js/brands/advertorial/overrides/brandtokenmapping.js +292 -292
- package/dist/js/brands/advertorial/semantic/breakpoints/breakpoint-lg-1024px-regular.js +636 -636
- package/dist/js/brands/advertorial/semantic/breakpoints/breakpoint-md-600px.js +636 -636
- package/dist/js/brands/advertorial/semantic/breakpoints/breakpoint-sm-390px-compact.js +636 -636
- package/dist/js/brands/advertorial/semantic/breakpoints/breakpoint-xs-320px.js +636 -636
- package/dist/js/brands/advertorial/semantic/effects/effects-dark.js +13 -13
- package/dist/js/brands/advertorial/semantic/effects/effects-light.js +13 -13
- package/dist/js/brands/advertorial/semantic/typography/typography-lg.js +210 -210
- package/dist/js/brands/advertorial/semantic/typography/typography-md.js +210 -210
- package/dist/js/brands/advertorial/semantic/typography/typography-sm.js +210 -210
- package/dist/js/brands/advertorial/semantic/typography/typography-xs.js +210 -210
- package/dist/js/brands/bild/density/density-compact.js +1 -1
- package/dist/js/brands/bild/density/density-default.js +1 -1
- package/dist/js/brands/bild/density/density-spacious.js +1 -1
- package/dist/js/brands/bild/overrides/brandcolormapping.js +92 -92
- package/dist/js/brands/bild/overrides/brandtokenmapping.js +292 -292
- package/dist/js/brands/bild/semantic/breakpoints/breakpoint-lg-1024px-regular.js +636 -636
- package/dist/js/brands/bild/semantic/breakpoints/breakpoint-md-600px.js +636 -636
- package/dist/js/brands/bild/semantic/breakpoints/breakpoint-sm-390px-compact.js +636 -636
- package/dist/js/brands/bild/semantic/breakpoints/breakpoint-xs-320px.js +636 -636
- package/dist/js/brands/bild/semantic/color/colormode-dark.js +390 -390
- package/dist/js/brands/bild/semantic/color/colormode-light.js +390 -390
- package/dist/js/brands/bild/semantic/effects/effects-dark.js +13 -13
- package/dist/js/brands/bild/semantic/effects/effects-light.js +13 -13
- package/dist/js/brands/bild/semantic/typography/typography-lg.js +210 -210
- package/dist/js/brands/bild/semantic/typography/typography-md.js +210 -210
- package/dist/js/brands/bild/semantic/typography/typography-sm.js +210 -210
- package/dist/js/brands/bild/semantic/typography/typography-xs.js +210 -210
- package/dist/js/brands/sportbild/density/density-compact.js +1 -1
- package/dist/js/brands/sportbild/density/density-default.js +1 -1
- package/dist/js/brands/sportbild/density/density-spacious.js +1 -1
- package/dist/js/brands/sportbild/overrides/brandcolormapping.js +92 -92
- package/dist/js/brands/sportbild/overrides/brandtokenmapping.js +292 -292
- package/dist/js/brands/sportbild/semantic/breakpoints/breakpoint-lg-1024px-regular.js +636 -636
- package/dist/js/brands/sportbild/semantic/breakpoints/breakpoint-md-600px.js +636 -636
- package/dist/js/brands/sportbild/semantic/breakpoints/breakpoint-sm-390px-compact.js +636 -636
- package/dist/js/brands/sportbild/semantic/breakpoints/breakpoint-xs-320px.js +636 -636
- package/dist/js/brands/sportbild/semantic/color/colormode-dark.js +390 -390
- package/dist/js/brands/sportbild/semantic/color/colormode-light.js +390 -390
- package/dist/js/brands/sportbild/semantic/effects/effects-dark.js +13 -13
- package/dist/js/brands/sportbild/semantic/effects/effects-light.js +13 -13
- package/dist/js/brands/sportbild/semantic/typography/typography-lg.js +210 -210
- package/dist/js/brands/sportbild/semantic/typography/typography-md.js +210 -210
- package/dist/js/brands/sportbild/semantic/typography/typography-sm.js +210 -210
- package/dist/js/brands/sportbild/semantic/typography/typography-xs.js +210 -210
- package/dist/js/shared/colorprimitive.js +83 -83
- package/dist/js/shared/fontprimitive.js +22 -22
- package/dist/js/shared/sizeprimitive.js +1 -1
- package/dist/js/shared/spaceprimitive.js +1 -1
- package/dist/manifest.json +1 -1
- package/dist/scss/brands/advertorial/density/density-compact.scss +1 -1
- package/dist/scss/brands/advertorial/density/density-default.scss +1 -1
- package/dist/scss/brands/advertorial/density/density-spacious.scss +1 -1
- package/dist/scss/brands/advertorial/overrides/brandtokenmapping.scss +292 -292
- package/dist/scss/brands/advertorial/semantic/breakpoints/breakpoint-lg-1024px-regular.scss +636 -636
- package/dist/scss/brands/advertorial/semantic/breakpoints/breakpoint-md-600px.scss +636 -636
- package/dist/scss/brands/advertorial/semantic/breakpoints/breakpoint-sm-390px-compact.scss +636 -636
- package/dist/scss/brands/advertorial/semantic/breakpoints/breakpoint-xs-320px.scss +636 -636
- package/dist/scss/brands/advertorial/semantic/effects/effects-dark.scss +13 -13
- package/dist/scss/brands/advertorial/semantic/effects/effects-light.scss +13 -13
- package/dist/scss/brands/advertorial/semantic/typography/typography-lg.scss +210 -210
- package/dist/scss/brands/advertorial/semantic/typography/typography-md.scss +210 -210
- package/dist/scss/brands/advertorial/semantic/typography/typography-sm.scss +210 -210
- package/dist/scss/brands/advertorial/semantic/typography/typography-xs.scss +210 -210
- package/dist/scss/brands/bild/density/density-compact.scss +1 -1
- package/dist/scss/brands/bild/density/density-default.scss +1 -1
- package/dist/scss/brands/bild/density/density-spacious.scss +1 -1
- package/dist/scss/brands/bild/overrides/brandcolormapping.scss +92 -92
- package/dist/scss/brands/bild/overrides/brandtokenmapping.scss +292 -292
- package/dist/scss/brands/bild/semantic/breakpoints/breakpoint-lg-1024px-regular.scss +636 -636
- package/dist/scss/brands/bild/semantic/breakpoints/breakpoint-md-600px.scss +636 -636
- package/dist/scss/brands/bild/semantic/breakpoints/breakpoint-sm-390px-compact.scss +636 -636
- package/dist/scss/brands/bild/semantic/breakpoints/breakpoint-xs-320px.scss +636 -636
- package/dist/scss/brands/bild/semantic/color/colormode-dark.scss +390 -390
- package/dist/scss/brands/bild/semantic/color/colormode-light.scss +390 -390
- package/dist/scss/brands/bild/semantic/effects/effects-dark.scss +13 -13
- package/dist/scss/brands/bild/semantic/effects/effects-light.scss +13 -13
- package/dist/scss/brands/bild/semantic/typography/typography-lg.scss +210 -210
- package/dist/scss/brands/bild/semantic/typography/typography-md.scss +210 -210
- package/dist/scss/brands/bild/semantic/typography/typography-sm.scss +210 -210
- package/dist/scss/brands/bild/semantic/typography/typography-xs.scss +210 -210
- package/dist/scss/brands/sportbild/density/density-compact.scss +1 -1
- package/dist/scss/brands/sportbild/density/density-default.scss +1 -1
- package/dist/scss/brands/sportbild/density/density-spacious.scss +1 -1
- package/dist/scss/brands/sportbild/overrides/brandcolormapping.scss +92 -92
- package/dist/scss/brands/sportbild/overrides/brandtokenmapping.scss +292 -292
- package/dist/scss/brands/sportbild/semantic/breakpoints/breakpoint-lg-1024px-regular.scss +636 -636
- package/dist/scss/brands/sportbild/semantic/breakpoints/breakpoint-md-600px.scss +636 -636
- package/dist/scss/brands/sportbild/semantic/breakpoints/breakpoint-sm-390px-compact.scss +636 -636
- package/dist/scss/brands/sportbild/semantic/breakpoints/breakpoint-xs-320px.scss +636 -636
- package/dist/scss/brands/sportbild/semantic/color/colormode-dark.scss +390 -390
- package/dist/scss/brands/sportbild/semantic/color/colormode-light.scss +390 -390
- package/dist/scss/brands/sportbild/semantic/effects/effects-dark.scss +13 -13
- package/dist/scss/brands/sportbild/semantic/effects/effects-light.scss +13 -13
- package/dist/scss/brands/sportbild/semantic/typography/typography-lg.scss +210 -210
- package/dist/scss/brands/sportbild/semantic/typography/typography-md.scss +210 -210
- package/dist/scss/brands/sportbild/semantic/typography/typography-sm.scss +210 -210
- package/dist/scss/brands/sportbild/semantic/typography/typography-xs.scss +210 -210
- package/dist/scss/shared/colorprimitive.scss +83 -83
- package/dist/scss/shared/fontprimitive.scss +22 -22
- package/dist/scss/shared/sizeprimitive.scss +1 -1
- package/dist/scss/shared/spaceprimitive.scss +1 -1
- package/package.json +1 -1
|
@@ -9,237 +9,421 @@ import UIKit
|
|
|
9
9
|
|
|
10
10
|
extension UIFont {
|
|
11
11
|
struct TypographyAdvertorialcompact {
|
|
12
|
+
// MARK: - ============================================
|
|
13
|
+
// MARK: - DISPLAY
|
|
14
|
+
// MARK: - ============================================
|
|
15
|
+
|
|
12
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: 40 - 40 - 72 - 120 */
|
|
13
|
-
static let
|
|
17
|
+
static let display1 = UIFont(name: "Lucida Grande", size: 39)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 39, weight: .heavy)
|
|
14
18
|
/** 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
|
|
19
|
+
static let display2 = UIFont(name: "Lucida Grande", size: 35)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 35, weight: .heavy)
|
|
16
20
|
/** 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
|
|
21
|
+
static let display3 = UIFont(name: "Lucida Grande", size: 27)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 27, weight: .heavy)
|
|
22
|
+
|
|
23
|
+
// MARK: - ============================================
|
|
24
|
+
// MARK: - HEADLINE
|
|
25
|
+
// MARK: - ============================================
|
|
26
|
+
|
|
18
27
|
/** 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
|
|
28
|
+
static let headline1 = UIFont(name: "Lucida Grande", size: 36)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 36, weight: .light)
|
|
20
29
|
/** 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
|
|
30
|
+
static let headline2 = UIFont(name: "Lucida Grande", size: 30)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 30, weight: .light)
|
|
22
31
|
/** 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
|
|
32
|
+
static let headline3 = UIFont(name: "Lucida Grande", size: 24)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 24, weight: .light)
|
|
24
33
|
/** 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
|
|
34
|
+
static let headline4 = UIFont(name: "Lucida Grande", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
|
|
35
|
+
|
|
36
|
+
// MARK: - ============================================
|
|
37
|
+
// MARK: - SUBHEADLINE
|
|
38
|
+
// MARK: - ============================================
|
|
39
|
+
|
|
26
40
|
/** 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
|
|
41
|
+
static let subheadline1 = UIFont(name: "Lucida Grande", size: 18)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 18, weight: .bold)
|
|
42
|
+
|
|
43
|
+
// MARK: - ============================================
|
|
44
|
+
// MARK: - KICKER
|
|
45
|
+
// MARK: - ============================================
|
|
46
|
+
|
|
28
47
|
/** 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
|
|
48
|
+
static let kicker1 = UIFont(name: "Lucida Grande", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
|
|
30
49
|
/** 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
|
|
50
|
+
static let kicker2 = UIFont(name: "Lucida Grande", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
|
|
32
51
|
/** 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
|
|
52
|
+
static let kicker3 = UIFont(name: "Lucida Grande", size: 14)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 14, weight: .light)
|
|
34
53
|
/** 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
|
|
54
|
+
static let kicker4 = UIFont(name: "Lucida Grande", size: 12)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 12, weight: .light)
|
|
55
|
+
|
|
56
|
+
// MARK: - ============================================
|
|
57
|
+
// MARK: - TITLE
|
|
58
|
+
// MARK: - ============================================
|
|
59
|
+
|
|
36
60
|
/** 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
|
|
61
|
+
static let title1 = UIFont(name: "Lucida Grande", size: 22)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 22, weight: .heavy)
|
|
38
62
|
/** 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
|
|
63
|
+
static let title1uppercase = UIFont(name: "Lucida Grande", size: 22)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 22, weight: .heavy)
|
|
40
64
|
/** Title styles are mid-level headings, often used for module names, card headers, or section labels. They balance prominence with readability.
|
|
41
65
|
|
|
42
66
|
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
|
|
67
|
+
static let title2 = UIFont(name: "Lucida Grande", size: 14)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 14, weight: .heavy)
|
|
44
68
|
/** Title styles are mid-level headings, often used for module names, card headers, or section labels. They balance prominence with readability.
|
|
45
69
|
|
|
46
70
|
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
|
|
71
|
+
static let title2uppercase = UIFont(name: "Lucida Grande", size: 14)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 14, weight: .heavy)
|
|
72
|
+
|
|
73
|
+
// MARK: - ============================================
|
|
74
|
+
// MARK: - CALLOUT
|
|
75
|
+
// MARK: - ============================================
|
|
76
|
+
|
|
48
77
|
/** 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
|
|
78
|
+
static let callout = UIFont(name: "Lucida Grande", size: 16)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 16, weight: .heavy)
|
|
79
|
+
|
|
80
|
+
// MARK: - ============================================
|
|
81
|
+
// MARK: - BODY
|
|
82
|
+
// MARK: - ============================================
|
|
83
|
+
|
|
50
84
|
/** 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
|
|
85
|
+
static let body = UIFont(name: "Lucida Grande", size: 17)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 17, weight: .light)
|
|
52
86
|
/** 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
|
|
87
|
+
static let bodyitalic = UIFont(name: "Lucida Grande", size: 17)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 17, weight: .light)
|
|
54
88
|
/** 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
|
|
89
|
+
static let bodybold = UIFont(name: "Lucida Grande", size: 17)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 17, weight: .bold)
|
|
56
90
|
/** 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
|
|
91
|
+
static let bodybolditalic = UIFont(name: "Lucida Grande", size: 17)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 17, weight: .light)
|
|
92
|
+
|
|
93
|
+
// MARK: - ============================================
|
|
94
|
+
// MARK: - TEXTLINK
|
|
95
|
+
// MARK: - ============================================
|
|
96
|
+
|
|
58
97
|
/** 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
|
|
98
|
+
static let textlink = UIFont(name: "Lucida Grande", size: 17)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 17, weight: .light)
|
|
60
99
|
/** 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
|
|
100
|
+
static let textlinkitalic = UIFont(name: "Lucida Grande", size: 17)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 17, weight: .light)
|
|
62
101
|
/** 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
|
|
102
|
+
static let textlinkbold = UIFont(name: "Lucida Grande", size: 17)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 17, weight: .bold)
|
|
64
103
|
/** 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
|
|
104
|
+
static let textlinkhover = UIFont(name: "Lucida Grande", size: 17)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 17, weight: .light)
|
|
66
105
|
/** 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
|
|
106
|
+
static let textlinkboldhover = UIFont(name: "Lucida Grande", size: 17)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 17, weight: .bold)
|
|
107
|
+
|
|
108
|
+
// MARK: - ============================================
|
|
109
|
+
// MARK: - FOOTNOTE
|
|
110
|
+
// MARK: - ============================================
|
|
111
|
+
|
|
68
112
|
/** 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
|
|
113
|
+
static let footnote1 = UIFont(name: "Lucida Grande", size: 13)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 13, weight: .light)
|
|
70
114
|
/** 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
|
|
115
|
+
static let footnote1bold = UIFont(name: "Lucida Grande", size: 13)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 13, weight: .bold)
|
|
72
116
|
/** 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
|
|
117
|
+
static let footnote2 = UIFont(name: "Lucida Grande", size: 10)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 10, weight: .light)
|
|
74
118
|
/** 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
|
|
119
|
+
static let footnote2bold = UIFont(name: "Lucida Grande", size: 10)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 10, weight: .bold)
|
|
120
|
+
|
|
121
|
+
// MARK: - ============================================
|
|
122
|
+
// MARK: - LABEL
|
|
123
|
+
// MARK: - ============================================
|
|
124
|
+
|
|
76
125
|
/** 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
|
|
126
|
+
static let label1 = UIFont(name: "Lucida Grande", size: 17)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 17, weight: .light)
|
|
78
127
|
/** 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
|
|
128
|
+
static let label1bold = UIFont(name: "Lucida Grande", size: 17)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 17, weight: .bold)
|
|
80
129
|
/** 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
|
|
130
|
+
static let label1boldresp = UIFont(name: "Lucida Grande", size: 10)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 10, weight: .bold)
|
|
82
131
|
/** 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
|
|
132
|
+
static let label1uppercasebold = UIFont(name: "Lucida Grande", size: 17)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 17, weight: .bold)
|
|
84
133
|
/** 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
|
|
134
|
+
static let label2 = UIFont(name: "Lucida Grande", size: 15)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 15, weight: .light)
|
|
86
135
|
/** 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
|
|
136
|
+
static let label2uppercase = UIFont(name: "Lucida Grande", size: 15)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 15, weight: .light)
|
|
88
137
|
/** 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
|
|
138
|
+
static let label2bold = UIFont(name: "Lucida Grande", size: 15)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 15, weight: .bold)
|
|
90
139
|
/** 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
|
|
140
|
+
static let label2uppercasebold = UIFont(name: "Lucida Grande", size: 15)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 15, weight: .bold)
|
|
92
141
|
/** 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
|
|
142
|
+
static let label3 = UIFont(name: "Lucida Grande", size: 12)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 12, weight: .light)
|
|
94
143
|
/** 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
|
|
144
|
+
static let label3uppercase = UIFont(name: "Lucida Grande", size: 12)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 12, weight: .light)
|
|
96
145
|
/** 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
|
|
146
|
+
static let label3bold = UIFont(name: "Lucida Grande", size: 12)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 12, weight: .bold)
|
|
98
147
|
/** 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
|
|
148
|
+
static let label3uppercasebold = UIFont(name: "Lucida Grande", size: 12)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 12, weight: .bold)
|
|
100
149
|
/** 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
|
|
150
|
+
static let label4 = UIFont(name: "Lucida Grande", size: 8)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 8, weight: .light)
|
|
151
|
+
|
|
152
|
+
// MARK: - ============================================
|
|
153
|
+
// MARK: - QUOTE
|
|
154
|
+
// MARK: - ============================================
|
|
155
|
+
|
|
102
156
|
/** 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
|
|
157
|
+
static let quote = UIFont(name: "Lucida Grande", size: 16)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 16, weight: .heavy)
|
|
158
|
+
|
|
159
|
+
// MARK: - ============================================
|
|
160
|
+
// MARK: - ACCORDION
|
|
161
|
+
// MARK: - ============================================
|
|
162
|
+
|
|
104
163
|
/** This text style is for use on accordion labels */
|
|
105
|
-
static let
|
|
164
|
+
static let accordionlabel = UIFont(name: "Lucida Grande", size: 17)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 17, weight: .bold)
|
|
165
|
+
|
|
166
|
+
// MARK: - ============================================
|
|
167
|
+
// MARK: - ARTICLE
|
|
168
|
+
// MARK: - ============================================
|
|
169
|
+
|
|
106
170
|
/** 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
|
|
171
|
+
static let articlekicker = UIFont(name: "Lucida Grande", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
|
|
108
172
|
/** This text style is used on image captions that show up in article pages only. */
|
|
109
|
-
static let
|
|
173
|
+
static let articleimagecaption = UIFont(name: "Lucida Grande", size: 13)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 13, weight: .bold)
|
|
110
174
|
/** 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
|
|
175
|
+
static let articleheadline = UIFont(name: "Lucida Grande", size: 30)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 30, weight: .light)
|
|
112
176
|
/** 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
|
|
177
|
+
static let articlemetasource = UIFont(name: "Lucida Grande", size: 13)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 13, weight: .light)
|
|
114
178
|
/** 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
|
|
179
|
+
static let articletimestamp = UIFont(name: "Lucida Grande", size: 12)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 12, weight: .heavy)
|
|
180
|
+
|
|
181
|
+
// MARK: - ============================================
|
|
182
|
+
// MARK: - AUDIOPLAYER
|
|
183
|
+
// MARK: - ============================================
|
|
184
|
+
|
|
116
185
|
/** 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
|
|
186
|
+
static let audioplayerlabel = UIFont(name: "Lucida Grande", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
|
|
187
|
+
|
|
188
|
+
// MARK: - ============================================
|
|
189
|
+
// MARK: - AVATAR
|
|
190
|
+
// MARK: - ============================================
|
|
191
|
+
|
|
118
192
|
/** This text style is used for avatar on iOS & Android apps. 12 - 12 - 14 - 16 */
|
|
119
|
-
static let
|
|
193
|
+
static let appavatar = UIFont(name: "Lucida Grande", size: 12)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 12, weight: .heavy)
|
|
120
194
|
/** This text style is used on article page avatar name labels in their default state. Font size: 16 - 16 - 16 - 18
|
|
121
195
|
|
|
122
196
|
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
|
|
197
|
+
static let avatardefault = UIFont(name: "Lucida Grande", size: 13)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 13, weight: .bold)
|
|
124
198
|
/** This text style is used on avatars that appear in article pages. Font size: 16 - 16 - 16 - 18 */
|
|
125
|
-
static let
|
|
199
|
+
static let avatarhover = UIFont(name: "Lucida Grande", size: 13)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 13, weight: .bold)
|
|
126
200
|
/** 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
|
|
201
|
+
static let avatarsecondaryinfo = UIFont(name: "Lucida Grande", size: 13)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 13, weight: .light)
|
|
128
202
|
/** 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
|
|
203
|
+
static let avatarsecondaryinfohover = UIFont(name: "Lucida Grande", size: 13)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 13, weight: .light)
|
|
204
|
+
|
|
205
|
+
// MARK: - ============================================
|
|
206
|
+
// MARK: - BADGES
|
|
207
|
+
// MARK: - ============================================
|
|
208
|
+
|
|
130
209
|
/** 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
|
|
210
|
+
static let videoadbadge = UIFont(name: "Gotham XNarrow", size: 14)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 14, weight: .light)
|
|
132
211
|
/** 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
|
|
212
|
+
static let videotimebadge = UIFont(name: "Lucida Grande", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
|
|
213
|
+
|
|
214
|
+
// MARK: - ============================================
|
|
215
|
+
// MARK: - BREADCRUMB
|
|
216
|
+
// MARK: - ============================================
|
|
217
|
+
|
|
134
218
|
/** 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
|
|
219
|
+
static let breadcrumb = UIFont(name: "Lucida Grande", size: 15)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 15, weight: .bold)
|
|
136
220
|
/** 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
|
|
221
|
+
static let breadcrumblink = UIFont(name: "Lucida Grande", size: 15)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 15, weight: .bold)
|
|
138
222
|
/** 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
|
|
223
|
+
static let breadcrumblinkhover = UIFont(name: "Lucida Grande", size: 15)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 15, weight: .bold)
|
|
224
|
+
|
|
225
|
+
// MARK: - ============================================
|
|
226
|
+
// MARK: - BREAKINGNEWS
|
|
227
|
+
// MARK: - ============================================
|
|
228
|
+
|
|
140
229
|
/** Use this text style on breaking news headlines that horizontally scroll in the breaking news animated strip. Font size constant 21. */
|
|
141
|
-
static let
|
|
230
|
+
static let breakingnewstext = UIFont(name: "Lucida Grande", size: 21)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 21, weight: .bold)
|
|
142
231
|
/** Use this text style on the upper title of the breaking news headline strip. Font size constant 13. */
|
|
143
|
-
static let
|
|
232
|
+
static let breakingnewsuppertitle = UIFont(name: "Lucida Grande", size: 13)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 13, weight: .heavy)
|
|
144
233
|
/** Use this font style on the breaking news badge's lower title. Font size constant 23. */
|
|
145
|
-
static let
|
|
234
|
+
static let breakingnewslowertitle = UIFont(name: "Lucida Grande", size: 23)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 23, weight: .heavy)
|
|
235
|
+
|
|
236
|
+
// MARK: - ============================================
|
|
237
|
+
// MARK: - BUTTON
|
|
238
|
+
// MARK: - ============================================
|
|
239
|
+
|
|
146
240
|
/** 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
|
|
241
|
+
static let buttonlabel = UIFont(name: "Lucida Grande", size: 15)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 15, weight: .light)
|
|
148
242
|
/** 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
|
|
243
|
+
static let partnerlinkbuttonlabel = UIFont(name: "Lucida Grande", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
|
|
244
|
+
|
|
245
|
+
// MARK: - ============================================
|
|
246
|
+
// MARK: - CHIPS
|
|
247
|
+
// MARK: - ============================================
|
|
248
|
+
|
|
150
249
|
/** 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
|
|
250
|
+
static let chipslabel = UIFont(name: "Lucida Grande", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
|
|
251
|
+
|
|
252
|
+
// MARK: - ============================================
|
|
253
|
+
// MARK: - FOOTER
|
|
254
|
+
// MARK: - ============================================
|
|
255
|
+
|
|
152
256
|
/** 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
|
|
257
|
+
static let footercardlink = UIFont(name: "Gotham XNarrow", size: 15)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 15, weight: .light)
|
|
154
258
|
/** 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
|
|
259
|
+
static let footerlinkseparator = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
|
|
156
260
|
/** 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
|
|
261
|
+
static let footerlinks = UIFont(name: "Gotham XNarrow", size: 11)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 11, weight: .bold)
|
|
158
262
|
/** User data and offer pages use this text style on footer links. Font size remains constant at 18px. */
|
|
159
|
-
static let
|
|
263
|
+
static let footerlinkuser&offerpages = UIFont(name: "Gotham XNarrow", size: 18)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 18, weight: .light)
|
|
264
|
+
|
|
265
|
+
// MARK: - ============================================
|
|
266
|
+
// MARK: - INPUTFIELD
|
|
267
|
+
// MARK: - ============================================
|
|
268
|
+
|
|
160
269
|
/** 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
|
|
270
|
+
static let textinputfieldlabel = UIFont(name: "Lucida Grande", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
|
|
271
|
+
|
|
272
|
+
// MARK: - ============================================
|
|
273
|
+
// MARK: - LIVETICKER
|
|
274
|
+
// MARK: - ============================================
|
|
275
|
+
|
|
162
276
|
/** This text style is used on live ticker headlines. The font size changes between device sizes. 22 - 22 - 32 -32 */
|
|
163
|
-
static let
|
|
277
|
+
static let livetickerheadline = UIFont(name: "Lucida Grande", size: 22)?.withWeight(.semibold) ?? UIFont.systemFont(ofSize: 22, weight: .semibold)
|
|
164
278
|
/** Use this text style on the live ticker time stamps. 14 - 14 - 16 - 16 */
|
|
165
|
-
static let
|
|
279
|
+
static let livetickertimestamp = UIFont(name: "Gotham XNarrow", size: 14)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 14, weight: .bold)
|
|
280
|
+
|
|
281
|
+
// MARK: - ============================================
|
|
282
|
+
// MARK: - MEDIAPLAYERS
|
|
283
|
+
// MARK: - ============================================
|
|
284
|
+
|
|
166
285
|
/** This text style is used on controller labels of the podcast media player. Font size: 16 - 16 - 16 - 18 */
|
|
167
|
-
static let
|
|
286
|
+
static let podcastplayerlabel = UIFont(name: "Lucida Grande", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
|
|
168
287
|
/** 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
|
|
288
|
+
static let videoadtime = UIFont(name: "Gotham", size: 14)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 14, weight: .heavy)
|
|
170
289
|
/** 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
|
|
290
|
+
static let videoplayertime = UIFont(name: "Lucida Grande", size: 14)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 14, weight: .heavy)
|
|
291
|
+
|
|
292
|
+
// MARK: - ============================================
|
|
293
|
+
// MARK: - MENU
|
|
294
|
+
// MARK: - ============================================
|
|
295
|
+
|
|
172
296
|
/** 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
|
|
297
|
+
static let apptopbarstagetitle = UIFont(name: "Lucida Grande", size: 12)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 12, weight: .heavy)
|
|
174
298
|
/** 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
|
|
299
|
+
static let apptopbartabstitle = UIFont(name: "Lucida Grande", size: 12)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 12, weight: .heavy)
|
|
176
300
|
/** Used on menu link lane items and on mobile side menu drawer. Current online CSS naming: --nav-btn */
|
|
177
|
-
static let
|
|
301
|
+
static let menuitemlabel = UIFont(name: "Lucida Grande", size: 15)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 15, weight: .light)
|
|
178
302
|
/** 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
|
|
303
|
+
static let menuitemutillabel = UIFont(name: "Lucida Grande", size: 12)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 12, weight: .light)
|
|
304
|
+
|
|
305
|
+
// MARK: - ============================================
|
|
306
|
+
// MARK: - NEWSTICKER
|
|
307
|
+
// MARK: - ============================================
|
|
308
|
+
|
|
180
309
|
/** The vertical newsticker component has timestamps that use this text style. 16 - 16 - 16 - 18 */
|
|
181
|
-
static let
|
|
310
|
+
static let newstickertimestamp = UIFont(name: "Lucida Grande", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
|
|
182
311
|
/** 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
|
|
312
|
+
static let newstickerkicker = UIFont(name: "Lucida Grande", size: 14)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 14, weight: .bold)
|
|
184
313
|
/** This text style is used on NewsTicker Headlines. It references the semantic level text style headline3. 28 - 28 - 36 - 40 */
|
|
185
|
-
static let
|
|
314
|
+
static let newstickerheadline = UIFont(name: "Lucida Grande", size: 24)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 24, weight: .light)
|
|
315
|
+
|
|
316
|
+
// MARK: - ============================================
|
|
317
|
+
// MARK: - PAGINATION
|
|
318
|
+
// MARK: - ============================================
|
|
319
|
+
|
|
186
320
|
/** 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
|
|
321
|
+
static let numberedpaginationactive = UIFont(name: "Lucida Grande", size: 17)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 17, weight: .bold)
|
|
322
|
+
|
|
323
|
+
// MARK: - ============================================
|
|
324
|
+
// MARK: - PAYWALL
|
|
325
|
+
// MARK: - ============================================
|
|
326
|
+
|
|
188
327
|
/** This text style is used for the paywall price tag text. */
|
|
189
|
-
static let
|
|
328
|
+
static let paywallcardpricetag = UIFont(name: "Lucida Grande", size: 64)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 64, weight: .heavy)
|
|
190
329
|
/** This text style is used on the paywall card under the price value. */
|
|
191
|
-
static let
|
|
330
|
+
static let paywallcardnote = UIFont(name: "Lucida Grande", size: 40)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 40, weight: .heavy)
|
|
331
|
+
|
|
332
|
+
// MARK: - ============================================
|
|
333
|
+
// MARK: - SPECIALNAVI
|
|
334
|
+
// MARK: - ============================================
|
|
335
|
+
|
|
192
336
|
/** Used on menu link lane items and on mobile side menu drawer. */
|
|
193
|
-
static let
|
|
337
|
+
static let specianaviitemlabel = UIFont(name: "Lucida Grande", size: 15)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 15, weight: .light)
|
|
338
|
+
|
|
339
|
+
// MARK: - ============================================
|
|
340
|
+
// MARK: - TABS
|
|
341
|
+
// MARK: - ============================================
|
|
342
|
+
|
|
194
343
|
/** 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
|
|
344
|
+
static let tablabel = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
|
|
196
345
|
/** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. */
|
|
197
|
-
static let
|
|
346
|
+
static let appbottombarlabeldefault = UIFont(name: "Lucida Grande", size: 12)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 12, weight: .light)
|
|
198
347
|
/** Labels identify interface elements such as form fields, buttons, or navigation items. They ensure clarity and usability in functional contexts. */
|
|
199
|
-
static let
|
|
348
|
+
static let appbottombarlabelactive = UIFont(name: "Lucida Grande", size: 12)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 12, weight: .bold)
|
|
349
|
+
|
|
350
|
+
// MARK: - ============================================
|
|
351
|
+
// MARK: - ATEASER
|
|
352
|
+
// MARK: - ============================================
|
|
353
|
+
|
|
200
354
|
/** 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
|
|
355
|
+
static let ateaserkicker = UIFont(name: "Lucida Grande", size: 14)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 14, weight: .light)
|
|
202
356
|
/** This text style references the semantic text styles headline3 (XS&SM) and headline2 (MD&LG). 28 - 28 - 48 - 64 */
|
|
203
|
-
static let
|
|
357
|
+
static let ateaserheadline = UIFont(name: "Lucida Grande", size: 24)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 24, weight: .light)
|
|
358
|
+
|
|
359
|
+
// MARK: - ============================================
|
|
360
|
+
// MARK: - MQTEASER
|
|
361
|
+
// MARK: - ============================================
|
|
362
|
+
|
|
204
363
|
/** This component level text style references size variables for the semantic level. Specifically kicker4. 14 - 14 - 16 - 16 */
|
|
205
|
-
static let
|
|
364
|
+
static let mqteaserkicker = UIFont(name: "Lucida Grande", size: 12)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 12, weight: .light)
|
|
206
365
|
/** This component level text style references the semantic level text sizes of headline3 and headline4.
|
|
207
366
|
XS-headline4FontSize:22 // SM-headline4FontSize:22 // MD-headline3FontSize:36 // LG-headline3FontSize:40 */
|
|
208
|
-
static let
|
|
367
|
+
static let mqteaserheadline = UIFont(name: "Lucida Grande", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
|
|
368
|
+
|
|
369
|
+
// MARK: - ============================================
|
|
370
|
+
// MARK: - QTEASER
|
|
371
|
+
// MARK: - ============================================
|
|
372
|
+
|
|
209
373
|
/** 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
|
|
374
|
+
static let qteaserheadline = UIFont(name: "Lucida Grande", size: 36)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 36, weight: .light)
|
|
375
|
+
|
|
376
|
+
// MARK: - ============================================
|
|
377
|
+
// MARK: - STDTEASER
|
|
378
|
+
// MARK: - ============================================
|
|
379
|
+
|
|
211
380
|
/** 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
|
|
381
|
+
static let stdteaserheadline = UIFont(name: "Lucida Grande", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
|
|
382
|
+
|
|
383
|
+
// MARK: - ============================================
|
|
384
|
+
// MARK: - TOGGLESWITCHES
|
|
385
|
+
// MARK: - ============================================
|
|
386
|
+
|
|
213
387
|
/** This text style is used on labels in list items with toggle switches found in app preferences. 14 - 14 - 16 - 18 */
|
|
214
|
-
static let
|
|
215
|
-
|
|
388
|
+
static let apptoogleitemlabel = UIFont(name: "Lucida Grande", size: 14)?.withWeight(.heavy) ?? UIFont.systemFont(ofSize: 14, weight: .heavy)
|
|
389
|
+
|
|
390
|
+
// MARK: - ============================================
|
|
391
|
+
// MARK: - .DSDOCSSTYLES
|
|
392
|
+
// MARK: - ============================================
|
|
393
|
+
|
|
394
|
+
static let .pageheaderdescription = UIFont(name: "Lucida Grande", size: 16)?.withWeight(.bold) ?? UIFont.systemFont(ofSize: 16, weight: .bold)
|
|
216
395
|
/** This text style is only used on the design system's documentation for code syntax snippets. */
|
|
217
|
-
static let .
|
|
396
|
+
static let .codesnippets = UIFont(name: "Source Code Pro", size: 10)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 10, weight: .light)
|
|
218
397
|
/** This text style is only used for mockup pages of the design system website. */
|
|
219
|
-
static let .
|
|
398
|
+
static let .bilddesignsidemenu = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
|
|
220
399
|
/** This text style is only used for mockup pages of the design system website. */
|
|
221
|
-
static let .
|
|
400
|
+
static let .bilddesignsidemenuactive = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
|
|
222
401
|
/** This text style is only used for mockup pages of the design system website. */
|
|
223
|
-
static let .
|
|
402
|
+
static let .bilddesignsidemenuhover = UIFont(name: "Gotham XNarrow", size: 16)?.withWeight(.semibold) ?? UIFont.systemFont(ofSize: 16, weight: .semibold)
|
|
224
403
|
/** This text style is only used for mockups the vertical video component teaser headlines. */
|
|
225
|
-
static let .
|
|
404
|
+
static let .verticalvideosmockheadlines = UIFont(name: "Gotham Condensed", size: 22)?.withWeight(.semibold) ?? UIFont.systemFont(ofSize: 22, weight: .semibold)
|
|
226
405
|
/** This text style is used on documentation pages that contain some token information. */
|
|
227
|
-
static let .
|
|
406
|
+
static let .tokenspecl = UIFont(name: "Source Code Pro", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
|
|
407
|
+
|
|
408
|
+
// MARK: - ============================================
|
|
409
|
+
// MARK: - .SPECS
|
|
410
|
+
// MARK: - ============================================
|
|
411
|
+
|
|
228
412
|
/** This text style is only used for audit pages of the design system. */
|
|
229
|
-
static let .
|
|
413
|
+
static let .specsxs = UIFont(name: "Gotham", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
|
|
230
414
|
/** This text style is only used for audit pages of the design system. */
|
|
231
|
-
static let .
|
|
415
|
+
static let .specss = UIFont(name: "Gotham", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
|
|
232
416
|
/** This text style is only used for audit pages of the design system. */
|
|
233
|
-
static let .
|
|
417
|
+
static let .specsms = UIFont(name: "Gotham", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
|
|
234
418
|
/** This text style is only used for audit pages of the design system. */
|
|
235
|
-
static let .
|
|
419
|
+
static let .specsm = UIFont(name: "Gotham", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
|
|
236
420
|
/** This text style is only used for audit pages of the design system. */
|
|
237
|
-
static let .
|
|
421
|
+
static let .specsml = UIFont(name: "Gotham", size: 64)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 64, weight: .light)
|
|
238
422
|
/** This text style is only used for audit pages of the design system. */
|
|
239
|
-
static let .
|
|
423
|
+
static let .specsl = UIFont(name: "Gotham", size: 16)?.withWeight(.light) ?? UIFont.systemFont(ofSize: 16, weight: .light)
|
|
240
424
|
/** This text style is only used for audit pages of the design system. */
|
|
241
|
-
static let .
|
|
425
|
+
static let .specsxl = UIFont(name: "Gotham", size: 16)?.withWeight(.semibold) ?? UIFont.systemFont(ofSize: 16, weight: .semibold)
|
|
242
426
|
/** This text style is only used for audit pages of the design system. */
|
|
243
|
-
static let .
|
|
427
|
+
static let .specsxxl = UIFont(name: "Gotham", size: 16)?.withWeight(.semibold) ?? UIFont.systemFont(ofSize: 16, weight: .semibold)
|
|
244
428
|
}
|
|
245
429
|
}
|