@transferwise/neptune-css 0.0.0-experimental-1234904 → 0.0.0-experimental-5cb94bb

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@transferwise/neptune-css",
3
3
  "description": "Neptune CSS library",
4
- "version": "0.0.0-experimental-1234904",
4
+ "version": "0.0.0-experimental-5cb94bb",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -76,11 +76,6 @@
76
76
  .np-text-title-subsection,
77
77
  .np-text-title-body,
78
78
  .np-text-title-group,
79
- .wds-text-title-screen,
80
- .wds-text-title-section,
81
- .wds-text-title-subsection,
82
- .wds-text-title-body,
83
- .wds-text-title-group,
84
79
  strong {
85
80
  color: @color-navy-content-primary;
86
81
  }
@@ -7,9 +7,9 @@
7
7
  min-width: var(--size-16);
8
8
  padding: 5px var(--size-8);
9
9
  font-size: 10px;
10
- font-weight: var(--wds-font-weight-title-body);
10
+ font-weight: var(--font-weight-semi-bold);
11
11
  color: #fff;
12
- line-height: var(--wds-line-height-title-section);
12
+ line-height: var(--line-height-control);
13
13
  vertical-align: middle;
14
14
  white-space: nowrap;
15
15
  text-align: center;
@@ -404,9 +404,8 @@
404
404
  }
405
405
  }
406
406
 
407
- .body-2,
408
407
  .np-text-body-default,
409
- .wds-text-body-default,
408
+ .body-2,
410
409
  .small {
411
410
  color: var(--color-content-secondary);
412
411
  }
@@ -419,7 +418,7 @@
419
418
  }
420
419
 
421
420
  .btn-group .secondary {
422
- .wds-text-body-default;
421
+ .np-text-body-default;
423
422
 
424
423
  color: var(--color-content-secondary);
425
424
  }
@@ -8,7 +8,7 @@
8
8
  @import (reference) "./ring.less";
9
9
 
