@danske/sapphire-css 32.2.1 → 33.0.0

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 (98) hide show
  1. package/build/themes/cjs/default-dark.js +1 -1
  2. package/build/themes/cjs/default.js +2 -1
  3. package/build/themes/cjs/index.d.ts +2 -1
  4. package/build/themes/esm/default-dark.js +1 -1
  5. package/build/themes/esm/default.js +2 -1
  6. package/build/themes/esm/index.d.ts +2 -1
  7. package/components/accordion/accordion.module.css +38 -40
  8. package/components/avatar/avatar.module.css +61 -51
  9. package/components/avatar/avatar.module.css.d.ts +4 -4
  10. package/components/backdrop/backdrop.module.css +3 -3
  11. package/components/badge/badge.module.css +257 -135
  12. package/components/badge/badge.module.css.d.ts +3 -3
  13. package/components/button/button.module.css +200 -400
  14. package/components/button/button.module.css.d.ts +6 -7
  15. package/components/buttonGroup/buttonGroup.module.css +6 -6
  16. package/components/buttonGroup/buttonGroup.module.css.d.ts +2 -2
  17. package/components/calendar/calendar.module.css +90 -86
  18. package/components/checkbox/checkbox.module.css +59 -51
  19. package/components/checkbox/checkbox.module.css.d.ts +2 -2
  20. package/components/contextualHelp/contextualHelp.module.css +13 -10
  21. package/components/dateField/dateField.module.css +66 -64
  22. package/components/dateField/dateField.module.css.d.ts +1 -1
  23. package/components/dialog/dialog.module.css +13 -13
  24. package/components/dialog/dialog.module.css.d.ts +4 -4
  25. package/components/dropzone/dropzone.module.css +29 -23
  26. package/components/feedbackMessage/feedbackMessage.module.css +15 -15
  27. package/components/field/field.module.css +16 -16
  28. package/components/field/field.module.css.d.ts +1 -1
  29. package/components/fieldGroup/fieldGroup.module.css +4 -4
  30. package/components/fieldGroup/fieldGroup.module.css.d.ts +1 -1
  31. package/components/heading/heading.module.css +37 -85
  32. package/components/icon/icon.module.css +12 -12
  33. package/components/icon/icon.module.css.d.ts +4 -4
  34. package/components/iconButton/iconButton.module.css +130 -366
  35. package/components/iconButton/iconButton.module.css.d.ts +7 -8
  36. package/components/label/label.module.css +11 -11
  37. package/components/label/label.module.css.d.ts +1 -1
  38. package/components/labeledValue/labeledValue.module.css +7 -7
  39. package/components/labeledValue/labeledValue.module.css.d.ts +2 -2
  40. package/components/link/link.module.css +22 -22
  41. package/components/link/link.module.css.d.ts +2 -2
  42. package/components/list/list.module.css +41 -31
  43. package/components/listbox/listbox.module.css +80 -66
  44. package/components/listbox/listbox.module.css.d.ts +2 -2
  45. package/components/modalLayout/modalLayout.module.css +9 -11
  46. package/components/notificationBadge/notificationBadge.module.css +23 -25
  47. package/components/notificationBadge/notificationBadge.module.css.d.ts +3 -3
  48. package/components/pagination/pagination.module.css +16 -16
  49. package/components/panel/panel.module.css +4 -4
  50. package/components/panel/panel.module.css.d.ts +1 -1
  51. package/components/paragraph/paragraph.module.css +8 -8
  52. package/components/paragraph/paragraph.module.css.d.ts +2 -2
  53. package/components/popover/popover.module.css +6 -6
  54. package/components/radio/radio.module.css +32 -32
  55. package/components/radio/radio.module.css.d.ts +1 -1
  56. package/components/searchField/searchField.module.css +41 -45
  57. package/components/searchField/searchField.module.css.d.ts +1 -2
  58. package/components/segmentedControl/segmentedControl.module.css +33 -35
  59. package/components/segmentedControl/segmentedControl.module.css.d.ts +2 -2
  60. package/components/select/select.module.css +32 -32
  61. package/components/select/select.module.css.d.ts +1 -1
  62. package/components/skeleton/skeleton.module.css +6 -8
  63. package/components/spinner/spinner.module.css +22 -22
  64. package/components/spinner/spinner.module.css.d.ts +4 -4
  65. package/components/surface/surface.module.css +3 -7
  66. package/components/surface/surface.module.css.d.ts +0 -1
  67. package/components/switch/switch.module.css +45 -39
  68. package/components/switch/switch.module.css.d.ts +1 -1
  69. package/components/table/table.module.css +61 -50
  70. package/components/tabs/tabs.module.css +46 -45
  71. package/components/tabs/tabs.module.css.d.ts +2 -2
  72. package/components/tag/tag.module.css +32 -24
  73. package/components/text/text.module.css +48 -96
  74. package/components/textField/textField.module.css +78 -72
  75. package/components/textField/textField.module.css.d.ts +1 -1
  76. package/components/toast/toast.module.css +17 -19
  77. package/components/tooltip/tooltip.module.css +12 -12
  78. package/package.json +3 -3
  79. package/themes/default-dark.js +1 -1
  80. package/themes/default.js +2 -1
  81. package/themes/index.d.ts +2 -1
  82. package/build/themes/cjs/june-dark.d.ts +0 -5
  83. package/build/themes/cjs/june-dark.js +0 -13
  84. package/build/themes/cjs/june.d.ts +0 -5
  85. package/build/themes/cjs/june.js +0 -13
  86. package/build/themes/esm/june-dark.d.ts +0 -5
  87. package/build/themes/esm/june-dark.js +0 -8
  88. package/build/themes/esm/june.d.ts +0 -5
  89. package/build/themes/esm/june.js +0 -8
  90. package/themes/default-dark.css +0 -2
  91. package/themes/june-dark.css +0 -3
  92. package/themes/june-dark.d.ts +0 -5
  93. package/themes/june-dark.js +0 -13
  94. package/themes/june-dark.scss +0 -3
  95. package/themes/june.css +0 -3
  96. package/themes/june.d.ts +0 -5
  97. package/themes/june.js +0 -13
  98. package/themes/june.scss +0 -3
