@transferwise/neptune-css 14.27.0 → 14.27.1
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/neptune-core.css +47 -1
- package/dist/css/neptune.css +48 -1
- package/package.json +1 -1
- package/src/less/core/_typography.less +15 -2
|
@@ -1090,9 +1090,55 @@ a,
|
|
|
1090
1090
|
.np-text-display-large,
|
|
1091
1091
|
.np-text-display-medium,
|
|
1092
1092
|
.np-text-display-small {
|
|
1093
|
-
font-family:
|
|
1093
|
+
font-family: 'Wise Sans', 'Inter', sans-serif;
|
|
1094
|
+
font-family: var(--font-family-display);
|
|
1094
1095
|
font-synthesis: none;
|
|
1095
1096
|
}
|
|
1097
|
+
:lang(ja) .display-1,
|
|
1098
|
+
:lang(ja) .display-2,
|
|
1099
|
+
:lang(ja) .display-3,
|
|
1100
|
+
:lang(ja) .display-4,
|
|
1101
|
+
:lang(ja) .display-5,
|
|
1102
|
+
:lang(ja) .np-text-display-extra-large,
|
|
1103
|
+
:lang(ja) .np-text-display-large,
|
|
1104
|
+
:lang(ja) .np-text-display-medium,
|
|
1105
|
+
:lang(ja) .np-text-display-small,
|
|
1106
|
+
:lang(th) .display-1,
|
|
1107
|
+
:lang(th) .display-2,
|
|
1108
|
+
:lang(th) .display-3,
|
|
1109
|
+
:lang(th) .display-4,
|
|
1110
|
+
:lang(th) .display-5,
|
|
1111
|
+
:lang(th) .np-text-display-extra-large,
|
|
1112
|
+
:lang(th) .np-text-display-large,
|
|
1113
|
+
:lang(th) .np-text-display-medium,
|
|
1114
|
+
:lang(th) .np-text-display-small,
|
|
1115
|
+
:lang(zh-CN) .display-1,
|
|
1116
|
+
:lang(zh-CN) .display-2,
|
|
1117
|
+
:lang(zh-CN) .display-3,
|
|
1118
|
+
:lang(zh-CN) .display-4,
|
|
1119
|
+
:lang(zh-CN) .display-5,
|
|
1120
|
+
:lang(zh-CN) .np-text-display-extra-large,
|
|
1121
|
+
:lang(zh-CN) .np-text-display-large,
|
|
1122
|
+
:lang(zh-CN) .np-text-display-medium,
|
|
1123
|
+
:lang(zh-CN) .np-text-display-small,
|
|
1124
|
+
:lang(zh-HK) .display-1,
|
|
1125
|
+
:lang(zh-HK) .display-2,
|
|
1126
|
+
:lang(zh-HK) .display-3,
|
|
1127
|
+
:lang(zh-HK) .display-4,
|
|
1128
|
+
:lang(zh-HK) .display-5,
|
|
1129
|
+
:lang(zh-HK) .np-text-display-extra-large,
|
|
1130
|
+
:lang(zh-HK) .np-text-display-large,
|
|
1131
|
+
:lang(zh-HK) .np-text-display-medium,
|
|
1132
|
+
:lang(zh-HK) .np-text-display-small {
|
|
1133
|
+
/**
|
|
1134
|
+
* Wise Sans covers extended Latin glyphs for logged-in experiences and a small subset
|
|
1135
|
+
* of Japanese ones for the logged out ones (exposed by the Editorial DS). Unfortunately,
|
|
1136
|
+
* font files are browser-cached and we carried over to launchpad, where it causes issues
|
|
1137
|
+
* for unsupported locales, especially those that share glyphs, like Japanese and Chinese.
|
|
1138
|
+
*/
|
|
1139
|
+
font-family: 'Inter', Helvetica, Arial, sans-serif;
|
|
1140
|
+
font-family: var(--font-family-regular);
|
|
1141
|
+
}
|
|
1096
1142
|
/* DEPRECATED(.np-text-display-extra-large): use .np-text-display-large instead */
|
|
1097
1143
|
.np-text-display-extra-large,
|
|
1098
1144
|
.np-text-display-large,
|
package/dist/css/neptune.css
CHANGED
|
@@ -3492,10 +3492,57 @@ a,
|
|
|
3492
3492
|
.np-text-display-large,
|
|
3493
3493
|
.np-text-display-medium,
|
|
3494
3494
|
.np-text-display-small {
|
|
3495
|
-
font-family:
|
|
3495
|
+
font-family: 'Wise Sans', 'Inter', sans-serif;
|
|
3496
|
+
font-family: var(--font-family-display);
|
|
3496
3497
|
font-synthesis: none;
|
|
3497
3498
|
}
|
|
3498
3499
|
|
|
3500
|
+
:lang(ja) .display-1,
|
|
3501
|
+
:lang(ja) .display-2,
|
|
3502
|
+
:lang(ja) .display-3,
|
|
3503
|
+
:lang(ja) .display-4,
|
|
3504
|
+
:lang(ja) .display-5,
|
|
3505
|
+
:lang(ja) .np-text-display-extra-large,
|
|
3506
|
+
:lang(ja) .np-text-display-large,
|
|
3507
|
+
:lang(ja) .np-text-display-medium,
|
|
3508
|
+
:lang(ja) .np-text-display-small,
|
|
3509
|
+
:lang(th) .display-1,
|
|
3510
|
+
:lang(th) .display-2,
|
|
3511
|
+
:lang(th) .display-3,
|
|
3512
|
+
:lang(th) .display-4,
|
|
3513
|
+
:lang(th) .display-5,
|
|
3514
|
+
:lang(th) .np-text-display-extra-large,
|
|
3515
|
+
:lang(th) .np-text-display-large,
|
|
3516
|
+
:lang(th) .np-text-display-medium,
|
|
3517
|
+
:lang(th) .np-text-display-small,
|
|
3518
|
+
:lang(zh-CN) .display-1,
|
|
3519
|
+
:lang(zh-CN) .display-2,
|
|
3520
|
+
:lang(zh-CN) .display-3,
|
|
3521
|
+
:lang(zh-CN) .display-4,
|
|
3522
|
+
:lang(zh-CN) .display-5,
|
|
3523
|
+
:lang(zh-CN) .np-text-display-extra-large,
|
|
3524
|
+
:lang(zh-CN) .np-text-display-large,
|
|
3525
|
+
:lang(zh-CN) .np-text-display-medium,
|
|
3526
|
+
:lang(zh-CN) .np-text-display-small,
|
|
3527
|
+
:lang(zh-HK) .display-1,
|
|
3528
|
+
:lang(zh-HK) .display-2,
|
|
3529
|
+
:lang(zh-HK) .display-3,
|
|
3530
|
+
:lang(zh-HK) .display-4,
|
|
3531
|
+
:lang(zh-HK) .display-5,
|
|
3532
|
+
:lang(zh-HK) .np-text-display-extra-large,
|
|
3533
|
+
:lang(zh-HK) .np-text-display-large,
|
|
3534
|
+
:lang(zh-HK) .np-text-display-medium,
|
|
3535
|
+
:lang(zh-HK) .np-text-display-small {
|
|
3536
|
+
/**
|
|
3537
|
+
* Wise Sans covers extended Latin glyphs for logged-in experiences and a small subset
|
|
3538
|
+
* of Japanese ones for the logged out ones (exposed by the Editorial DS). Unfortunately,
|
|
3539
|
+
* font files are browser-cached and we carried over to launchpad, where it causes issues
|
|
3540
|
+
* for unsupported locales, especially those that share glyphs, like Japanese and Chinese.
|
|
3541
|
+
*/
|
|
3542
|
+
font-family: 'Inter', Helvetica, Arial, sans-serif;
|
|
3543
|
+
font-family: var(--font-family-regular);
|
|
3544
|
+
}
|
|
3545
|
+
|
|
3499
3546
|
/* DEPRECATED(.np-text-display-extra-large): use .np-text-display-large instead */
|
|
3500
3547
|
|
|
3501
3548
|
.np-text-display-extra-large,
|
package/package.json
CHANGED
|
@@ -25,7 +25,7 @@ h6,
|
|
|
25
25
|
line-height: var(--line-height-title);
|
|
26
26
|
letter-spacing: 0;
|
|
27
27
|
.np-text-hyphenated;
|
|
28
|
-
|
|
28
|
+
|
|
29
29
|
+ p,
|
|
30
30
|
+ ul:not(.list-unstyled),
|
|
31
31
|
+ ol:not(.list-unstyled) {
|
|
@@ -204,8 +204,21 @@ a,
|
|
|
204
204
|
.np-text-display-large,
|
|
205
205
|
.np-text-display-medium,
|
|
206
206
|
.np-text-display-small {
|
|
207
|
-
font-family:
|
|
207
|
+
font-family: var(--font-family-display);
|
|
208
208
|
font-synthesis: none;
|
|
209
|
+
|
|
210
|
+
:lang(ja) &,
|
|
211
|
+
:lang(th) &,
|
|
212
|
+
:lang(zh-CN) &,
|
|
213
|
+
:lang(zh-HK) & {
|
|
214
|
+
/**
|
|
215
|
+
* Wise Sans covers extended Latin glyphs for logged-in experiences and a small subset
|
|
216
|
+
* of Japanese ones for the logged out ones (exposed by the Editorial DS). Unfortunately,
|
|
217
|
+
* font files are browser-cached and we carried over to launchpad, where it causes issues
|
|
218
|
+
* for unsupported locales, especially those that share glyphs, like Japanese and Chinese.
|
|
219
|
+
*/
|
|
220
|
+
font-family: var(--font-family-regular);
|
|
221
|
+
}
|
|
209
222
|
}
|
|
210
223
|
|
|
211
224
|
/* DEPRECATED(.np-text-display-extra-large): use .np-text-display-large instead */
|