@transferwise/neptune-css 0.0.0-experimental-cb358e4 → 0.0.0-experimental-a21d52d

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 (88) hide show
  1. package/dist/css/accordion.css +11 -53
  2. package/dist/css/badge.css +2 -2
  3. package/dist/css/button-groups.css +6 -29
  4. package/dist/css/buttons.css +11 -35
  5. package/dist/css/decision.css +11 -53
  6. package/dist/css/dropdowns.css +18 -65
  7. package/dist/css/droppable.css +6 -28
  8. package/dist/css/footer.css +10 -41
  9. package/dist/css/input-groups.css +117 -249
  10. package/dist/css/list-group.css +8 -28
  11. package/dist/css/modals.css +1 -1
  12. package/dist/css/navbar.css +45 -92
  13. package/dist/css/navs.css +8 -8
  14. package/dist/css/neptune-addons.css +0 -15
  15. package/dist/css/neptune-core.css +536 -6243
  16. package/dist/css/neptune.css +1960 -8984
  17. package/dist/css/panels.css +2 -2
  18. package/dist/css/popovers.css +20 -64
  19. package/dist/css/progress-bars.css +2 -2
  20. package/dist/css/sequences.css +9 -14
  21. package/dist/css/table.css +7 -7
  22. package/dist/css/tooltip.css +6 -28
  23. package/dist/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
  24. package/dist/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
  25. package/dist/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
  26. package/dist/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
  27. package/dist/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
  28. package/dist/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
  29. package/dist/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
  30. package/dist/fonts/rubik/rubik-body-cyrillic-330-normal.woff2 +0 -0
  31. package/dist/fonts/rubik/rubik-body-cyrillic-600-normal.woff2 +0 -0
  32. package/dist/fonts/rubik/rubik-body-cyrillic-ext-330-normal.woff2 +0 -0
  33. package/dist/fonts/rubik/rubik-body-cyrillic-ext-600-normal.woff2 +0 -0
  34. package/dist/fonts/rubik/rubik-cyrillic-900-normal.woff2 +0 -0
  35. package/dist/fonts/rubik/rubik-cyrillic-ext-900-normal.woff2 +0 -0
  36. package/dist/less/legacy-variables.less +3 -3
  37. package/dist/less/neptune-tokens.less +48 -0
  38. package/dist/props/neptune-tokens.css +3 -805
  39. package/package.json +2 -2
  40. package/src/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
  41. package/src/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
  42. package/src/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
  43. package/src/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
  44. package/src/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
  45. package/src/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
  46. package/src/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
  47. package/src/fonts/rubik/rubik-body-cyrillic-330-normal.woff2 +0 -0
  48. package/src/fonts/rubik/rubik-body-cyrillic-600-normal.woff2 +0 -0
  49. package/src/fonts/rubik/rubik-body-cyrillic-ext-330-normal.woff2 +0 -0
  50. package/src/fonts/rubik/rubik-body-cyrillic-ext-600-normal.woff2 +0 -0
  51. package/src/fonts/rubik/rubik-cyrillic-900-normal.woff2 +0 -0
  52. package/src/fonts/rubik/rubik-cyrillic-ext-900-normal.woff2 +0 -0
  53. package/src/less/addons/_background-utilities.less +0 -5
  54. package/src/less/badge.less +2 -2
  55. package/src/less/button-groups.less +2 -3
  56. package/src/less/buttons.less +7 -7
  57. package/src/less/core/_fonts.less +75 -7
  58. package/src/less/core/_scaffolding.less +4 -4
  59. package/src/less/core/_typography-utilities.less +3 -3
  60. package/src/less/core/_typography.less +237 -91
  61. package/src/less/decision.less +2 -2
  62. package/src/less/dropdowns.less +7 -8
  63. package/src/less/droppable.less +4 -4
  64. package/src/less/footer.less +3 -4
  65. package/src/less/forms/bootstrap-forms.less +72 -85
  66. package/src/less/forms/checkbox-radio.less +3 -3
  67. package/src/less/input-groups.less +9 -23
  68. package/src/less/list-group.less +5 -8
  69. package/src/less/mixins/_reset-text.less +1 -1
  70. package/src/less/mixins/_text-emphasis.less +1 -7
  71. package/src/less/modals.less +1 -1
  72. package/src/less/navbar.less +19 -19
  73. package/src/less/navs.less +8 -8
  74. package/src/less/neptune.bundle.less +0 -4
  75. package/src/less/panels.less +2 -2
  76. package/src/less/popovers.less +7 -7
  77. package/src/less/progress-bars.less +2 -2
  78. package/src/less/sequences.less +10 -15
  79. package/src/less/table.less +7 -7
  80. package/src/less/tooltip.less +1 -1
  81. package/src/variables/legacy-variables.less +3 -3
  82. package/src/less/core/fonts/_fonts-ar.less +0 -86
  83. package/src/less/core/fonts/_fonts-base.less +0 -99
  84. package/src/less/core/fonts/_fonts-he.less +0 -8
  85. package/src/less/core/fonts/_fonts-ja.less +0 -4247
  86. package/src/less/core/fonts/_fonts-ko.less +0 -1079
  87. package/src/less/core/fonts/_fonts-th.less +0 -8
  88. package/src/less/core/fonts/_fonts-zh.less +0 -872