10
10
  .btn {
11
- .wds-text-body-large-bold;
11
+ .np-text-body-large-bold;
12
12
 
13
13
  display: inline-block;
14
14
  margin-bottom: 0;
@@ -22,11 +22,11 @@
22
22
  border: 1px solid transparent;
23
23
  white-space: nowrap;
24
24
  padding-bottom: 10px;
25
- font-weight: var(--wds-font-weight-title-body);
25
+ font-weight: var(--font-weight-semi-bold);
26
26
 
27
27
  .button-size(
28
28
  var(--btn-padding);
29
- var(--wds-font-size-body-large);
29
+ var(--font-size-16);
30
30
  var(--line-height-24);
31
31
  var(--btn-radius-base);
32
32
  var(--btn-height);
@@ -475,7 +475,7 @@
475
475
  .navbar .btn {
476
476
  .button-size(
477
477
  var(--btn-sm-padding);
478
- var(--wds-font-size-body);
478
+ var(--font-size-14);
479
479
  var(--line-height-22);
480
480
  var(--btn-sm-radius-base);
481
481
  var(--btn-sm-height);
@@ -512,7 +512,7 @@
512
512
  .navbar-collapse .btn {
513
513
  .button-size(
514
514
  var(--btn-padding);
515
- var(--wds-font-size-body-large);
515
+ var(--font-size-16);
516
516
  var(--line-height-24);
517
517
  var(--border-radius-base);
518
518
  var(--btn-height);
@@ -547,7 +547,7 @@ input[type="button"] {
547
547
 
548
548
  // @TODO Deprecate / Remove
549
549
  .btn-input {
550
- font-weight: var(--wds-font-weight-body-regular);
550
+ font-weight: var(--font-weight-regular);
551
551
  .padding(left, @padding-base-horizontal);
552
552
 
553
553
  .padding(right, @padding-base-horizontal);
@@ -584,7 +584,7 @@ input[type="button"] {
584
584
 
585
585
  &.btn-addon,
586
586
  &.btn-input-inverse {
587
- font-weight: var(--wds-font-weight-title-body);
587
+ font-weight: var(--font-weight-semi-bold);
588
588
  }
589
589
  }
590
590
  }
@@ -1,6 +1,6 @@
1
1
  /* See: https://github.com/fontsource/fontsource/blob/main/fonts/google/inter/variable.css */
2
2
 
3
- @import "fonts/_fonts-en";
3
+ @import "fonts/_fonts-base";
4
4
  @import "fonts/_fonts-ar";
5
5
  @import "fonts/_fonts-he";
6
6
  @import "fonts/_fonts-ja";
@@ -18,11 +18,11 @@
18
18
  }
19
19
 
20
20
  &__title {
21
- .wds-text-title-body();
21
+ .np-text-title-body();
22
22
  }
23
23
 
24
24
  &__content {
25
- .wds-text-body-default;
25
+ .np-text-body-default;
26
26
 
27
27
  margin-top: var(--size-4);
28
28
  }
@@ -1,4 +1,4 @@
1
- @import (reference) "../variables/neptune-tokens.less";
1
+ @import (reference) "../variables/neptune-tokens.less";
2
2
  @import (reference) "../variables/legacy-variables.less";
3
3
  @import (reference) "../less/core/_typography.less";
4
4
  @import (reference) "./mixins/_border-radius.less";
@@ -30,7 +30,7 @@
30
30
 
31
31
  margin: 0; // override default ul
32
32
  list-style: none;
33
- .wds-text-body-default;
33
+ .np-text-body-default;
34
34
  .text-align(left); // Ensures proper alignment if parent has it changed (e.g., modal footer)
35
35
 
36
36
  background-color: var(--color-background-screen);
@@ -74,7 +74,7 @@
74
74
  padding: var(--dropdown-link-padding);
75
75
  clear: both;
76
76
  border-radius: @border-radius-base;
77
- .wds-text-body-default;
77
+ .np-text-body-default;
78
78
 
79
79
  color: var(--color-content-primary);
80
80
  white-space: nowrap; // prevent links from randomly breaking onto new lines
@@ -174,9 +174,8 @@
174
174
  color: inherit;
175
175
  }
176
176
 
177
- .small,
178
177
  .np-text-body-default,
179
- .wds-text-body-default,
178
+ .small,
180
179
  .secondary {
181
180
  color: @color-navy-content-secondary;
182
181
  }
@@ -309,12 +308,12 @@
309
308
  .dropdown-header {
310
309
  display: block;
311
310
  padding: 8px 16px;
312
- font-size: var(--wds-font-size-body);
313
- line-height: var(--wds-line-height-body-large);
311
+ font-size: var(--font-size-14);
312
+ line-height: var(--line-height-body);
314
313
  color: var(--color-content-secondary);
315
314
  white-space: nowrap; // as with > li > a
316
315
 
317
- .wds-text-title-group();
316
+ .np-text-title-group();
318
317
  }
319
318
 
320
319
  // Backdrop to catch body clicks on mobile, etc.
@@ -4,7 +4,7 @@
4
4
 
5
5
  .droppable {
6
6
  position: relative;
7
- .wds-text-body-large;
7
+ .np-text-body-large;
8
8
 
9
9
  text-align: center;
10
10
  border: 1px solid var(--color-interactive-secondary);
@@ -74,7 +74,7 @@
74
74
  }
75
75
  .circle {
76
76
  background-color: var(--color-contrast);
77
- color: var(--color-content-primary) !important;
77
+ color: var(--color-content-primary)!important;
78
78
  }
79
79
  }
80
80
  }
@@ -136,7 +136,7 @@
136
136
 
137
137
  .np-theme-personal & {
138
138
  // is a hex code because can't have transparency
139
- background-color: #e1e4df;
139
+ background-color: #E1E4DF;
140
140
  color: var(--color-content-primary);
141
141
  }
142
142
 
@@ -147,7 +147,7 @@
147
147
 
148
148
  .np-theme-personal--forest-green & {
149
149
  // is a hex code because can't have transparency
150
- background-color: #455c35;
150
+ background-color: #455C35;
151
151
  }
152
152
  }
153
153
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  .footer {
5
5
  background-color: var(--color-background-neutral);
6
- .wds-text-body-default;
6
+ .np-text-body-default;
7
7
 
8
8
  padding-top: calc(var(--size-8) * 10);
9
9
  padding-bottom: calc(var(--size-8) * 10);
@@ -21,7 +21,7 @@
21
21
  .footer-link,
22
22
  .link-icon {
23
23
  color: var(--color-content-secondary);
24
- .wds-text-body-default;
24
+ .np-text-body-default;
25
25
 
26
26
  &:hover,
27
27
  &:active,
@@ -102,8 +102,7 @@
102
102
 
103
103
  .tiny,
104
104
  .body-3,
105
- .np-text-body-default,
106
- .wds-text-body-default {
105
+ .np-text-body-default {
107
106
  color: @color-navy-content-primary;
108
107
  }
109
108
  }
@@ -62,30 +62,20 @@
62
62
  > .form-control,
63
63
  > .input-group-addon,
64
64
  > .input-group-btn .btn {
65
- --min-height: calc(2 * var(--size-24) + var(--wds-font-size-title-body) * var(--wds-line-height-title-body));
66
65
  .input-lg();
67
- .wds-text-title-subsection();
68
- min-height: var(--min-height);
69
- margin-bottom: 0;
70
66
 
71
- select& {
72
- min-height: var(--min-height);
73
- }
67
+ .np-text-title-subsection();
68
+
69
+ margin-bottom: 0;
74
70
  }
75
71
  }
76
72
 
77
73
  .input-group-sm > .form-control,
78
74
  .input-group-sm > .input-group-addon {
79
- --min-height: calc(2 * var(--size-4) + var(--wds-font-size-body) * var(--wds-line-height-body));
80
75
  .input-sm();
81
- min-height: var(--min-height);
82
-
83
- select& {
84
- min-height: var(--min-height);
85
- }
86
76
 
87
77
  .icon {
88
- font-size: var(--wds-font-size-title-subsection);
78
+ font-size: var(--font-size-20);
89
79
  }
90
80
  }
91
81
 
@@ -116,8 +106,8 @@
116
106
  // -------------------------
117
107
  .input-group-addon {
118
108
  padding: var(--input-group-addon-padding);
119
- font-size: var(--wds-font-size-body-large);
120
- line-height: var(--wds-line-height-body-large);
109
+ font-size: var(--font-size-16);
110
+ line-height: var(--line-height-body);
121
111
  color: var(--color-content-secondary);
122
112
  text-align: center;
123
113
  background-color: var(--color-background-screen);
@@ -256,7 +246,7 @@
256
246
  }
257
247
 
258
248
  // inputs focus and hover states (not disabled)
259
- .input-group:hover:not(.disabled, :disabled) {
249
+ .input-group:hover:not(.disabled,:disabled) {
260
250
  .form-control,
261
251
  .input-group-addon,
262
252
  .btn-input,
@@ -265,11 +255,11 @@
265
255
  }
266
256
  }
267
257
 
268
- .form-control:hover:not(.disabled, :disabled) {
258
+ .form-control:hover:not(.disabled,:disabled) {
269
259
  border-color: var(--color-interactive-secondary-hover);
270
260
  }
271
261
 
272
- .input-group:focus-within:not(.disabled, :disabled) {
262
+ .input-group:focus-within:not(.disabled,:disabled) {
273
263
  .form-control,
274
264
  .input-group-addon,
275
265
  .btn-input,
@@ -282,7 +272,7 @@
282
272
  }
283
273
  }
284
274
 
285
- .form-control:focus-within:not(.disabled, :disabled) {
275
+ .form-control:focus-within:not(.disabled,:disabled) {
286
276
  border-color: var(--color-interactive-accent);
287
277
 
288
278
  .np-theme-personal & {
@@ -35,7 +35,7 @@
35
35
  .border(left, 2px, solid, transparent);
36
36
 
37
37
  margin-top: 1px;
38
- line-height: var(--wds-line-height-body-large);
38
+ line-height: var(--line-height-body);
39
39
  transition: all ease @panel-focus-transtion;
40
40
 
41
41
  .panel-group & {
@@ -61,7 +61,7 @@
61
61
 
62
62
  .list-group-item-heading {
63
63
  margin-bottom: 0;
64
- .wds-text-title-group;
64
+ .np-text-title-group;
65
65
 
66
66
  color: var(--color-content-primary);
67
67
  }
@@ -200,12 +200,8 @@ a.list-group-item {
200
200
  }
201
201
 
202
202
  @keyframes listSlideOver {
203
- 0% {
204
- transform: translateX(100vw);
205
- }
206
- 100% {
207
- transform: translateX(0);
208
- }
203
+ 0% { transform: translateX(100vw); }
204
+ 100% { transform: translateX(0); }
209
205
  }
210
206
 
211
207
  @media (max-width: @screen-sm-max) {
@@ -254,6 +250,7 @@ a.list-group-item {
254
250
  }
255
251
 
256
252
  .list-group-item.active .collapse .well {
253
+
257
254
  // Annoying but makes sure the last content is visible in iOS safari
258
255
 
259
256
  padding-bottom: 72px;
@@ -134,7 +134,7 @@
134
134
 
135
135
  .modal-title {
136
136
  margin: 0;
137
- line-height: var(--wds-line-height-title-section);
137
+ line-height: var(--line-height-title);
138
138
  }
139
139
 
140
140
  // Modal body
@@ -29,7 +29,7 @@
29
29
 
30
30
  .navbar {
31
31
  position: relative;
32
- font-size: var(--wds-font-size-body);
32
+ font-size: var(--font-size-14);
33
33
  min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
34
34
  margin-bottom: @navbar-margin-bottom;
35
35
  border: 0 solid transparent;
@@ -250,9 +250,9 @@
250
250
  outline: 0;
251
251
  }
252
252
 
253
- font-size: var(--wds-font-size-body-large);
254
- font-weight: var(--wds-font-weight-title-body);
255
- line-height: var(--wds-line-height-body-large);
253
+ font-size: var(--font-size-16);
254
+ font-weight: var(--font-weight-semi-bold);
255
+ line-height: var(--line-height-body);
256
256
  margin-bottom: 8px;
257
257
  color: @color-navy-content-primary;
258
258
 
@@ -344,7 +344,7 @@
344
344
 
345
345
  &.navbar-title-link {
346
346
  @media (--screen-md) {
347
- font-size: var(--wds-font-size-title-body);
347
+ font-size: var(--font-size-20);
348
348
  }
349
349
  }
350
350
  }
@@ -358,7 +358,7 @@
358
358
  > li {
359
359
  > a,
360
360
  > button {
361
- font-size: var(--wds-font-size-body-large);
361
+ font-size: var(--font-size-16);
362
362
  padding: @navbar-padding-mobile;
363
363
  -webkit-touch-callout: none; // When a target is touched and held on iPhone OS, Safari displays a callout information about the link. This property allows disabling that behavior.
364
364
  }
@@ -420,7 +420,7 @@
420
420
 
421
421
  > a {
422
422
  padding-bottom: (@navbar-padding-vertical - 2px);
423
- font-size: var(--wds-font-size-body);
423
+ font-size: var(--font-size-14);
424
424
  }
425
425
  }
426
426
  }
@@ -481,7 +481,7 @@
481
481
  .arrow-pointer(@dropdown-arrow-width);
482
482
 
483
483
  > li > a {
484
- font-size: var(--wds-font-size-body);
484
+ font-size: var(--font-size-14);
485
485
 
486
486
  @media (max-width: @grid-float-breakpoint) {
487
487
  position: relative;
@@ -504,7 +504,7 @@
504
504
  > .active > a {
505
505
  color: var(--color-content-accent-active);
506
506
  background-color: transparent;
507
- font-weight: var(--wds-font-weight-title-body);
507
+ font-weight: var(--font-weight-bold);
508
508
 
509
509
  &:hover,
510
510
  &:focus {
@@ -595,7 +595,7 @@
595
595
  .navbar-vertical-align(22);
596
596
  }
597
597
 
598
- font-weight: var(--wds-font-weight-title-body);
598
+ font-weight: var(--font-weight-semi-bold);
599
599
 
600
600
  @media (max-width: @grid-float-breakpoint-max) {
601
601
  display: block;
@@ -684,7 +684,7 @@
684
684
  > a,
685
685
  > .dropdown-toggle {
686
686
 
687
- font-weight: var(--wds-font-weight-title-body);
687
+ font-weight: var(--font-weight-bold);
688
688
  &,
689
689
  &:hover,
690
690
  &:focus {
@@ -727,7 +727,7 @@
727
727
  }
728
728
 
729
729
  > .active > a {
730
- font-weight: var(--wds-font-weight-title-body);
730
+ font-weight: var(--font-weight-bold);
731
731
  &,
732
732
  &:hover,
733
733
  &:focus {
@@ -804,7 +804,7 @@
804
804
  > a,
805
805
  > .dropdown-toggle {
806
806
  color: var(--color-content-accent-active);
807
- font-weight: var(--wds-font-weight-title-body);
807
+ font-weight: var(--font-weight-bold);
808
808
  &,
809
809
  &:hover,
810
810
  &:focus {
@@ -1105,15 +1105,15 @@
1105
1105
 
1106
1106
  .navbar-title {
1107
1107
  .float(left);
1108
- font-size: var(--wds-font-size-title-body);
1109
- line-height: var(--wds-line-height-title-body);
1108
+ font-size: var(--font-size-20);
1109
+ line-height: var(--line-height-title);
1110
1110
  margin-top: 12px;
1111
1111
  margin-bottom: 12px;
1112
- font-weight: var(--wds-line-height-title-body);
1112
+ font-weight: var(--font-weight-bold);
1113
1113
  }
1114
1114
 
1115
1115
  .navbar-subtitle {
1116
- font-size: var(--wds-font-size-body);
1116
+ font-size: var(--font-size-14);
1117
1117
  margin-bottom: 8px;
1118
1118
  }
1119
1119
 
@@ -1201,7 +1201,7 @@
1201
1201
  }
1202
1202
 
1203
1203
  h1 {
1204
- line-height: var(--wds-line-height-title-section);
1204
+ line-height: var(--line-height-title);
1205
1205
  }
1206
1206
 
1207
1207
  .close {
@@ -1256,7 +1256,7 @@
1256
1256
 
1257
1257
  @media (min-width: @screen-sm-min) {
1258
1258
  .simple-nav .navbar-nav > li > a {
1259
- font-size: var(--wds-font-size-body-large) !important;
1259
+ font-size: var(--font-size-16) !important;
1260
1260
  }
1261
1261
  }
1262
1262
 
@@ -30,8 +30,8 @@
30
30
  outline-offset: -1px;
31
31
  padding: @nav-link-padding;
32
32
  color: var(--color-content-primary);
33
- font-weight: var(--wds-font-weight-body-regular);
34
- font-size: var(--wds-font-size-body-large);
33
+ font-weight: var(--font-weight-regular);
34
+ font-size: var(--font-size-16);
35
35
 
36
36
  &:hover,
37
37
  &:focus {
@@ -47,7 +47,7 @@
47
47
 
48
48
  > .active > a {
49
49
  color: var(--color-content-accent);
50
- font-weight: var(--wds-font-weight-title-body);
50
+ font-weight: var(--font-weight-semi-bold);
51
51
 
52
52
  &:hover,
53
53
  &:focus {
@@ -127,11 +127,11 @@
127
127
  > a {
128
128
  .margin(right, 2px);
129
129
 
130
- line-height: var(--wds-line-height-body-large);
130
+ line-height: var(--line-height-body);
131
131
  //border: 1px solid transparent;
132
132
  //border-radius: @border-radius-base @border-radius-base 0 0;
133
133
  border-bottom: 3px solid transparent;
134
- font-size: var(--wds-font-size-body-large);
134
+ font-size: var(--font-size-16);
135
135
  }
136
136
  }
137
137
 
@@ -153,11 +153,11 @@
153
153
  > li {
154
154
  .float(left);
155
155
 
156
- font-size: var(--wds-font-size-body);
156
+ font-size: var(--font-size-14);
157
157
 
158
158
  // Links rendered as pills
159
159
  > a {
160
- font-size: var(--wds-font-size-body);
160
+ font-size: var(--font-size-14);
161
161
  }
162
162
  }
163
163
  }
@@ -231,7 +231,7 @@
231
231
 
232
232
  &.nav-pills > li > a {
233
233
  padding: 0 var(--size-4);
234
- line-height: var(--wds-line-height-body-large);
234
+ line-height: var(--line-height-body);
235
235
  }
236
236
  }
237
237
 
@@ -38,7 +38,7 @@
38
38
  .panel-title {
39
39
  margin-top: 0;
40
40
  margin-bottom: 0;
41
- line-height: calc(var(--wds-line-height-title-section) + 8px);
41
+ line-height: calc(var(--line-height-title) + 8px);
42
42
 
43
43
  > a {
44
44
  text-decoration: none;
@@ -99,7 +99,7 @@
99
99
 
100
100
  @media (--screen-md) {
101
101
  .panel-title {
102
- line-height: calc(var(--wds-line-height-title-section) * 2);
102
+ line-height: calc(var(--line-height-title) * 2);
103
103
  }
104
104
 
105
105
  .panel-heading {
@@ -24,7 +24,7 @@
24
24
  // So reset our font and text properties to avoid inheriting weird values.
25
25
  .reset-text();
26
26
 
27
- .wds-text-body-default;
27
+ .np-text-body-default;
28
28
 
29
29
  background-color: var(--color-background-screen);
30
30
  background-clip: padding-box;
@@ -221,7 +221,7 @@
221
221
  margin: 0; // reset heading margin
222
222
  padding: 0;
223
223
 
224
- .wds-text-title-body();
224
+ .np-text-title-body();
225
225
 
226
226
  background-color: var(--color-background-screen);
227
227
  border-bottom: 0;
@@ -232,7 +232,7 @@
232
232
  .popover-content {
233
233
  padding: 0;
234
234
 
235
- .wds-text-body-default;
235
+ .np-text-body-default;
236
236
 
237
237
  color: var(--color-content-secondary);
238
238
  }
@@ -348,12 +348,12 @@
348
348
  }
349
349
 
350
350
  .popover-title {
351
- font-size: var(--wds-font-size-body-large);
352
- line-height: var(--wds-font-size-body-large);
351
+ font-size: var(--font-size-16);
352
+ line-height: var(--line-height-title);
353
353
 
354
354
  @media (--screen-md) {
355
- font-size: var(--wds-font-size-title-body);
356
- line-height: var(--wds-font-size-title-body);
355
+ font-size: var(--font-size-20);
356
+ line-height: var(--line-height-title);
357
357
  }
358
358
  }
359
359
 
@@ -20,8 +20,8 @@
20
20
  top: calc(-1 * var(--progress-bar-border-width));
21
21
  left: calc(-1 * var(--progress-bar-start-shift));
22
22
  height: calc(var(--progress-bar-height) + var(--progress-bar-border-width) * 2);
23
- font-size: var(--wds-font-size-body-large);
24
- font-weight: var(--wds-font-weight-body-bold);
23
+ font-size: var(--font-size-16);
24
+ font-weight: var(--font-weight-bold);
25
25
  color: #fff;
26
26
  .text-align(right);
27
27
  background-color: var(--color-content-accent);
@@ -33,13 +33,13 @@
33
33
 
34
34
  margin-top: 0;
35
35
  margin-bottom: 0;
36
- font-size: var(--wds-font-size-body);
36
+ font-size: var(--font-size-14);
37
37
  border-color: var(--color-border-neutral);
38
38
 
39
39
  @media (min-width: @screen-md-min) {
40
40
  .padding(right, @sequence-spacing-horizontal);
41
41
 
42
- font-size: var(--wds-font-size-body-large);
42
+ font-size: var(--font-size-16);
43
43
  }
44
44
 
45
45
  > li {
@@ -51,7 +51,7 @@
51
51
  > a {
52
52
  display: block;
53
53
  text-decoration: none;
54
- font-weight: var(--wds-font-weight-body-regular);
54
+ font-weight: var(--font-weight-regular);
55
55
  color: var(--color-content-accent);
56
56
  outline-offset: -1px;
57
57
 
@@ -85,10 +85,6 @@
85
85
  .h2,
86
86
  .h3,
87
87
  .h4,
88
- .wds-text-title-screen,
89
- .wds-text-title-section,
90
- .wds-text-title-subsection,
91
- .wds-text-title-body,
92
88
  .btn-toolbar {
93
89
  margin-bottom: 16px;
94
90
  }
@@ -130,7 +126,7 @@
130
126
  > a {
131
127
  text-decoration: none;
132
128
  color: var(--color-content-primary);
133
- font-weight: var(--wds-font-weight-title-body);
129
+ font-weight: var(--font-weight-semi-bold);
134
130
 
135
131
  &:hover,
136
132
  &:focus {
@@ -160,7 +156,7 @@
160
156
 
161
157
  a {
162
158
  text-decoration: none;
163
- font-weight: var(--wds-font-weight-body-regular);
159
+ font-weight: var(--font-weight-regular);
164
160
  }
165
161
  }
166
162
 
@@ -190,8 +186,7 @@
190
186
 
191
187
  .small,
192
188
  .body-2,
193
- .np-text-body-default,
194
- .wds-text-body-default {
189
+ .np-text-body-default {
195
190
  color: var(--color-content-secondary);
196
191
  }
197
192
 
@@ -221,7 +216,7 @@
221
216
 
222
217
  > .active {
223
218
  &::before {
224
- border-width: (@sequence-pip-size / 2); // TODO sequence-line-width?
219
+ border-width: (@sequence-pip-size / 2); // TODO sequence-line-width?
225
220
  }
226
221
 
227
222
  ~ li::before {
@@ -253,7 +248,7 @@
253
248
  font-size: var(--font-size-12);
254
249
 
255
250
  .icon {
256
- font-size: var(--wds-font-size-body-large);
251
+ font-size: var(--font-size-16);
257
252
  line-height: (@sequence-icon-size - 1px);
258
253
  }
259
254
 
@@ -371,7 +366,7 @@
371
366
  height: @sequence-icon-size-md;
372
367
  line-height: (@sequence-icon-size-md - 2px);
373
368
  margin-top: -6px;
374
- font-size: var(--wds-font-size-body);
369
+ font-size: var(--font-size-14);
375
370
  }
376
371
 
377
372
  .sequence-icon-lg {
@@ -379,7 +374,7 @@
379
374
  height: @sequence-icon-size-lg;
380
375
  line-height: (@sequence-icon-size-lg - 2px);
381
376
  margin-top: -6px;
382
- font-size: var(--wds-font-size-body-large);
377
+ font-size: var(--font-size-16);
383
378
 
384
379
  .icon {
385
380
  font-size: 22px;
@@ -50,7 +50,7 @@ th {
50
50
  > tr > th,
51
51
  > tr > td {
52
52
  padding: var(--size-24) var(--size-16);
53
- line-height: var(--wds-line-height-body-large);
53
+ line-height: var(--line-height-body);
54
54
  vertical-align: top;
55
55
  border-top: 1px solid var(--color-border-neutral);
56
56
  border-bottom: 0;
@@ -62,7 +62,7 @@ th {
62
62
  > .tbody > dl > dd,
63
63
  > .tfoot > ol > li {
64
64
  padding: var(--size-24) var(--size-16);
65
- line-height: var(--wds-line-height-body-large);
65
+ line-height: var(--line-height-body);
66
66
  vertical-align: top;
67
67
  border-top: 1px solid var(--color-border-neutral);
68
68
  border-bottom: 0;
@@ -115,13 +115,13 @@ th {
115
115
  > tfoot,
116
116
  > .thead,
117
117
  > .tfoot {
118
- font-size: var(--wds-font-size-body);
118
+ font-size: var(--font-size-14);
119
119
  color: var(--color-content-primary);
120
120
  }
121
121
 
122
122
  > tbody,
123
123
  > .tbody {
124
- font-size: var(--wds-font-size-body);
124
+ font-size: var(--font-size-14);
125
125
  }
126
126
 
127
127
  > tbody > tr > th,
@@ -290,7 +290,7 @@ table col[class*="col-"] {
290
290
 
291
291
  > li {
292
292
  display: table-cell;
293
- font-weight: var(--wds-font-weight-title-body);
293
+ font-weight: var(--font-weight-bold);
294
294
  color: var(--color-content-primary);
295
295
  }
296
296
  }
@@ -308,7 +308,7 @@ table col[class*="col-"] {
308
308
 
309
309
  > dd {
310
310
  display: table-cell;
311
- font-size: var(--wds-font-size-body);
311
+ font-size: var(--font-size-14);
312
312
  color: var(--color-content-secondary);
313
313
  }
314
314
  }
@@ -331,7 +331,7 @@ table col[class*="col-"] {
331
331
  border: 1px var(--color-interactive-secondary) solid;
332
332
  border-radius: @border-radius-base;
333
333
  margin-bottom: var(--size-24);
334
- padding: var(--size-24) var(--wds-line-height-body-large) 0;
334
+ padding: var(--size-24) var(--line-height-body) 0;
335
335
 
336
336
  > dd {
337
337
  padding: 0;
@@ -50,7 +50,7 @@
50
50
 
51
51
  // Wrapper for the tooltip content
52
52
  .tooltip-inner {
53
- .wds-text-body-default;
53
+ .np-text-body-default;
54
54
 
55
55
  max-width: @tooltip-max-width;
56
56
  min-width: 120px;
@@ -128,7 +128,7 @@
128
128
  //
129
129
  //## Font, line-height, and color for body text, headings, and more.
130
130
 
131
- @font-family-sans-serif: var(--wds-font-family-regular);
131
+ @font-family-sans-serif: var(--font-family-regular);
132
132
  @font-family-serif: Georgia, "Times New Roman", Times, serif;
133
133
  //** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
134
134
  @font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
@@ -167,7 +167,7 @@
167
167
  @line-height-computed: 24px; // ~24px
168
168
 
169
169
  //** By default, this inherits from the `<body>`.
170
- @headings-font-family: var(--wds-font-family-regular);
170
+ @headings-font-family: var(--font-family-regular);
171
171
  @headings-font-weight: @font-weight-semi-bold;
172
172
  @headings-line-height: 1.2; //1.1;
173
173
  @headings-color: @brand-navy-minus-10;
@@ -192,7 +192,7 @@
192
192
  @display3-line-height: 88px;
193
193
  @display4-line-height: 72px;
194
194
 
195
- @buttons-font-family: var(--wds-font-family-regular);
195
+ @buttons-font-family: var(--font-family-regular);
196
196
 
197
197
  //** Global textual link color.
198
198
  @link-color: @brand-light-blue;