@@ -5,8 +5,7 @@
5
5
  overflow-y: hidden;
6
6
  white-space: nowrap;
7
7
  position: relative;
8
- scroll-padding: 0
9
- calc(2 * var(--sapphire-tabs-size-spacing-arrows-horizontal) + 1px);
8
+ scroll-padding: 0 calc(2 * var(--sapphire-global-size-generic-100) + 1px);
10
9
  min-width: 0;
11
10
  flex: 1;
12
11
 
@@ -38,37 +37,37 @@
38
37
 
39
38
  .sapphire-tabs-overflow-arrows__arrow--left {
40
39
  left: 0;
41
- padding-right: var(--sapphire-tabs-size-spacing-arrows-horizontal);
40
+ padding-right: var(--sapphire-global-size-generic-100);
42
41
  background: linear-gradient(
43
42
  90deg,
44
- var(--sapphire-tabs-color-gradient-opaque) 0%,
45
- var(--sapphire-tabs-color-gradient-opaque) 40%,
46
- var(--sapphire-tabs-color-gradient-transparent) 100%
43
+ var(--sapphire-global-color-neutral-white) 0%,
44
+ var(--sapphire-global-color-neutral-white) 40%,
45
+ var(--sapphire-global-color-neutral-transparent) 100%
47
46
  );
48
47
  }
49
48
 
50
49
  .sapphire-tabs-overflow-arrows__arrow--right {
51
50
  right: 0;
52
- padding-left: var(--sapphire-tabs-size-spacing-arrows-horizontal);
51
+ padding-left: var(--sapphire-global-size-generic-100);
53
52
  background: linear-gradient(
54
53
  90deg,
55
- var(--sapphire-tabs-color-gradient-transparent) 0%,
56
- var(--sapphire-tabs-color-gradient-opaque) 60%,
57
- var(--sapphire-tabs-color-gradient-opaque) 100%
54
+ var(--sapphire-global-color-neutral-transparent) 0%,
55
+ var(--sapphire-global-color-neutral-white) 60%,
56
+ var(--sapphire-global-color-neutral-white) 100%
58
57
  );
59
58
  }
60
59
 
61
60
  .sapphire-tabs {
62
61
  display: inline-flex;
63
62
  box-sizing: border-box;
64
- height: var(--sapphire-tabs-size-height-m);
65
- gap: var(--sapphire-tabs-size-gap-m);
63
+ height: var(--sapphire-semantic-size-height-control-lg);
64
+ gap: var(--sapphire-semantic-size-spacing-40);
66
65
  position: relative;
67
66
  overflow: hidden;
68
67
  position: relative;
69
68
  min-width: 100%;
70
69
  flex: 1;
71
- padding: 0 var(--sapphire-tabs-size-focus-ring-offset);
70
+ padding: 0 var(--sapphire-semantic-size-focus-ring);
72
71
  }