@@ -6,7 +6,7 @@
6
6
 
7
7
  // TITLE
8
8
 
9
- /* `.h*`, `.title-*`, `.np-text-title-*` are DEPRECATED: use `.wds-text-title-*` instead */
9
+ /* DEPRECATED: use .np-text-*-title instead */
10
10
  /* stylelint-disable-next-line selector-list-comma-newline-after */
11
11
  .h1,
12
12
  .h2,
@@ -29,14 +29,11 @@ h6,
29
29
  .np-text-title-section,
30
30
  .np-text-title-subsection,
31
31
  .np-text-title-body,
32
- .np-text-title-group,
33
- .wds-text-title-screen,
34
- .wds-text-title-section,
35
- .wds-text-title-subsection,
36
- .wds-text-title-body,
37
- .wds-text-title-group {
32
+ .np-text-title-group {
38
33
  margin: 0;
39
34
  color: var(--color-content-primary);
35
+ line-height: var(--line-height-title);
36
+ letter-spacing: 0;
40
37
  .np-text-hyphenated;
41
38
 
42
39
  + p,
@@ -46,76 +43,86 @@ h6,
46
43
  }
47
44
  }
48
45
 
49
- /* DEPRECATED: use `.wds-text-title-screen` instead */
46
+ /* DEPRECATED: use .np-text-title-screen instead */
50
47
  /* stylelint-disable-next-line selector-list-comma-newline-after */
51
48
  .h1,
52
49
  .title-1,
53
50
  h1,
