@transferwise/neptune-css 0.0.0-experimental-e1f83e6 → 0.0.0-experimental-b878f82
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/css/badge.css +3 -3
- package/dist/css/buttons.css +9 -9
- package/dist/css/dropdowns.css +2 -2
- package/dist/css/input-groups.css +28 -28
- package/dist/css/list-group.css +1 -1
- package/dist/css/modals.css +2 -2
- package/dist/css/navbar.css +38 -38
- package/dist/css/navs.css +8 -8
- package/dist/css/neptune-core.css +31 -32
- package/dist/css/neptune.css +179 -184
- package/dist/css/panels.css +4 -4
- package/dist/css/popovers.css +9 -9
- package/dist/css/progress-bars.css +3 -3
- package/dist/css/sequences.css +8 -8
- package/dist/css/table.css +8 -8
- package/dist/css/tooltip.css +2 -2
- package/dist/less/legacy-variables.css +0 -0
- package/dist/less/legacy-variables.less +3 -3
- package/dist/less/neptune-tokens.css +0 -0
- package/dist/less/zindex.css +0 -0
- package/dist/props/neptune-tokens.css +16 -16
- package/package.json +1 -1
- package/src/less/badge.less +2 -2
- package/src/less/buttons.less +6 -6
- package/src/less/core/_scaffolding.less +3 -6
- package/src/less/core/_typography-utilities.less +3 -3
- package/src/less/core/_typography.less +13 -13
- package/src/less/dropdowns.less +2 -2
- package/src/less/forms/bootstrap-forms.less +15 -15
- package/src/less/forms/checkbox-radio.less +3 -3
- package/src/less/input-groups.less +2 -2
- package/src/less/list-group.less +1 -1
- package/src/less/modals.less +1 -1
- package/src/less/navbar.less +19 -19
- package/src/less/navs.less +8 -8
- package/src/less/panels.less +2 -2
- package/src/less/popovers.less +4 -4
- package/src/less/progress-bars.less +2 -2
- package/src/less/sequences.less +8 -8
- package/src/less/table.less +7 -7
package/dist/css/panels.css
CHANGED
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
.panel-title {
|
|
21
21
|
margin-block-start: 0;
|
|
22
22
|
margin-block-end: 0;
|
|
23
|
-
line-height: calc(1.
|
|
24
|
-
line-height: calc(var(--line-height-title) + 8px);
|
|
23
|
+
line-height: calc(1.22 + 8px);
|
|
24
|
+
line-height: calc(var(--wds-line-height-title-section) + 8px);
|
|
25
25
|
}
|
|
26
26
|
.panel-title > a {
|
|
27
27
|
-webkit-text-decoration: none;
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
}
|
|
72
72
|
@media (min-width: 840px) {
|
|
73
73
|
.panel-title {
|
|
74
|
-
line-height: calc(1.
|
|
75
|
-
line-height: calc(var(--line-height-title) * 2);
|
|
74
|
+
line-height: calc(1.22 * 2);
|
|
75
|
+
line-height: calc(var(--wds-line-height-title-section) * 2);
|
|
76
76
|
}
|
|
77
77
|
.panel-heading > .btn-sm {
|
|
78
78
|
margin-block-start: 8px;
|
package/dist/css/popovers.css
CHANGED
|
@@ -81,8 +81,8 @@ button.close {
|
|
|
81
81
|
inline-size: 276px;
|
|
82
82
|
padding-block: 18px;
|
|
83
83
|
padding-inline: 24px;
|
|
84
|
-
font-family: Inter, Helvetica, Arial, sans-serif;
|
|
85
|
-
font-family: var(--font-family-regular);
|
|
84
|
+
font-family: Inter, Vazirmatn, 'Noto Sans SC', 'Zen Kaku Gothic Antique', 'Noto Sans KR', 'Noto Sans Thai', 'Noto Sans Hebrew', Helvetica, Arial, sans-serif;
|
|
85
|
+
font-family: var(--wds-font-family-regular);
|
|
86
86
|
font-style: normal;
|
|
87
87
|
font-weight: normal;
|
|
88
88
|
letter-spacing: normal;
|
|
@@ -480,16 +480,16 @@ button.popover-close {
|
|
|
480
480
|
}
|
|
481
481
|
.popover-promotion .popover-title {
|
|
482
482
|
font-size: 1rem;
|
|
483
|
-
font-size: var(--font-size-
|
|
484
|
-
line-height:
|
|
485
|
-
line-height: var(--
|
|
483
|
+
font-size: var(--wds-font-size-body-large);
|
|
484
|
+
line-height: 1rem;
|
|
485
|
+
line-height: var(--wds-font-size-body-large);
|
|
486
486
|
}
|
|
487
487
|
@media (min-width: 840px) {
|
|
488
488
|
.popover-promotion .popover-title {
|
|
489
|
-
font-size: 1.
|
|
490
|
-
font-size: var(--font-size-
|
|
491
|
-
line-height: 1.
|
|
492
|
-
line-height: var(--
|
|
489
|
+
font-size: 1.125rem;
|
|
490
|
+
font-size: var(--wds-font-size-title-body);
|
|
491
|
+
line-height: 1.125rem;
|
|
492
|
+
line-height: var(--wds-font-size-title-body);
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
495
|
@media (max-width: 320px) {
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
inset-inline-start: calc(-1 * var(--progress-bar-start-shift));
|
|
22
22
|
block-size: calc(var(--progress-bar-height) + var(--progress-bar-border-width) * 2);
|
|
23
23
|
font-size: 1rem;
|
|
24
|
-
font-size: var(--font-size-
|
|
25
|
-
font-weight:
|
|
26
|
-
font-weight: var(--font-weight-bold);
|
|
24
|
+
font-size: var(--wds-font-size-body-large);
|
|
25
|
+
font-weight: 600;
|
|
26
|
+
font-weight: var(--wds-font-weight-body-bold);
|
|
27
27
|
color: #fff;
|
|
28
28
|
text-align: end;
|
|
29
29
|
background-color: #0097c7;
|
package/dist/css/sequences.css
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
margin-block-start: 0;
|
|
6
6
|
margin-block-end: 0;
|
|
7
7
|
font-size: 0.875rem;
|
|
8
|
-
font-size: var(--font-size-
|
|
8
|
+
font-size: var(--wds-font-size-body);
|
|
9
9
|
border-color: rgba(0,0,0,0.10196);
|
|
10
10
|
border-color: var(--color-border-neutral);
|
|
11
11
|
}
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
.sequence {
|
|
85
85
|
padding-inline-end: 24px;
|
|
86
86
|
font-size: 1rem;
|
|
87
|
-
font-size: var(--font-size-
|
|
87
|
+
font-size: var(--wds-font-size-body-large);
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
.sequence > li {
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
-webkit-text-decoration: none;
|
|
100
100
|
text-decoration: none;
|
|
101
101
|
font-weight: 400;
|
|
102
|
-
font-weight: var(--font-weight-regular);
|
|
102
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
103
103
|
color: #0097c7;
|
|
104
104
|
color: var(--color-content-accent);
|
|
105
105
|
outline-offset: -1px;
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
color: #37517e;
|
|
175
175
|
color: var(--color-content-primary);
|
|
176
176
|
font-weight: 600;
|
|
177
|
-
font-weight: var(--font-weight-
|
|
177
|
+
font-weight: var(--wds-font-weight-title-body);
|
|
178
178
|
}
|
|
179
179
|
.sequence > .active > a:hover,
|
|
180
180
|
.sequence > .active > a:focus {
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
-webkit-text-decoration: none;
|
|
206
206
|
text-decoration: none;
|
|
207
207
|
font-weight: 400;
|
|
208
|
-
font-weight: var(--font-weight-regular);
|
|
208
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
209
209
|
}
|
|
210
210
|
.sequence-top > li:first-child::after {
|
|
211
211
|
inset-block-start: 0;
|
|
@@ -406,7 +406,7 @@
|
|
|
406
406
|
}
|
|
407
407
|
.sequence-icon .icon {
|
|
408
408
|
font-size: 1rem;
|
|
409
|
-
font-size: var(--font-size-
|
|
409
|
+
font-size: var(--wds-font-size-body-large);
|
|
410
410
|
line-height: 23px;
|
|
411
411
|
}
|
|
412
412
|
.sequence-inverse .sequence-icon {
|
|
@@ -506,7 +506,7 @@
|
|
|
506
506
|
line-height: 30px;
|
|
507
507
|
margin-block-start: -6px;
|
|
508
508
|
font-size: 0.875rem;
|
|
509
|
-
font-size: var(--font-size-
|
|
509
|
+
font-size: var(--wds-font-size-body);
|
|
510
510
|
}
|
|
511
511
|
.sequence-icon-lg {
|
|
512
512
|
inline-size: 40px;
|
|
@@ -514,7 +514,7 @@
|
|
|
514
514
|
line-height: 38px;
|
|
515
515
|
margin-block-start: -6px;
|
|
516
516
|
font-size: 1rem;
|
|
517
|
-
font-size: var(--font-size-
|
|
517
|
+
font-size: var(--wds-font-size-body-large);
|
|
518
518
|
}
|
|
519
519
|
.sequence-icon-lg .icon {
|
|
520
520
|
font-size: 22px;
|
package/dist/css/table.css
CHANGED
|
@@ -36,7 +36,7 @@ th {
|
|
|
36
36
|
padding-inline: 16px;
|
|
37
37
|
padding-inline: var(--size-16);
|
|
38
38
|
line-height: 1.5;
|
|
39
|
-
line-height: var(--line-height-body);
|
|
39
|
+
line-height: var(--wds-line-height-body-large);
|
|
40
40
|
vertical-align: top;
|
|
41
41
|
border-block-start: 1px solid rgba(0,0,0,0.10196);
|
|
42
42
|
border-block-start: 1px solid #0000001a;
|
|
@@ -52,7 +52,7 @@ th {
|
|
|
52
52
|
padding-inline: 16px;
|
|
53
53
|
padding-inline: var(--size-16);
|
|
54
54
|
line-height: 1.5;
|
|
55
|
-
line-height: var(--line-height-body);
|
|
55
|
+
line-height: var(--wds-line-height-body-large);
|
|
56
56
|
vertical-align: top;
|
|
57
57
|
border-block-start: 1px solid rgba(0,0,0,0.10196);
|
|
58
58
|
border-block-start: 1px solid #0000001a;
|
|
@@ -98,14 +98,14 @@ th {
|
|
|
98
98
|
.table > .thead,
|
|
99
99
|
.table > .tfoot {
|
|
100
100
|
font-size: 0.875rem;
|
|
101
|
-
font-size: var(--font-size-
|
|
101
|
+
font-size: var(--wds-font-size-body);
|
|
102
102
|
color: #37517e;
|
|
103
103
|
color: var(--color-content-primary);
|
|
104
104
|
}
|
|
105
105
|
.table > tbody,
|
|
106
106
|
.table > .tbody {
|
|
107
107
|
font-size: 0.875rem;
|
|
108
|
-
font-size: var(--font-size-
|
|
108
|
+
font-size: var(--wds-font-size-body);
|
|
109
109
|
}
|
|
110
110
|
.table > tbody > tr > th,
|
|
111
111
|
.table > .tbody > dl > .th {
|
|
@@ -366,8 +366,8 @@ table col[class*="col-"] {
|
|
|
366
366
|
}
|
|
367
367
|
.table > .thead > ol > li {
|
|
368
368
|
display: table-cell;
|
|
369
|
-
font-weight:
|
|
370
|
-
font-weight: var(--font-weight-
|
|
369
|
+
font-weight: 600;
|
|
370
|
+
font-weight: var(--wds-font-weight-title-body);
|
|
371
371
|
color: #37517e;
|
|
372
372
|
color: var(--color-content-primary);
|
|
373
373
|
}
|
|
@@ -383,7 +383,7 @@ table col[class*="col-"] {
|
|
|
383
383
|
.table > .tbody > dl > dd {
|
|
384
384
|
display: table-cell;
|
|
385
385
|
font-size: 0.875rem;
|
|
386
|
-
font-size: var(--font-size-
|
|
386
|
+
font-size: var(--wds-font-size-body);
|
|
387
387
|
color: #5d7079;
|
|
388
388
|
color: var(--color-content-secondary);
|
|
389
389
|
}
|
|
@@ -404,7 +404,7 @@ table col[class*="col-"] {
|
|
|
404
404
|
padding-block: 24px 0;
|
|
405
405
|
padding-block: var(--size-24) 0;
|
|
406
406
|
padding-inline: 1.5;
|
|
407
|
-
padding-inline: var(--line-height-body);
|
|
407
|
+
padding-inline: var(--wds-line-height-body-large);
|
|
408
408
|
}
|
|
409
409
|
.table > .tbody > dl > dd {
|
|
410
410
|
padding: 0;
|
package/dist/css/tooltip.css
CHANGED
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
position: absolute;
|
|
29
29
|
z-index: 1070;
|
|
30
30
|
display: block;
|
|
31
|
-
font-family: Inter, Helvetica, Arial, sans-serif;
|
|
32
|
-
font-family: var(--font-family-regular);
|
|
31
|
+
font-family: Inter, Vazirmatn, 'Noto Sans SC', 'Zen Kaku Gothic Antique', 'Noto Sans KR', 'Noto Sans Thai', 'Noto Sans Hebrew', Helvetica, Arial, sans-serif;
|
|
32
|
+
font-family: var(--wds-font-family-regular);
|
|
33
33
|
font-style: normal;
|
|
34
34
|
font-weight: normal;
|
|
35
35
|
letter-spacing: normal;
|
|
File without changes
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
//
|
|
158
158
|
//## Font, line-height, and color for body text, headings, and more.
|
|
159
159
|
|
|
160
|
-
@font-family-sans-serif: var(--font-family-regular);
|
|
160
|
+
@font-family-sans-serif: var(--wds-font-family-regular);
|
|
161
161
|
@font-family-serif: Georgia, "Times New Roman", Times, serif;
|
|
162
162
|
//** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
|
|
163
163
|
@font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
@line-height-computed: 24px; // ~24px
|
|
197
197
|
|
|
198
198
|
//** By default, this inherits from the `<body>`.
|
|
199
|
-
@headings-font-family: var(--font-family-regular);
|
|
199
|
+
@headings-font-family: var(--wds-font-family-regular);
|
|
200
200
|
@headings-font-weight: @font-weight-semi-bold;
|
|
201
201
|
@headings-line-height: 1.2; //1.1;
|
|
202
202
|
@headings-color: @brand-navy-minus-10;
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
@display3-line-height: 88px;
|
|
222
222
|
@display4-line-height: 72px;
|
|
223
223
|
|
|
224
|
-
@buttons-font-family: var(--font-family-regular);
|
|
224
|
+
@buttons-font-family: var(--wds-font-family-regular);
|
|
225
225
|
|
|
226
226
|
//** Global textual link color.
|
|
227
227
|
@link-color: @brand-light-blue;
|
|
File without changes
|
|
File without changes
|
|
@@ -255,18 +255,18 @@
|
|
|
255
255
|
--wds-letter-spacing-display-medium: 0;
|
|
256
256
|
|
|
257
257
|
--wds-font-weight-display-small: 900;
|
|
258
|
-
--wds-font-size-display-small: 2.
|
|
259
|
-
--wds-line-height-display-small: 1.
|
|
258
|
+
--wds-font-size-display-small: 2.5rem;
|
|
259
|
+
--wds-line-height-display-small: 1.45;
|
|
260
260
|
--wds-letter-spacing-display-small: 0;
|
|
261
261
|
|
|
262
262
|
--wds-font-weight-display-number-small: 600;
|
|
263
|
-
--wds-font-size-display-number-small: 2.
|
|
263
|
+
--wds-font-size-display-number-small: 2.5rem;
|
|
264
264
|
--wds-line-height-display-number-small: 1.24;
|
|
265
265
|
--wds-letter-spacing-display-number-small: 0;
|
|
266
266
|
|
|
267
267
|
--wds-font-weight-display-number-medium: 800;
|
|
268
268
|
--wds-font-size-display-number-medium: 3.25rem;
|
|
269
|
-
--wds-line-height-display-number-medium: 0.
|
|
269
|
+
--wds-line-height-display-number-medium: 0.846;
|
|
270
270
|
--wds-letter-spacing-display-number-medium: 0;
|
|
271
271
|
|
|
272
272
|
--wds-font-weight-display-number-large: 800;
|
|
@@ -275,52 +275,52 @@
|
|
|
275
275
|
--wds-letter-spacing-display-number-large: 0;
|
|
276
276
|
|
|
277
277
|
--wds-font-weight-title-screen: 600;
|
|
278
|
-
--wds-font-size-title-screen:
|
|
278
|
+
--wds-font-size-title-screen: 1.875rem;
|
|
279
279
|
--wds-line-height-title-screen: 1.6;
|
|
280
280
|
--wds-letter-spacing-title-screen: 0;
|
|
281
281
|
--wds-paragraph-spacing-title-screen: 0.875rem;
|
|
282
282
|
|
|
283
283
|
--wds-font-weight-title-section: 600;
|
|
284
|
-
--wds-font-size-title-section: 1.
|
|
285
|
-
--wds-line-height-title-section: 1.
|
|
284
|
+
--wds-font-size-title-section: 1.625rem;
|
|
285
|
+
--wds-line-height-title-section: 1.681;
|
|
286
286
|
--wds-letter-spacing-title-section: 0;
|
|
287
287
|
--wds-paragraph-spacing-title-section: 0.875rem;
|
|
288
288
|
|
|
289
289
|
--wds-font-weight-title-subsection: 600;
|
|
290
|
-
--wds-font-size-title-subsection: 1.
|
|
291
|
-
--wds-line-height-title-subsection: 1.
|
|
290
|
+
--wds-font-size-title-subsection: 1.375rem;
|
|
291
|
+
--wds-line-height-title-subsection: 1.741;
|
|
292
292
|
--wds-letter-spacing-title-subsection: 0;
|
|
293
293
|
--wds-paragraph-spacing-title-subsection: 0.875rem;
|
|
294
294
|
|
|
295
295
|
--wds-font-weight-title-body: 600;
|
|
296
|
-
--wds-font-size-title-body: 1.
|
|
297
|
-
--wds-line-height-title-body: 1.
|
|
296
|
+
--wds-font-size-title-body: 1.1875rem;
|
|
297
|
+
--wds-line-height-title-body: 1.842;
|
|
298
298
|
--wds-letter-spacing-title-body: 0;
|
|
299
299
|
--wds-paragraph-spacing-title-body: 0.875rem;
|
|
300
300
|
|
|
301
301
|
--wds-font-weight-title-group: 500;
|
|
302
|
-
--wds-font-size-title-group:
|
|
302
|
+
--wds-font-size-title-group: 0.9375rem;
|
|
303
303
|
--wds-line-height-title-group: 1.9;
|
|
304
304
|
--wds-letter-spacing-title-group: 0;
|
|
305
305
|
--wds-paragraph-spacing-title-group: 0.875rem;
|
|
306
306
|
|
|
307
307
|
--wds-font-weight-body-large-regular: 300;
|
|
308
308
|
--wds-font-weight-body-large-bold: 600;
|
|
309
|
-
--wds-font-size-body-large: 1.
|
|
310
|
-
--wds-line-height-body-large: 1.
|
|
309
|
+
--wds-font-size-body-large: 1.0625rem;
|
|
310
|
+
--wds-line-height-body-large: 1.753;
|
|
311
311
|
--wds-letter-spacing-body-large: 0;
|
|
312
312
|
--wds-paragraph-spacing-body-large: 0.875rem;
|
|
313
313
|
|
|
314
314
|
--wds-font-weight-body-regular: 300;
|
|
315
315
|
--wds-font-weight-body-bold: 600;
|
|
316
|
-
--wds-font-size-body:
|
|
316
|
+
--wds-font-size-body: 0.9375rem;
|
|
317
317
|
--wds-line-height-body: 1.8;
|
|
318
318
|
--wds-letter-spacing-body: 0;
|
|
319
319
|
--wds-paragraph-spacing-body: 0.875rem;
|
|
320
320
|
|
|
321
321
|
--wds-font-weight-nav-regular: 300;
|
|
322
322
|
--wds-font-weight-nav-bold: 600;
|
|
323
|
-
--wds-font-size-nav: 0.
|
|
323
|
+
--wds-font-size-nav: 0.8125rem;
|
|
324
324
|
--wds-line-height-nav: 1.9;
|
|
325
325
|
--wds-letter-spacing-nav: 0;
|
|
326
326
|
}
|
package/package.json
CHANGED
package/src/less/badge.less
CHANGED
|
@@ -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(--font-weight-
|
|
10
|
+
font-weight: var(--wds-font-weight-title-body);
|
|
11
11
|
color: #fff;
|
|
12
|
-
line-height: var(--line-height-
|
|
12
|
+
line-height: var(--wds-line-height-title-section);
|
|
13
13
|
vertical-align: middle;
|
|
14
14
|
white-space: nowrap;
|
|
15
15
|
text-align: center;
|
package/src/less/buttons.less
CHANGED
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
border: 1px solid transparent;
|
|
23
23
|
white-space: nowrap;
|
|
24
24
|
padding-bottom: 10px;
|
|
25
|
-
font-weight: var(--font-weight-
|
|
25
|
+
font-weight: var(--wds-font-weight-title-body);
|
|
26
26
|
|
|
27
27
|
.button-size(
|
|
28
28
|
var(--btn-padding);
|
|
29
|
-
var(--font-size-
|
|
29
|
+
var(--wds-font-size-body-large);
|
|
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(--font-size-
|
|
478
|
+
var(--wds-font-size-body);
|
|
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(--font-size-
|
|
515
|
+
var(--wds-font-size-body-large);
|
|
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(--font-weight-regular);
|
|
550
|
+
font-weight: var(--wds-font-weight-body-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(--font-weight-
|
|
587
|
+
font-weight: var(--wds-font-weight-title-body);
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
}
|
|
@@ -8,9 +8,6 @@
|
|
|
8
8
|
@import "../../variables/legacy-variables.less";
|
|
9
9
|
|
|
10
10
|
:root {
|
|
11
|
-
// page default font size should be set in absolute units (pixels)
|
|
12
|
-
// TODO: move this token to rest of foundation tokens (neptune-tokens)
|
|
13
|
-
--base-font-size: 16px;
|
|
14
11
|
--input-group-addon-padding: @padding-large-vertical @padding-base-horizontal
|
|
15
12
|
calc(@padding-large-vertical - 2px);
|
|
16
13
|
--btn-padding: @btn-padding-vertical @btn-padding-horizontal calc(@btn-padding-vertical - 2px);
|
|
@@ -67,7 +64,7 @@
|
|
|
67
64
|
}
|
|
68
65
|
|
|
69
66
|
html {
|
|
70
|
-
font-size: var(--
|
|
67
|
+
font-size: var(--wds-font-size-body);
|
|
71
68
|
font-family: var(--wds-font-family-regular);
|
|
72
69
|
color: var(--color-content-secondary);
|
|
73
70
|
background-color: var(--color-background-screen);
|
|
@@ -221,11 +218,11 @@ ul {
|
|
|
221
218
|
|
|
222
219
|
dt,
|
|
223
220
|
dd {
|
|
224
|
-
line-height: var(--line-height-body);
|
|
221
|
+
line-height: var(--wds-line-height-body-large);
|
|
225
222
|
}
|
|
226
223
|
|
|
227
224
|
dt {
|
|
228
|
-
font-size: var(--font-size-
|
|
225
|
+
font-size: var(--wds-font-size-body);
|
|
229
226
|
}
|
|
230
227
|
|
|
231
228
|
dd {
|
|
@@ -145,15 +145,15 @@
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
.font-weight-bold {
|
|
148
|
-
font-weight: var(--font-weight-
|
|
148
|
+
font-weight: var(--wds-font-weight-title-screen) !important;
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
.font-weight-semi-bold {
|
|
152
|
-
font-weight: var(--font-weight-
|
|
152
|
+
font-weight: var(--wds-font-weight-title-group) !important;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
.font-weight-normal {
|
|
156
|
-
font-weight: var(--font-weight-regular) !important;
|
|
156
|
+
font-weight: var(--wds-font-weight-body-regular) !important;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
.font-italic {
|
|
@@ -99,8 +99,8 @@ h6,
|
|
|
99
99
|
/* DEPRECATED: use `.wds-text-title-body` instead */
|
|
100
100
|
.lead {
|
|
101
101
|
margin-bottom: var(--size-24);
|
|
102
|
-
font-size: var(--font-size-
|
|
103
|
-
line-height: var(--line-height-title);
|
|
102
|
+
font-size: var(--wds-font-size-title-body);
|
|
103
|
+
line-height: var(--wds-line-height-title-body);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
// DEPRECATED: use `.wds-text-body-default` instead
|
|
@@ -161,18 +161,18 @@ small,
|
|
|
161
161
|
a,
|
|
162
162
|
.np-text-link-default,
|
|
163
163
|
.np-text-link-large {
|
|
164
|
-
font-weight: var(--font-weight-
|
|
164
|
+
font-weight: var(--wds-font-weight-title-body);
|
|
165
165
|
.link-underline();
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
.np-text-link-large {
|
|
169
|
-
font-size: var(--font-size-
|
|
169
|
+
font-size: var(--wds-font-size-body-large);
|
|
170
170
|
letter-spacing: -0.011em;
|
|
171
171
|
line-height: 150%;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
.np-text-link-default {
|
|
175
|
-
font-size: var(--font-size-
|
|
175
|
+
font-size: var(--wds-font-size-body);
|
|
176
176
|
letter-spacing: -0.006em;
|
|
177
177
|
line-height: 155%;
|
|
178
178
|
}
|
|
@@ -347,7 +347,7 @@ p {
|
|
|
347
347
|
|
|
348
348
|
strong,
|
|
349
349
|
b {
|
|
350
|
-
font-weight: var(--font-weight-
|
|
350
|
+
font-weight: var(--wds-font-weight-title-body);
|
|
351
351
|
color: var(--color-content-primary);
|
|
352
352
|
}
|
|
353
353
|
|
|
@@ -365,7 +365,7 @@ address {
|
|
|
365
365
|
blockquote {
|
|
366
366
|
margin: var(--size-16) 0;
|
|
367
367
|
padding: 0 var(--size-16) 0 calc(var(--size-16) - 2px);
|
|
368
|
-
font-size: var(--font-size-
|
|
368
|
+
font-size: var(--wds-font-size-body-large);
|
|
369
369
|
.border(left, 2px, solid, var(--color-content-accent));
|
|
370
370
|
|
|
371
371
|
p {
|
|
@@ -383,8 +383,8 @@ blockquote {
|
|
|
383
383
|
footer {
|
|
384
384
|
display: block;
|
|
385
385
|
color: var(--color-content-secondary);
|
|
386
|
-
font-size: var(--font-size-
|
|
387
|
-
line-height: var(--line-height-body);
|
|
386
|
+
font-size: var(--wds-font-size-body);
|
|
387
|
+
line-height: var(--wds-line-height-body-large);
|
|
388
388
|
|
|
389
389
|
&::before {
|
|
390
390
|
content: "\2014 \00A0"; // em dash, nbsp
|
|
@@ -397,7 +397,7 @@ blockquote {
|
|
|
397
397
|
|
|
398
398
|
@media (--screen-lg) {
|
|
399
399
|
margin: var(--size-32);
|
|
400
|
-
font-size: var(--font-size-
|
|
400
|
+
font-size: var(--wds-font-size-body-large);
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
403
|
|
|
@@ -434,8 +434,8 @@ pre {
|
|
|
434
434
|
padding: var(--size-16);
|
|
435
435
|
overflow: auto;
|
|
436
436
|
color: var(--color-content-secondary);
|
|
437
|
-
font-size: var(--font-size-
|
|
438
|
-
line-height: var(--line-height-body);
|
|
437
|
+
font-size: var(--wds-font-size-body);
|
|
438
|
+
line-height: var(--wds-line-height-body-large);
|
|
439
439
|
word-wrap: break-word;
|
|
440
440
|
word-break: break-all;
|
|
441
441
|
background-color: var(--color-background-neutral);
|
|
@@ -464,7 +464,7 @@ kbd {
|
|
|
464
464
|
|
|
465
465
|
kbd {
|
|
466
466
|
padding: 0;
|
|
467
|
-
font-weight: var(--font-weight-
|
|
467
|
+
font-weight: var(--wds-font-weight-title-body);
|
|
468
468
|
font-size: 100%;
|
|
469
469
|
}
|
|
470
470
|
}
|
package/src/less/dropdowns.less
CHANGED
|
@@ -309,8 +309,8 @@
|
|
|
309
309
|
.dropdown-header {
|
|
310
310
|
display: block;
|
|
311
311
|
padding: 8px 16px;
|
|
312
|
-
font-size: var(--font-size-
|
|
313
|
-
line-height: var(--line-height-body);
|
|
312
|
+
font-size: var(--wds-font-size-body);
|
|
313
|
+
line-height: var(--wds-line-height-body-large);
|
|
314
314
|
color: var(--color-content-secondary);
|
|
315
315
|
white-space: nowrap; // as with > li > a
|
|
316
316
|
|