73
72
 
74
73
  .sapphire-tabs::after {
@@ -77,9 +76,9 @@
77
76
  position: absolute;
78
77
  bottom: 0;
79
78
  width: 100%;
80
- height: var(--sapphire-tabs-size-border);
81
- background-color: var(--sapphire-tabs-color-border-default);
82
- border-radius: var(--sapphire-tabs-size-border);
79
+ height: var(--sapphire-semantic-size-border-md);
80
+ background-color: var(--sapphire-semantic-color-border-separator-default);
81
+ border-radius: var(--sapphire-semantic-size-border-md);
83
82
  }
84
83
 
85
84
  /**
@@ -97,13 +96,13 @@
97
96
  align-items: center;
98
97
  position: relative;
99
98
 
100
- font-family: var(--sapphire-tabs-font-name);
101
- font-weight: var(--sapphire-tabs-font-weight);
102
- font-size: var(--sapphire-tabs-size-font-m);
99
+ font-family: var(--sapphire-semantic-font-name-default);
100
+ font-weight: var(--sapphire-semantic-font-weight-default-regular);
101
+ font-size: var(--sapphire-semantic-size-font-control-md);
103
102
  text-decoration: none;
104
103
 
105
104
  background: none;
106
- color: var(--sapphire-tabs-color-content-inactive-default);
105
+ color: var(--sapphire-semantic-color-content-default-primary);
107
106
  box-sizing: border-box;
108
107
  white-space: nowrap;
109
108
  border-width: 0;
@@ -115,13 +114,13 @@
115
114
  * The focus ring offset as vertical margin is used to make the focus ring
116
115
  * offset so it overlaps the grey separator and doesn't overflow the container.
117
116
  */
118
- margin: var(--sapphire-tabs-size-focus-ring-offset) 0
119
- var(--sapphire-tabs-size-focus-ring-offset) 0;
117
+ margin: var(--sapphire-semantic-size-focus-ring) 0
118
+ var(--sapphire-semantic-size-focus-ring) 0;
120
119
  cursor: pointer;
121
120
  outline: none;
122
121
 
123
122
  /* Need the border radius to round the focus ring*/
124
- border-radius: var(--sapphire-tabs-size-focus-ring-radius);
123
+ border-radius: var(--sapphire-semantic-size-radius-sm);
125
124
 
126
125
  /* Just to make sure it's above the grey border */
127
126
  z-index: 1;
@@ -133,13 +132,13 @@
133
132
  .sapphire-tabs__tab:not(:disabled):not(.is-disabled):not(:active):not(
134
133
  .is-active
135
134
  ).is-hover {
136
- color: var(--sapphire-tabs-color-content-inactive-hover);
135
+ color: var(--sapphire-semantic-color-content-action-secondary-default);
137
136
  }
138
137
 
139
138
  .sapphire-tabs__tab.js-focus.is-focus,
140
139
  .sapphire-tabs__tab:not(.js-focus):focus-visible {
141
- outline: var(--sapphire-tabs-size-focus-ring-border) solid
142
- var(--sapphire-tabs-color-focus-ring);
140
+ outline: var(--sapphire-semantic-size-focus-ring) solid
141
+ var(--sapphire-semantic-color-focus-ring);
143
142
  }
144
143
 
145
144
  /**
@@ -152,7 +151,7 @@
152
151
  }
153
152
  .sapphire-tabs__tab:disabled .sapphire-tabs__label,
154
153
  .sapphire-tabs__tab.is-disabled .sapphire-tabs__label {
155
- opacity: var(--sapphire-tabs-opacity-disabled);
154
+ opacity: var(--sapphire-semantic-opacity-disabled);
156
155
  }
157
156
 
158
157
  .sapphire-tabs__label {
@@ -164,7 +163,7 @@
164
163
  * Active tab
165
164
  */
166
165
  .sapphire-tabs__tab--active {
167
- color: var(--sapphire-tabs-color-content-active-default);
166
+ color: var(--sapphire-semantic-color-content-action-secondary-default);
168
167
  }
169
168
 
170
169
  .sapphire-tabs__tab--active.js-focus:not(.is-focus)::after,
@@ -173,33 +172,35 @@
173
172
  display: block;