54
- .np-text-title-screen,
55
- .wds-text-title-screen {
56
- &:extend(.wds-text-title-screen);
51
+ .np-text-title-screen {
57
52
  margin-bottom: initial;
53
+ font-size: var(--font-size-30);
54
+ font-weight: var(--font-weight-semi-bold);
55
+ letter-spacing: -0.021em;
56
+ line-height: 115%;
58
57
  }
59
58
 
60
- /* DEPRECATED: use `.wds-text-title-section` instead */
59
+ /* DEPRECATED: use .np-text-title-section instead */
61
60
  /* stylelint-disable-next-line selector-list-comma-newline-after */
62
61
  .h2,
63
62
  .title-2,
64
63
  h2,
65
- .np-text-title-section,
66
- .wds-text-title-section {
67
- &:extend(.wds-text-title-section);
64
+ .np-text-title-section {
68
65
  margin-bottom: initial;
66
+ font-weight: var(--font-weight-semi-bold);
67
+ font-size: var(--font-size-26);
68
+ letter-spacing: -0.02em;
69
+ line-height: 122%;
69
70
  }
70
71
 
71
- /* DEPRECATED: use `.wds-text-title-subsection` instead */
72
+ /* DEPRECATED: use .np-text-title-subsection instead */
72
73
  /* stylelint-disable-next-line selector-list-comma-newline-after */
73
74
  .h3,
74
75
  .title-3,
75
76
  h3,
76
- .np-text-title-subsection,
77
- .wds-text-title-subsection {
78
- &:extend(.wds-text-title-subsection);
77
+ .np-text-title-subsection {
79
78
  margin-bottom: initial;
79
+ font-size: var(--font-size-22);
80
+ font-weight: var(--font-weight-semi-bold);
81
+ letter-spacing: -0.018em;
82
+ line-height: 125%;
80
83
  }
81
84
 
82
- /* DEPRECATED: use `.wds-text-title-body` instead */
85
+ /* DEPRECATED: use .np-text-title-body instead */
83
86
  /* stylelint-disable-next-line selector-list-comma-newline-after */
84
87
  .h4,
85
88
  .title-4,
86
89
  h4,
87
- .np-text-title-body,
88
- .wds-text-title-body {
89
- &:extend(.wds-text-title-body);
90
+ .np-text-title-body {
91
+ font-size: var(--font-size-18);
92
+ font-weight: var(--font-weight-semi-bold);
93
+ letter-spacing: -0.014em;
94
+ line-height: 135%;
90
95
  }
91
96
 
92
- /* DEPRECATED: use `.wds-text-title-group` instead */
97
+ /* DEPRECATED: use .np-text-title-group instead */
93
98
  /* stylelint-disable-next-line selector-list-comma-newline-after */
94
99
  .h5,
95
100
  .h6,
96
101
  .title-5,
97
102
  h5,
98
103
  h6,
99
- .np-text-title-group,
100
- .wds-text-title-group {
101
- &:extend(.wds-text-title-group);
104
+ .np-text-title-group {
105
+ font-weight: var(--font-weight-medium);
106
+ font-size: var(--font-size-14);
107
+ letter-spacing: -0.006em;
108
+ line-height: 140%;
102
109
  }
103
110
 
104
- /* DEPRECATED: use `.wds-text-title-body` instead */
111
+ /* DEPRECATED: use .np-text-title-body instead */
105
112
  .lead {
106
113
  margin-bottom: var(--size-24);
107
- font-size: var(--wds-font-size-title-body);
108
- line-height: var(--wds-line-height-title-body);
114
+ font-size: var(--font-size-20);
115
+ line-height: var(--line-height-title);
109
116
  }
110
117
 
111
- // DEPRECATED: use `.wds-text-body-default` instead
118
+ // DEPRECATED: use .np-text-body-default instead
112
119
  .tiny {
113
120
  color: var(--color-content-secondary);
114
121
  }
115
122
 
116
123
  // BODY
117
124
 
118
- /* DEPRECATED: use `.wds-text-body-default` instead */
125
+ /* DEPRECATED: use .np-text-body-default instead */
119
126
  /* stylelint-disable-next-line selector-list-comma-newline-after */
120
127
  .body-2,
121
128
  .body-3,
@@ -123,41 +130,49 @@ h6,
123
130
  .tiny,
124
131
  body,
125
132
  small,
126
- .np-text-body-default,
127
- .wds-text-body-default {
128
- &:extend(.wds-text-body-default);
133
+ .np-text-body-default {
134
+ font-size: var(--font-size-14);
135
+ line-height: 155%;
136
+ letter-spacing: -0.006em;
137
+ font-weight: var(--font-weight-regular);
129
138
  .np-text-hyphenated;
130
139
  }
131
140
 
132
- /* DEPRECATED: use `.wds-text-body-default-bold` instead */
141
+ /* DEPRECATED: use .np-text-body-default-bold instead */
133
142
  /* stylelint-disable-next-line selector-list-comma-newline-after */
134
143
  .control-2,
135
144
 
136
145
  // DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
137
146
  .label, .control-label,
138
147
 
139
- .np-text-body-default-bold,
140
- .wds-text-body-default-bold {
141
- &:extend(.wds-text-body-default-bold);
148
+ .np-text-body-default-bold {
149
+ font-size: var(--font-size-14);
150
+ line-height: 155%;
151
+ letter-spacing: -0.006em;
152
+ font-weight: var(--font-weight-semi-bold);
142
153
  .np-text-hyphenated;
143
154
  }
144
155
 
145
- /* DEPRECATED: use `.wds-text-body-large` instead */
156
+ /* DEPRECATED: use .np-text-body-large instead */
146
157
  /* stylelint-disable-next-line selector-list-comma-newline-after */
147
158
  .body-1,
148
159
  .value,
149
- .np-text-body-large,
150
- .wds-text-body-large {
151
- &:extend(.wds-text-body-large);
160
+ .np-text-body-large {
161
+ font-weight: var(--font-weight-regular);
162
+ font-size: var(--font-size-16);
163
+ line-height: 150%;
164
+ letter-spacing: -0.011em;
152
165
  .np-text-hyphenated;
153
166
  }
154
167
 
155
- /* DEPRECATED: use `.wds-text-body-large-bold` instead */
168
+ /* DEPRECATED: use np-text-body-large-bold instead */
156
169
  /* stylelint-disable-next-line selector-list-comma-newline-after */
157
170
  .control-1,
158
- .np-text-body-large-bold,
159
- .wds-text-body-large-bold {
160
- &:extend(.wds-text-body-large-bold);
171
+ .np-text-body-large-bold {
172
+ font-weight: var(--font-weight-semi-bold);
173
+ font-size: var(--font-size-16);
174
+ line-height: 150%;
175
+ letter-spacing: -0.011em;
161
176
  .np-text-hyphenated;
162
177
  }
163
178
 
@@ -166,43 +181,37 @@ small,
166
181
  a,
167
182
  .np-text-link-default,
168
183
  .np-text-link-large {
169
- font-weight: var(--wds-font-weight-title-body);
184
+ font-weight: var(--font-weight-semi-bold);
170
185
  .link-underline();
171
186
  }
172
187
 
173
188
  .np-text-link-large {
174
- font-size: var(--wds-font-size-body-large);
189
+ font-size: var(--font-size-16);
175
190
  letter-spacing: -0.011em;
176
191
  line-height: 150%;
177
192
  }
178
193
 
179
194
  .np-text-link-default {
180
- font-size: var(--wds-font-size-body);
195
+ font-size: var(--font-size-14);
181
196
  letter-spacing: -0.006em;
182
197
  line-height: 155%;
183
198
  }
184
199
 
185
200
  // DISPLAY
186
201
 
187
- /* DEPRECATED: use .wds-text-display-number-small instead */
188
- .np-text-display-number,
189
- .wds-text-display-number {
190
- &:extend(.wds-text-display-number);
191
- }
192
-
193
- .np-text-display-number-small,
194
- .wds-text-display-number-small {
195
- &:extend(.wds-text-display-number-small);
196
- }
197
-
198
- .np-text-display-number-medium,
199
- .wds-text-display-number-medium {
200
- &:extend(.wds-text-display-number-medium);
202
+ .np-text-display-number {
203
+ font-weight: var(--font-weight-semi-bold);
204
+ font-size: 40px;
205
+ line-height: 110%;
201
206
  }
202
207
 
203
- .np-text-display-number-large,
204
- .wds-text-display-number-large {
205
- &:extend(.wds-text-display-number-large);
208
+ .display-formatting(
209
+ @font-size;
210
+ @line-height;
211
+ @font-weight: var(--font-weight-regular)) {
212
+ font-size: @font-size;
213
+ line-height: @line-height;
214
+ font-weight: @font-weight;
206
215
  }
207
216
 
208
217
  .display-1,
@@ -216,9 +225,26 @@ a,
216
225
  .np-text-display-small {
217
226
  &,
218
227
  &--forced {
219
- font-family: var(--wds-font-family-display);
228
+ font-family: var(--font-family-display);
220
229
  font-synthesis: none;
221
230
  }
231
+
232
+ :lang(ja) &,
233
+ :lang(th) &,
234
+ :lang(zh-CN) &,
235
+ :lang(zh-HK) & {
236
+ /**
237
+ * Wise Sans covers extended Latin glyphs for logged-in experiences and a small subset
238
+ * of Japanese ones for the logged out ones (exposed by the Editorial DS). Unfortunately,
239
+ * font files are browser-cached and we carried over to launchpad, where it causes issues
240
+ * for unsupported locales, especially those that share glyphs, like Japanese and Chinese.
241
+ * There are exceptions for small UI parts where Wise Sans is fine or expected — e.g. the
242
+ * numeric input of ExpressiveMoneyInput.
243
+ * Add `--forced` BEM modifier to the original class name to guarantee it.
244
+ */
245
+ font-family: var(--font-family-regular);
246
+ line-height: var(--line-height-title);
247
+ }
222
248
  }
223
249
 
224
250
  /* DEPRECATED(.np-text-display-extra-large): use .np-text-display-large instead */
@@ -226,23 +252,36 @@ a,
226
252
  .np-text-display-large,
227
253
  .np-text-display-medium,
228
254
  .np-text-display-small {
255
+ letter-spacing: normal;
229
256
  .np-text-hyphenated;
230
257
  }
231
258
 
232
259
  .np-text-display-extra-large,
233
- .np-text-display-large,
234
- .wds-text-display-large {
235
- &:extend(.wds-text-display-large);
260
+ .np-text-display-large {
261
+ .display-formatting(var(--size-64), normal, var(--font-weight-bold));
236
262
  }
237
263
 
238
- .np-text-display-medium,
239
- .wds-text-display-medium {
240
- &:extend(.wds-text-display-medium);
264
+ .np-text-display-medium {
265
+ .display-formatting(var(--size-52), normal, var(--font-weight-bold));
241
266
  }
242
267
 
243
- .np-text-display-small,
244
- .wds-text-display-small {
245
- &:extend(.wds-text-display-small);
268
+ .np-text-display-small {
269
+ .display-formatting(var(--size-40), normal, var(--font-weight-bold));
270
+ }
271
+
272
+ :lang(en) {
273
+ > .np-text-display-extra-large,
274
+ > .np-text-display-large {
275
+ .display-formatting(var(--size-64), 0.85);
276
+ }
277
+
278
+ > .np-text-display-medium {
279
+ .display-formatting(var(--size-52), 0.85);
280
+ }
281
+
282
+ > .np-text-display-small {
283
+ .display-formatting(var(--size-40), 0.85);
284
+ }
246
285
  }
247
286
 
248
287
  /* Disable hyphenation for English
@@ -253,6 +292,118 @@ a,
253
292
  :lang(zh-CN),
254
293
  :lang(zh-HK) {
255
294
  hyphens: none;
295
+ overflow-wrap: normal;
296
+ }
297
+
298
+ :lang(af),
299
+ :lang(sq),
300
+ :lang(eu),
301
+ :lang(bs),
302
+ :lang(ca),
303
+ :lang(kw),
304
+ :lang(hr),
305
+ :lang(cs),
306
+ :lang(da),
307
+ :lang(nl),
308
+ :lang(eo),
309
+ :lang(et),
310
+ :lang(fo),
311
+ :lang(fi),
312
+ :lang(fr),
313
+ :lang(gl),
314
+ :lang(lg),
315
+ :lang(de),
316
+ :lang(hu),
317
+ :lang(is),
318
+ :lang(se),
319
+ :lang(id),
320
+ :lang(in),
321
+ :lang(ga),
322
+ :lang(it),
323
+ :lang(kl),
324
+ :lang(ki),
325
+ :lang(rw),
326
+ :lang(lv),
327
+ :lang(lt),
328
+ :lang(lb),
329
+ :lang(mg),
330
+ :lang(ms),
331
+ :lang(mt),
332
+ :lang(gv),
333
+ :lang(mi),
334
+ :lang(nd),
335
+ :lang(nb),
336
+ :lang(nn),
337
+ :lang(om),
338
+ :lang(pl),
339
+ :lang(pt),
340
+ :lang(ro),
341
+ :lang(rm),
342
+ :lang(rn),
343
+ :lang(sg),
344
+ :lang(gd),
345
+ :lang(sr),
346
+ :lang(sn),
347
+ :lang(sk),
348
+ :lang(sl),
349
+ :lang(so),
350
+ :lang(es),
351
+ :lang(sw),
352
+ :lang(sv),
353
+ :lang(tr),
354
+ :lang(cy),
355
+ :lang(fy),
356
+ :lang(wo),
357
+ :lang(zu),
358
+ :lang(hsb),
359
+ :lang(gsw),
360
+ :lang(dsb),
361
+ :lang(fil) {
362
+ .np-text-display-extra-large,
363
+ .np-text-display-large {
364
+ .display-formatting(var(--size-64), 1.05);
365
+ }
366
+
367
+ .np-text-display-medium {
368
+ .display-formatting(var(--size-52), 1.05);
369
+ }
370
+
371
+ .np-text-display-small {
372
+ .display-formatting(var(--size-40), 1.05);
373
+ }
374
+ }
375
+
376
+ :lang(el),
377
+ :lang(az),
378
+ :lang(be),
379
+ :lang(bs),
380
+ :lang(bg),
381
+ :lang(ce),
382
+ :lang(mk),
383
+ :lang(os),
384
+ :lang(ru),
385
+ :lang(sr),
386
+ :lang(uk),
387
+ :lang(uz),
388
+ :lang(sah) {
389
+ .np-text-display-extra-large,
390
+ .np-text-display-large {
391
+ .display-formatting(var(--size-60),
392
+ 120%,
393
+ var(--font-weight-semi-bold));
394
+ }
395
+
396
+ .np-text-display-medium {
397
+ .display-formatting(var(--size-48),
398
+ 120%,
399
+ var(--font-weight-semi-bold));
400
+ }
401
+
402
+ .np-text-display-small {
403
+ .display-formatting(var(--size-40),
404
+ 120%,
405
+ var(--font-weight-semi-bold));
406
+ }
256
407
  }
257
408
 
258
409
  /* DEPRECATED: use `.np-text-display-*` instead */
@@ -338,12 +489,7 @@ p {
338
489
  + .np-text-title-section,
339
490
  + .np-text-title-subsection,
340
491
  + .np-text-title-body,
341
- + .np-text-title-group,
342
- + .wds-text-title-screen,
343
- + .wds-text-title-section,
344
- + .wds-text-title-subsection,
345
- + .wds-text-title-body,
346
- + .wds-text-title-group {
492
+ + .np-text-title-group {
347
493
  margin-top: 0;
348
494
  margin-bottom: var(--size-8);
349
495
  }
@@ -356,7 +502,7 @@ p {
356
502
 
357
503
  strong,
358
504
  b {
359
- font-weight: var(--wds-font-weight-title-body);
505
+ font-weight: var(--font-weight-semi-bold);
360
506
  color: var(--color-content-primary);
361
507
  }
362
508
 
@@ -374,7 +520,7 @@ address {
374
520
  blockquote {
375
521
  margin: var(--size-16) 0;
376
522
  padding: 0 var(--size-16) 0 calc(var(--size-16) - 2px);
377
- font-size: var(--wds-font-size-body-large);
523
+ font-size: var(--font-size-16);
378
524
  .border(left, 2px, solid, var(--color-content-accent));
379
525
 
380
526
  p {
@@ -392,8 +538,8 @@ blockquote {
392
538
  footer {
393
539
  display: block;
394
540
  color: var(--color-content-secondary);
395
- font-size: var(--wds-font-size-body);
396
- line-height: var(--wds-line-height-body-large);
541
+ font-size: var(--font-size-14);
542
+ line-height: var(--line-height-body);
397
543
 
398
544
  &::before {
399
545
  content: "\2014 \00A0"; // em dash, nbsp
@@ -406,7 +552,7 @@ blockquote {
406
552
 
407
553
  @media (--screen-lg) {
408
554
  margin: var(--size-32);
409
- font-size: var(--wds-font-size-body-large);
555
+ font-size: var(--font-size-16);
410
556
  }
411
557
  }
412
558
 
@@ -443,8 +589,8 @@ pre {
443
589
  padding: var(--size-16);
444
590
  overflow: auto;
445
591
  color: var(--color-content-secondary);
446
- font-size: var(--wds-font-size-body);
447
- line-height: var(--wds-line-height-body-large);
592
+ font-size: var(--font-size-14);
593
+ line-height: var(--line-height-body);
448
594
  word-wrap: break-word;
449
595
  word-break: break-all;
450
596
  background-color: var(--color-background-neutral);
@@ -473,7 +619,7 @@ kbd {
473
619
 
474
620
  kbd {
475
621
  padding: 0;
476
- font-weight: var(--wds-font-weight-title-body);
622
+ font-weight: var(--font-weight-bold);
477
623
  font-size: 100%;
478
624
  }
479
625
  }
@@ -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
  }