174
173
  position: absolute;
175
174
  /* To offset the space created by the tab's margin */
176
- bottom: calc(-1 * var(--sapphire-tabs-size-focus-ring-offset));
175
+ bottom: calc(-1 * var(--sapphire-semantic-size-focus-ring));
177
176
  width: 100%;
178
- height: var(--sapphire-tabs-size-border);
179
- background-color: var(--sapphire-tabs-color-border-active);
180
- border-radius: var(--sapphire-tabs-size-border);
177
+ height: var(--sapphire-semantic-size-border-md);
178
+ background-color: var(
179
+ --sapphire-semantic-color-content-action-secondary-default
180
+ );
181
+ border-radius: var(--sapphire-semantic-size-border-md);
181
182
  }
182
183
 
183
184
  /**
184
185
  * Small
185
186
  */
186
- .sapphire-tabs--small {
187
- height: var(--sapphire-tabs-size-height-s);
188
- gap: var(--sapphire-tabs-size-gap-s);
187
+ .sapphire-tabs--sm {
188
+ height: var(--sapphire-semantic-size-height-control-md);
189
+ gap: var(--sapphire-semantic-size-spacing-40);
189
190
  }
190
- .sapphire-tabs--small .sapphire-tabs__tab {
191
- font-size: var(--sapphire-tabs-size-font-s);
191
+ .sapphire-tabs--sm .sapphire-tabs__tab {
192
+ font-size: var(--sapphire-semantic-size-font-control-sm);
192
193
  }
193
194
 
194
195
  /**
195
196
  * Large
196
197
  */
197
- .sapphire-tabs--large {
198
- height: var(--sapphire-tabs-size-height-l);
199
- gap: var(--sapphire-tabs-size-gap-l);
198
+ .sapphire-tabs--lg {
199
+ height: var(--sapphire-semantic-size-height-control-xl);
200
+ gap: var(--sapphire-semantic-size-spacing-50);
200
201
  }
201
- .sapphire-tabs--large .sapphire-tabs__tab {
202
- font-size: var(--sapphire-tabs-size-font-l);
202
+ .sapphire-tabs--lg .sapphire-tabs__tab {
203
+ font-size: var(--sapphire-semantic-size-font-control-default);
203
204
  }
204
205
 
205
206
  .sapphire-tab-panel {
@@ -213,7 +214,7 @@
213
214
  /* tab panel focus styling */
214
215
  .sapphire-tab-panel.js-focus.is-focus,
215
216
  .sapphire-tab-panel:not(.js-focus):focus-visible {
216
- outline: var(--sapphire-tabs-size-focus-ring-border) solid
217
- var(--sapphire-tabs-color-focus-ring);
218
- outline-offset: var(--sapphire-tabs-size-focus-ring-offset);
217
+ outline: var(--sapphire-semantic-size-focus-ring) solid
218
+ var(--sapphire-semantic-color-focus-ring);
219
+ outline-offset: var(--sapphire-semantic-size-focus-ring);
219
220
  }
@@ -16,8 +16,8 @@ declare const styles: {
16
16
  readonly "is-focus": string;
17
17
  readonly "sapphire-tabs__label": string;
18
18
  readonly "sapphire-tabs__tab--active": string;
19
- readonly "sapphire-tabs--small": string;
20
- readonly "sapphire-tabs--large": string;
19
+ readonly "sapphire-tabs--sm": string;
20
+ readonly "sapphire-tabs--lg": string;
21
21
  readonly "sapphire-tab-panel": string;
22
22
  };
23
23
  export = styles;
@@ -1,37 +1,39 @@
1
1
  .sapphire-tag-group {
2
2
  display: flex;
3
3
  flex-wrap: wrap;
4
- gap: var(--sapphire-tag-size-spacing-gap);
4
+ gap: var(--sapphire-semantic-size-spacing-30);
5
5
  outline: none;
6
6
  }
7
7
 
8
8
  .sapphire-tag {
9
9
  display: inline-flex;
10
10
  flex-direction: row;
11
- height: var(--sapphire-tag-size-height);
12
- padding: 0 var(--sapphire-tag-size-spacing-horizontal);
13
- gap: var(--sapphire-tag-size-spacing-with-icon);
11
+ height: var(--sapphire-semantic-size-height-control-sm);
12
+ padding: 0 var(--sapphire-semantic-size-spacing-40);
13
+ gap: var(--sapphire-semantic-size-spacing-20);
14
14
  justify-content: center;
15
15
  align-items: center;
16
16
  white-space: nowrap;
17
- border-radius: var(--sapphire-tag-size-radius);
17
+ border-radius: var(--sapphire-semantic-size-height-control-sm);
18
18
  cursor: default;
19
19
 
20
20
  /* typography */
21
- font-size: var(--sapphire-tag-size-font);
22
- font-family: var(--sapphire-tag-font-name);
23
- font-weight: var(--sapphire-tag-font-weight);
21
+ font-size: var(--sapphire-semantic-size-font-control-md);
22
+ font-family: var(--sapphire-semantic-font-name-default);
23
+ font-weight: var(--sapphire-semantic-font-weight-default-semibold);
24
24
  font-style: normal;
25
25
  text-decoration: none;
26
26
 
27
27
  /* color default */
28
- background-color: var(--sapphire-tag-color-background-primary-default);
29
- color: var(--sapphire-tag-color-content-default);
28
+ background-color: var(
29
+ --sapphire-semantic-color-background-action-secondary-default
30
+ );
31
+ color: var(--sapphire-semantic-color-content-default-primary);
30
32
  outline: none;
31
33
 
32
34
  /* transition */
33
35
  transition-property: opacity, background-color, color;
34
- transition-duration: var(--sapphire-tag-time-transition);
36
+ transition-duration: var(--sapphire-semantic-time-fade-quick);
35
37
  transition-timing-function: ease-in-out;
36
38
 
37
39
  /* The below is meant to address a font rendering quirk in OSX where the text
@@ -51,16 +53,18 @@
51
53
 
52
54
  .sapphire-tag.is-focus,
53
55
  .sapphire-tag:not(.js-focus):focus-visible {
54
- background-color: var(--sapphire-tag-color-background-primary-focus);
55
- outline: var(--sapphire-tag-size-focus-ring-border) solid
56
- var(--sapphire-tag-color-focus-ring);
57
- outline-offset: var(--sapphire-tag-size-focus-ring-offset);
56
+ background-color: var(
57
+ --sapphire-semantic-color-background-action-secondary-default
58
+ );
59
+ outline: var(--sapphire-semantic-size-focus-ring) solid
60
+ var(--sapphire-semantic-color-focus-ring);
61
+ outline-offset: var(--sapphire-semantic-size-focus-ring);
58
62
  }
59
63
 
60
64
  .sapphire-tag__content {
61
65
  display: inline-flex;
62
66
  align-items: center;
63
- gap: var(--sapphire-tag-size-spacing-with-icon);
67
+ gap: var(--sapphire-semantic-size-spacing-20);
64
68
  }
65
69
 
66
70
  /* Actionable */
@@ -70,29 +74,33 @@
70
74
  .sapphire-tag--actionable:not(:disabled):not(.is-disabled):not(:active):not(
71
75
  .is-active
72
76
  ).is-hover {
73
- background-color: var(--sapphire-tag-color-background-primary-hover);
77
+ background-color: var(
78
+ --sapphire-semantic-color-background-action-secondary-hover
79
+ );
74
80
  cursor: pointer;
75
81
  }
76
82
 
77
83
  .sapphire-tag--actionable.is-active {
78
- background-color: var(--sapphire-tag-color-background-primary-active);
84
+ background-color: var(
85
+ --sapphire-semantic-color-background-action-secondary-active
86
+ );
79
87
  cursor: pointer;
80
88
  }
81
89
 
82
90
  .sapphire-tag:disabled,
83
91
  .sapphire-tag.is-disabled {
84
- opacity: var(--sapphire-tag-opacity-disabled);
92
+ opacity: var(--sapphire-semantic-opacity-disabled);
85
93
  cursor: not-allowed;
86
94
  pointer-events: none;
87
95
  }
88
96
 
89
97
  /* Adjusts sizing when button or icon is present */
90
98
  .sapphire-tag:has(.sapphire-tag__button) {
91
- padding-right: var(--sapphire-tag-size-spacing-with-icon);
99
+ padding-right: var(--sapphire-semantic-size-spacing-20);
92
100
  }
93
101
 
94
102
  .sapphire-tag:has(.sapphire-tag__error-icon) {
95
- padding-left: var(--sapphire-tag-size-spacing-with-icon);
103
+ padding-left: var(--sapphire-semantic-size-spacing-20);
96
104
  }
97
105
 
98
106
  /**
@@ -101,7 +109,7 @@
101
109
  .sapphire-tag__error-icon {
102
110
  display: flex;
103
111
  align-items: center;
104
- color: var(--sapphire-tag-color-error);
112
+ color: var(--sapphire-semantic-color-content-negative-secondary-default);
105
113
  }
106
114
 
107
115
  /**
@@ -120,13 +128,13 @@
120
128
 
121
129
  /* transition */
122
130
  transition-property: color;
123
- transition-duration: var(--sapphire-tag-time-transition);
131
+ transition-duration: var(--sapphire-semantic-time-fade-quick);
124
132
  transition-timing-function: ease-in-out;
125
133
  cursor: pointer;
126
134
 
127
135
  /* style */
128
136
  background-color: transparent;
129
- color: var(--sapphire-tag-color-button);
137
+ color: var(--sapphire-semantic-color-content-passive-secondary-default);
130
138
  }
131
139
 
132
140
  .sapphire-tag__button:focus {
@@ -1,5 +1,5 @@
1
1
  .sapphire-text {
2
- font-family: var(--sapphire-text-font-name-default);
2
+ font-family: var(--sapphire-semantic-font-name-default);
3
3
 
4
4
  /* The below is meant to address a font rendering quirk in OSX where the text
5
5
  * looks bolder than intended due to subpixel rendering. This quirk generally
@@ -17,7 +17,7 @@
17
17
  }
18
18
 
19
19
  .sapphire-text--strong {
20
- font-weight: var(--sapphire-text-font-weight-strong);
20
+ font-weight: var(--sapphire-semantic-font-weight-default-semibold);
21
21
  }
22
22
 
23
23
  .sapphire-text--underlined {
@@ -33,175 +33,127 @@
33
33
  .sapphire-text--heading-6 {
34
34
  margin-top: 0px;
35
35
  margin-bottom: 0px;
36
- color: var(--sapphire-text-color-content-heading);
37
- line-height: var(--sapphire-text-size-line-height-heading);
36
+ color: var(--sapphire-semantic-color-content-default-primary);
37
+ line-height: var(--sapphire-global-size-line-height-sm);
38
38
  }
39
39
 
40
40
  .sapphire-text--heading-1 {
41
- font-family: var(--sapphire-text-font-name-heading-default-1);
42
- font-weight: var(--sapphire-text-font-weight-heading-default-1);
43
- font-size: var(--sapphire-text-size-font-heading-1);
44
- text-transform: var(--sapphire-text-font-text-transform-heading-default-1);
45
- letter-spacing: var(--sapphire-text-font-letter-spacing-heading-default-1);
41
+ font-family: var(--sapphire-semantic-font-name-default);
42
+ font-weight: var(--sapphire-semantic-font-weight-default-semibold);
43
+ font-size: var(--sapphire-global-size-font-220);
46
44
  }
47
45
 
48
46
  .sapphire-text--heading-2 {
49
- font-family: var(--sapphire-text-font-name-heading-default-2);
50
- font-weight: var(--sapphire-text-font-weight-heading-default-2);
51
- font-size: var(--sapphire-text-size-font-heading-2);
52
- text-transform: var(--sapphire-text-font-text-transform-heading-default-2);
53
- letter-spacing: var(--sapphire-text-font-letter-spacing-heading-default-2);
47
+ font-family: var(--sapphire-semantic-font-name-default);
48
+ font-weight: var(--sapphire-semantic-font-weight-default-semibold);
49
+ font-size: var(--sapphire-global-size-font-150);
54
50
  }
55
51
 
56
52
  .sapphire-text--heading-3 {
57
- font-family: var(--sapphire-text-font-name-heading-default-3);
58
- font-weight: var(--sapphire-text-font-weight-heading-default-3);
59
- font-size: var(--sapphire-text-size-font-heading-3);
60
- text-transform: var(--sapphire-text-font-text-transform-heading-default-3);
61
- letter-spacing: var(--sapphire-text-font-letter-spacing-heading-default-3);
53
+ font-family: var(--sapphire-semantic-font-name-default);
54
+ font-weight: var(--sapphire-semantic-font-weight-default-semibold);
55
+ font-size: var(--sapphire-global-size-font-130);
62
56
  }
63
57
 
64
58
  .sapphire-text--heading-4 {
65
- font-family: var(--sapphire-text-font-name-heading-default-4);
66
- font-weight: var(--sapphire-text-font-weight-heading-default-4);
67
- font-size: var(--sapphire-text-size-font-heading-4);
68
- text-transform: var(--sapphire-text-font-text-transform-heading-default-4);
69
- letter-spacing: var(--sapphire-text-font-letter-spacing-heading-default-4);
59
+ font-family: var(--sapphire-semantic-font-name-default);
60
+ font-weight: var(--sapphire-semantic-font-weight-default-semibold);
61
+ font-size: var(--sapphire-global-size-font-112);
70
62
  }
71
63
 
72
64
  .sapphire-text--heading-5 {
73
- font-family: var(--sapphire-text-font-name-heading-default-5);
74
- font-weight: var(--sapphire-text-font-weight-heading-default-5);
75
- font-size: var(--sapphire-text-size-font-heading-5);
76
- text-transform: var(--sapphire-text-font-text-transform-heading-default-5);
77
- letter-spacing: var(--sapphire-text-font-letter-spacing-heading-default-5);
65
+ font-family: var(--sapphire-semantic-font-name-default);
66
+ font-weight: var(--sapphire-semantic-font-weight-default-semibold);
67
+ font-size: var(--sapphire-global-size-font-106);
78
68
  }
79
69
 
80
70
  .sapphire-text--heading-6 {
81
- font-family: var(--sapphire-text-font-name-heading-default-6);
82
- font-weight: var(--sapphire-text-font-weight-heading-default-6);
83
- font-size: var(--sapphire-text-size-font-heading-6);
84
- text-transform: var(--sapphire-text-font-text-transform-heading-default-6);
85
- letter-spacing: var(--sapphire-text-font-letter-spacing-heading-default-6);
71
+ font-family: var(--sapphire-semantic-font-name-default);
72
+ font-weight: var(--sapphire-semantic-font-weight-default-semibold);
73
+ font-size: var(--sapphire-global-size-font-100);
86
74
  }
87
75
 
88
76
  /* Alternative Heading */
89
77
 
90
78
  .sapphire-text--heading-1.sapphire-text--heading-alternative {
91
- font-family: var(--sapphire-text-font-name-heading-alternative-1);
92
- font-weight: var(--sapphire-text-font-weight-heading-alternative-1);
93
- text-transform: var(
94
- --sapphire-text-font-text-transform-heading-alternative-1
95
- );
96
- letter-spacing: var(
97
- --sapphire-text-font-letter-spacing-heading-alternative-1
98
- );
79
+ font-family: var(--sapphire-semantic-font-name-display);
80
+ font-weight: var(--sapphire-semantic-font-weight-default-regular);
99
81
  }
100
82
 
101
83
  .sapphire-text--heading-2.sapphire-text--heading-alternative {
102
- font-family: var(--sapphire-text-font-name-heading-alternative-2);
103
- font-weight: var(--sapphire-text-font-weight-heading-alternative-2);
104
- text-transform: var(
105
- --sapphire-text-font-text-transform-heading-alternative-2
106
- );
107
- letter-spacing: var(
108
- --sapphire-text-font-letter-spacing-heading-alternative-2
109
- );
84
+ font-family: var(--sapphire-semantic-font-name-display);
85
+ font-weight: var(--sapphire-semantic-font-weight-default-regular);
110
86
  }
111
87
 
112
88
  .sapphire-text--heading-3.sapphire-text--heading-alternative {
113
- font-family: var(--sapphire-text-font-name-heading-alternative-3);
114
- font-weight: var(--sapphire-text-font-weight-heading-alternative-3);
115
- text-transform: var(
116
- --sapphire-text-font-text-transform-heading-alternative-3
117
- );
118
- letter-spacing: var(
119
- --sapphire-text-font-letter-spacing-heading-alternative-3
120
- );
89
+ font-family: var(--sapphire-semantic-font-name-display);
90
+ font-weight: var(--sapphire-semantic-font-weight-default-regular);
121
91
  }
122
92
 
123
93
  .sapphire-text--heading-4.sapphire-text--heading-alternative {
124
- font-family: var(--sapphire-text-font-name-heading-alternative-4);
125
- font-weight: var(--sapphire-text-font-weight-heading-alternative-4);
126
- text-transform: var(
127
- --sapphire-text-font-text-transform-heading-alternative-4
128
- );
129
- letter-spacing: var(
130
- --sapphire-text-font-letter-spacing-heading-alternative-4
131
- );
94
+ font-family: var(--sapphire-semantic-font-name-display);
95
+ font-weight: var(--sapphire-semantic-font-weight-default-regular);
132
96
  }
133
97
 
134
98
  .sapphire-text--heading-5.sapphire-text--heading-alternative {
135
- font-family: var(--sapphire-text-font-name-heading-alternative-5);
136
- font-weight: var(--sapphire-text-font-weight-heading-alternative-5);
137
- text-transform: var(
138
- --sapphire-text-font-text-transform-heading-alternative-5
139
- );
140
- letter-spacing: var(
141
- --sapphire-text-font-letter-spacing-heading-alternative-5
142
- );
99
+ font-family: var(--sapphire-semantic-font-name-display);
100
+ font-weight: var(--sapphire-semantic-font-weight-default-regular);
143
101
  }
144
102
 
145
103
  .sapphire-text--heading-6.sapphire-text--heading-alternative {
146
- font-family: var(--sapphire-text-font-name-heading-alternative-6);
147
- font-weight: var(--sapphire-text-font-weight-heading-alternative-6);
148
- text-transform: var(
149
- --sapphire-text-font-text-transform-heading-alternative-6
150
- );
151
- letter-spacing: var(
152
- --sapphire-text-font-letter-spacing-heading-alternative-6
153
- );
104
+ font-family: var(--sapphire-semantic-font-name-display);
105
+ font-weight: var(--sapphire-semantic-font-weight-default-regular);
154
106
  }
155
107
 
156
108
  /* Subheading */
157
109
  .sapphire-text--subheading-1,
158
110
  .sapphire-text--subheading-2 {
159
- color: var(--sapphire-text-color-content-subheading);
160
- line-height: var(--sapphire-text-size-line-height-subheading);
111
+ color: var(--sapphire-semantic-color-content-default-primary);
112
+ line-height: var(--sapphire-global-size-line-height-sm);
161
113
  }
162
114
 
163
115
  .sapphire-text--subheading-1 {
164
- font-size: var(--sapphire-text-size-font-subheading-1);
116
+ font-size: var(--sapphire-global-size-font-88);
165
117
  }
166
118
 
167
119
  .sapphire-text--subheading-2 {
168
- font-size: var(--sapphire-text-size-font-subheading-2);
120
+ font-size: var(--sapphire-global-size-font-75);
169
121
  }
170
122
 
171
123
  /* Body text */
172
124
  .sapphire-text--body-1,
173
125
  .sapphire-text--body-2,
174
126
  .sapphire-text--body-3 {
175
- color: var(--sapphire-text-color-content-body);
176
- line-height: var(--sapphire-text-size-line-height-body);
127
+ color: var(--sapphire-semantic-color-content-default-primary);
128
+ line-height: var(--sapphire-global-size-line-height-md);
177
129
  margin-top: 0px;
178
130
  margin-bottom: 0px;
179
131
  }
180
132
 
181
133
  .sapphire-text--body-1 {
182
- font-size: var(--sapphire-text-size-font-body-1);
134
+ font-size: var(--sapphire-global-size-font-106);
183
135
  }
184
136
 
185
137
  .sapphire-text--body-2 {
186
- font-size: var(--sapphire-text-size-font-body-2);
138
+ font-size: var(--sapphire-global-size-font-88);
187
139
  }
188
140
 
189
141
  .sapphire-text--body-3 {
190
- font-size: var(--sapphire-text-size-font-body-3);
142
+ font-size: var(--sapphire-global-size-font-75);
191
143
  }
192
144
 
193
145
  /* Caption text */
194
146
  .sapphire-text--caption-1,
195
147
  .sapphire-text--caption-2 {
196
- color: var(--sapphire-text-color-content-caption);
197
- font-weight: var(--sapphire-text-font-weight-caption);
198
- line-height: var(--sapphire-text-size-line-height-caption);
148
+ color: var(--sapphire-semantic-color-content-default-primary);
149
+ font-weight: var(--sapphire-semantic-font-weight-default-semibold);
150
+ line-height: var(--sapphire-global-size-line-height-sm);
199
151
  }
200
152
 
201
153
  .sapphire-text--caption-1 {
202
- font-size: var(--sapphire-text-size-font-caption-1);
154
+ font-size: var(--sapphire-global-size-font-88);
203
155
  }
204
156
 
205
157
  .sapphire-text--caption-2 {
206
- font-size: var(--sapphire-text-size-font-caption-2);
158
+ font-size: var(--sapphire-global-size-font-75);
207
159
  }