@transferwise/neptune-css 0.0.0-experimental-ae1eca8 → 0.0.0-experimental-c6db9e8

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.
@@ -74,6 +74,10 @@
74
74
  margin-top: var(--size-8);
75
75
  }
76
76
  .decision__content {
77
+ line-height: 1.5;
78
+ line-height: var(--line-height-body);
79
+ font-size: 1rem;
80
+ font-size: var(--font-size-16);
77
81
  font-size: 0.875rem;
78
82
  font-size: var(--font-size-14);
79
83
  line-height: 155%;
@@ -397,6 +397,10 @@ html:not([dir="rtl"]) .btn-group > .btn-group:first-child:not(:last-child) > .dr
397
397
  max-height: 592px;
398
398
  }
399
399
  }.btn-group .secondary {
400
+ line-height: 1.5;
401
+ line-height: var(--line-height-body);
402
+ font-size: 1rem;
403
+ font-size: var(--font-size-16);
400
404
  font-size: 0.875rem;
401
405
  font-size: var(--font-size-14);
402
406
  line-height: 155%;
@@ -33,6 +33,10 @@
33
33
  margin-top: 8px;
34
34
  margin-top: var(--size-8);
35
35
  }.decision__content {
36
+ line-height: 1.5;
37
+ line-height: var(--line-height-body);
38
+ font-size: 1rem;
39
+ font-size: var(--font-size-16);
36
40
  font-size: 0.875rem;
37
41
  font-size: var(--font-size-14);
38
42
  line-height: 155%;
@@ -12,6 +12,10 @@
12
12
  padding: 8px ;
13
13
  margin: 0;
14
14
  list-style: none;
15
+ line-height: 1.5;
16
+ line-height: var(--line-height-body);
17
+ font-size: 1rem;
18
+ font-size: var(--font-size-16);
15
19
  font-size: 0.875rem;
16
20
  font-size: var(--font-size-14);
17
21
  line-height: 155%;
@@ -71,6 +75,10 @@
71
75
  padding: var(--dropdown-link-padding);
72
76
  clear: both;
73
77
  border-radius: 3px;
78
+ line-height: 1.5;
79
+ line-height: var(--line-height-body);
80
+ font-size: 1rem;
81
+ font-size: var(--font-size-16);
74
82
  font-size: 0.875rem;
75
83
  font-size: var(--font-size-14);
76
84
  line-height: 155%;
@@ -3,6 +3,10 @@
3
3
  }.footer {
4
4
  background-color: rgba(134,167,189,0.10196);
5
5
  background-color: var(--color-background-neutral);
6
+ line-height: 1.5;
7
+ line-height: var(--line-height-body);
8
+ font-size: 1rem;
9
+ font-size: var(--font-size-16);
6
10
  font-size: 0.875rem;
7
11
  font-size: var(--font-size-14);
8
12
  line-height: 155%;
@@ -31,6 +35,10 @@
31
35
  .footer .link-icon {
32
36
  color: #5d7079;
33
37
  color: var(--color-content-secondary);
38
+ line-height: 1.5;
39
+ line-height: var(--line-height-body);
40
+ font-size: 1rem;
41
+ font-size: var(--font-size-16);
34
42
  font-size: 0.875rem;
35
43
  font-size: var(--font-size-14);
36
44
  line-height: 155%;
@@ -316,6 +316,10 @@ fieldset[disabled] .checkbox label {
316
316
  border-radius: 3px;
317
317
  font-size: 14px;
318
318
  line-height: 24px;
319
+ line-height: 1.5;
320
+ line-height: var(--line-height-body);
321
+ font-size: 1rem;
322
+ font-size: var(--font-size-16);
319
323
  font-size: 0.875rem;
320
324
  font-size: var(--font-size-14);
321
325
  line-height: 155%;
@@ -2392,6 +2396,10 @@ select[multiple].input-group-lg > .input-group-btn .btn {
2392
2396
  border-radius: 3px;
2393
2397
  font-size: 14px;
2394
2398
  line-height: 24px;
2399
+ line-height: 1.5;
2400
+ line-height: var(--line-height-body);
2401
+ font-size: 1rem;
2402
+ font-size: var(--font-size-16);
2395
2403
  font-size: 0.875rem;
2396
2404
  font-size: var(--font-size-14);
2397
2405
  line-height: 155%;
@@ -475,7 +475,7 @@
475
475
  color: #0077a5;
476
476
  color: var(--color-content-accent-active);
477
477
  background-color: transparent;
478
- font-weight: 800;
478
+ font-weight: 700;
479
479
  font-weight: var(--font-weight-bold);
480
480
  }.navbar-nav > li > .dropdown-menu > .active > a:hover,
481
481
  .navbar-nav > li > .dropdown-menu > .active > a:focus {
@@ -670,7 +670,7 @@
670
670
  background-color: transparent;
671
671
  }.navbar-default .navbar-nav > .active > a,
672
672
  .navbar-default .navbar-nav > .active > .dropdown-toggle {
673
- font-weight: 800;
673
+ font-weight: 700;
674
674
  font-weight: var(--font-weight-bold);
675
675
  }.navbar-default .navbar-nav > .active > a,
676
676
  .navbar-default .navbar-nav > .active > .dropdown-toggle,
@@ -702,7 +702,7 @@
702
702
  background-color: transparent;
703
703
  }
704
704
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a {
705
- font-weight: 800;
705
+ font-weight: 700;
706
706
  font-weight: var(--font-weight-bold);
707
707
  }
708
708
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
@@ -756,7 +756,7 @@
756
756
  .navbar-inverse .navbar-nav > .active > .dropdown-toggle {
757
757
  color: #0077a5;
758
758
  color: var(--color-content-accent-active);
759
- font-weight: 800;
759
+ font-weight: 700;
760
760
  font-weight: var(--font-weight-bold);
761
761
  }.navbar-inverse .navbar-nav > .active > a,
762
762
  .navbar-inverse .navbar-nav > .active > .dropdown-toggle,
@@ -1026,7 +1026,7 @@
1026
1026
  line-height: var(--line-height-title);
1027
1027
  margin-top: 12px;
1028
1028
  margin-bottom: 12px;
1029
- font-weight: 800;
1029
+ font-weight: 700;
1030
1030
  font-weight: var(--font-weight-bold);
1031
1031
  }[dir="rtl"] .navbar-title {
1032
1032
  float: right;
@@ -82,6 +82,10 @@
82
82
  padding: 8px ;
83
83
  margin: 0;
84
84
  list-style: none;
85
+ line-height: 1.5;
86
+ line-height: var(--line-height-body);
87
+ font-size: 1rem;
88
+ font-size: var(--font-size-16);
85
89
  font-size: 0.875rem;
86
90
  font-size: var(--font-size-14);
87
91
  line-height: 155%;
@@ -151,6 +155,10 @@
151
155
  padding: var(--dropdown-link-padding);
152
156
  clear: both;
153
157
  border-radius: 3px;
158
+ line-height: 1.5;
159
+ line-height: var(--line-height-body);
160
+ font-size: 1rem;
161
+ font-size: var(--font-size-16);
154
162
  font-size: 0.875rem;
155
163
  font-size: var(--font-size-14);
156
164
  line-height: 155%;
@@ -1334,7 +1342,7 @@ html:not([dir="rtl"]) .nav-stacked > li.active > a:focus {
1334
1342
  color: #0077a5;
1335
1343
  color: var(--color-content-accent-active);
1336
1344
  background-color: transparent;
1337
- font-weight: 800;
1345
+ font-weight: 700;
1338
1346
  font-weight: var(--font-weight-bold);
1339
1347
  }
1340
1348
  .navbar-nav > li > .dropdown-menu > .active > a:hover,
@@ -1560,7 +1568,7 @@ html:not([dir="rtl"]) .nav-stacked > li.active > a:focus {
1560
1568
  }
1561
1569
  .navbar-default .navbar-nav > .active > a,
1562
1570
  .navbar-default .navbar-nav > .active > .dropdown-toggle {
1563
- font-weight: 800;
1571
+ font-weight: 700;
1564
1572
  font-weight: var(--font-weight-bold);
1565
1573
  }
1566
1574
  .navbar-default .navbar-nav > .active > a,
@@ -1595,7 +1603,7 @@ html:not([dir="rtl"]) .nav-stacked > li.active > a:focus {
1595
1603
  background-color: transparent;
1596
1604
  }
1597
1605
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a {
1598
- font-weight: 800;
1606
+ font-weight: 700;
1599
1607
  font-weight: var(--font-weight-bold);
1600
1608
  }
1601
1609
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
@@ -1662,7 +1670,7 @@ html:not([dir="rtl"]) .nav-stacked > li.active > a:focus {
1662
1670
  .navbar-inverse .navbar-nav > .active > .dropdown-toggle {
1663
1671
  color: #0077a5;
1664
1672
  color: var(--color-content-accent-active);
1665
- font-weight: 800;
1673
+ font-weight: 700;
1666
1674
  font-weight: var(--font-weight-bold);
1667
1675
  }
1668
1676
  .navbar-inverse .navbar-nav > .active > a,
@@ -1963,7 +1971,7 @@ html:not([dir="rtl"]) .nav-stacked > li.active > a:focus {
1963
1971
  line-height: var(--line-height-title);
1964
1972
  margin-top: 12px;
1965
1973
  margin-bottom: 12px;
1966
- font-weight: 800;
1974
+ font-weight: 700;
1967
1975
  font-weight: var(--font-weight-bold);
1968
1976
  }
1969
1977
  [dir="rtl"] .navbar-title {
@@ -70,7 +70,7 @@
70
70
  font-display: swap;
71
71
  }
72
72
  @font-face {
73
- font-weight: 800;
73
+ font-weight: 700;
74
74
  font-weight: var(--font-weight-bold);
75
75
  font-family: Averta;
76
76
  src: url("../fonts/TW-Averta-Bold.woff2") format("woff2"), url("../fonts/TW-Averta-Bold.woff") format("woff");
@@ -919,7 +919,60 @@ h6,
919
919
  letter-spacing: -0.006em;
920
920
  line-height: 140%;
921
921
  }
922
- /* DEPRECATED: use .np-text-title-body instead */
922
+ .body-1,
923
+ .body-2,
924
+ .body-3,
925
+ .label,
926
+ .value,
927
+ .np-text-body-default {
928
+ font-weight: 400;
929
+ font-weight: var(--font-weight-regular);
930
+ line-height: 1.5;
931
+ line-height: var(--line-height-body);
932
+ }
933
+ .body-1,
934
+ .np-text-body-default,
935
+ .np-text-body-default-bold {
936
+ font-size: 1rem;
937
+ font-size: var(--font-size-16);
938
+ }
939
+ .np-text-body-default-bold {
940
+ font-weight: 700;
941
+ font-weight: var(--font-weight-bold);
942
+ }
943
+ .body-2 {
944
+ font-size: 0.875rem;
945
+ font-size: var(--font-size-14);
946
+ }
947
+ .body-3 {
948
+ font-size: 0.75rem;
949
+ font-size: var(--font-size-12);
950
+ }
951
+ .control-1,
952
+ .control-2 {
953
+ color: #0097c7;
954
+ color: var(--color-content-accent);
955
+ font-weight: 600;
956
+ font-weight: var(--font-weight-semi-bold);
957
+ line-height: 1.2;
958
+ line-height: var(--line-height-title);
959
+ }
960
+ .control-1 {
961
+ font-size: 1rem;
962
+ font-size: var(--font-size-16);
963
+ }
964
+ .control-2 {
965
+ font-size: 0.875rem;
966
+ font-size: var(--font-size-14);
967
+ }
968
+ .label {
969
+ font-size: 0.875rem;
970
+ font-size: var(--font-size-14);
971
+ }
972
+ .value {
973
+ font-size: 1rem;
974
+ font-size: var(--font-size-16);
975
+ }
923
976
  .lead {
924
977
  margin-bottom: 24px;
925
978
  margin-bottom: var(--size-24);
@@ -928,9 +981,21 @@ h6,
928
981
  line-height: 1.2;
929
982
  line-height: var(--line-height-title);
930
983
  }
984
+ small,
985
+ .small,
986
+ .body-2 {
987
+ font-size: 0.875rem;
988
+ font-size: var(--font-size-14);
989
+ line-height: 1.5;
990
+ line-height: var(--line-height-body);
991
+ }
931
992
  .tiny {
932
993
  color: #5d7079;
933
994
  color: var(--color-content-secondary);
995
+ font-size: 0.75rem;
996
+ font-size: var(--font-size-12);
997
+ line-height: 1.5;
998
+ line-height: var(--line-height-body);
934
999
  }
935
1000
  /* DEPRECATED: use .np-text-body-default instead */
936
1001
  /* stylelint-disable-next-line selector-list-comma-newline-after */
@@ -941,7 +1006,6 @@ h6,
941
1006
  .small,
942
1007
  .tiny,
943
1008
  body,
944
- small,
945
1009
  .np-text-body-default {
946
1010
  font-size: 0.875rem;
947
1011
  font-size: var(--font-size-14);
@@ -954,13 +1018,15 @@ small,
954
1018
  /* stylelint-disable-next-line selector-list-comma-newline-after */
955
1019
  .control-2,
956
1020
  .np-text-body-default-bold {
957
- font-size: 0.875rem;
958
- font-size: var(--font-size-14);
959
1021
  line-height: 155%;
960
1022
  letter-spacing: -0.006em;
961
1023
  font-weight: 600;
962
1024
  font-weight: var(--font-weight-semi-bold);
963
1025
  }
1026
+ .np-text-body-default-bold {
1027
+ font-size: 0.875rem;
1028
+ font-size: var(--font-size-14);
1029
+ }
964
1030
  /* DEPRECATED: use .np-text-body-large instead */
965
1031
  /* stylelint-disable-next-line selector-list-comma-newline-after */
966
1032
  .body-1,
@@ -1080,21 +1146,21 @@ a,
1080
1146
  font-size: 64px;
1081
1147
  font-size: var(--size-64);
1082
1148
  line-height: normal;
1083
- font-weight: 800;
1149
+ font-weight: 700;
1084
1150
  font-weight: var(--font-weight-bold);
1085
1151
  }
1086
1152
  .np-text-display-medium {
1087
1153
  font-size: 52px;
1088
1154
  font-size: var(--size-52);
1089
1155
  line-height: normal;
1090
- font-weight: 800;
1156
+ font-weight: 700;
1091
1157
  font-weight: var(--font-weight-bold);
1092
1158
  }
1093
1159
  .np-text-display-small {
1094
1160
  font-size: 40px;
1095
1161
  font-size: var(--size-40);
1096
1162
  line-height: normal;
1097
- font-weight: 800;
1163
+ font-weight: 700;
1098
1164
  font-weight: var(--font-weight-bold);
1099
1165
  }
1100
1166
  :lang(en) > .np-text-display-extra-large,
@@ -1463,7 +1529,6 @@ a,
1463
1529
  font-weight: 600;
1464
1530
  font-weight: var(--font-weight-semi-bold);
1465
1531
  }
1466
- /* DEPRECATED: use `.np-text-display-*` instead */
1467
1532
  .display-1 {
1468
1533
  margin-bottom: 24px;
1469
1534
  margin-bottom: var(--size-24);
@@ -1477,7 +1542,6 @@ a,
1477
1542
  font-size: 6.5rem;
1478
1543
  }
1479
1544
  }
1480
- /* DEPRECATED: use `.np-text-display-*` instead */
1481
1545
  .display-2 {
1482
1546
  margin-bottom: 24px;
1483
1547
  margin-bottom: var(--size-24);
@@ -1491,7 +1555,6 @@ a,
1491
1555
  font-size: 5.5rem;
1492
1556
  }
1493
1557
  }
1494
- /* DEPRECATED: use `.np-text-display-*` instead */
1495
1558
  .display-3 {
1496
1559
  margin-bottom: 8px;
1497
1560
  margin-bottom: var(--size-8);
@@ -1504,7 +1567,6 @@ a,
1504
1567
  font-size: 4.5rem;
1505
1568
  }
1506
1569
  }
1507
- /* DEPRECATED: use `.np-text-display-*` instead */
1508
1570
  .display-4 {
1509
1571
  margin-bottom: 4px;
1510
1572
  margin-bottom: var(--size-4);
@@ -1518,7 +1580,6 @@ a,
1518
1580
  font-size: 3.5rem;
1519
1581
  }
1520
1582
  }
1521
- /* DEPRECATED: use `.np-text-display-*` instead */
1522
1583
  .display-5 {
1523
1584
  margin-bottom: 4px;
1524
1585
  margin-bottom: var(--size-4);
@@ -1723,7 +1784,7 @@ kbd {
1723
1784
  }
1724
1785
  kbd kbd {
1725
1786
  padding: 0;
1726
- font-weight: 800;
1787
+ font-weight: 700;
1727
1788
  font-weight: var(--font-weight-bold);
1728
1789
  font-size: 100%;
1729
1790
  }
@@ -1800,7 +1861,7 @@ a.text-inverse:focus {
1800
1861
  font-weight: var(--font-weight-semi-bold) !important;
1801
1862
  }
1802
1863
  .font-weight-bold {
1803
- font-weight: 800 !important;
1864
+ font-weight: 700 !important;
1804
1865
  font-weight: var(--font-weight-bold) !important;
1805
1866
  }
1806
1867
  .text-max-width {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 06 Dec 2023 12:40:57 GMT
3
+ * Generated on Wed, 17 Jan 2024 13:14:10 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -133,7 +133,7 @@
133
133
  --font-weight-regular: 400;
134
134
  --font-weight-medium: 500;
135
135
  --font-weight-semi-bold: 600;
136
- --font-weight-bold: 800;
136
+ --font-weight-bold: 700;
137
137
  --font-weight-black: 900;
138
138
  --font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
139
139
  --font-family-display: 'Wise Sans', 'Inter', sans-serif;
@@ -141,7 +141,7 @@
141
141
 
142
142
  /**
143
143
  * Do not edit directly
144
- * Generated on Wed, 06 Dec 2023 12:40:57 GMT
144
+ * Generated on Wed, 17 Jan 2024 13:14:10 GMT
145
145
  */
146
146
 
147
147
  .np-theme-personal {
@@ -286,7 +286,7 @@
286
286
  --font-weight-regular: 400;
287
287
  --font-weight-medium: 500;
288
288
  --font-weight-semi-bold: 600;
289
- --font-weight-bold: 800;
289
+ --font-weight-bold: 700;
290
290
  --font-weight-black: 900;
291
291
  --font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
292
292
  --font-family-display: 'Wise Sans', 'Inter', sans-serif;
@@ -359,7 +359,7 @@
359
359
 
360
360
  /**
361
361
  * Do not edit directly
362
- * Generated on Wed, 06 Dec 2023 12:40:57 GMT
362
+ * Generated on Wed, 17 Jan 2024 13:14:10 GMT
363
363
  */
364
364
 
365
365
  .np-theme-personal--forest-green {
@@ -532,7 +532,7 @@
532
532
  --font-weight-regular: 400;
533
533
  --font-weight-medium: 500;
534
534
  --font-weight-semi-bold: 600;
535
- --font-weight-bold: 800;
535
+ --font-weight-bold: 700;
536
536
  --font-weight-black: 900;
537
537
  --font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
538
538
  --font-family-display: 'Wise Sans', 'Inter', sans-serif;
@@ -605,7 +605,7 @@
605
605
 
606
606
  /**
607
607
  * Do not edit directly
608
- * Generated on Wed, 06 Dec 2023 12:40:57 GMT
608
+ * Generated on Wed, 17 Jan 2024 13:14:10 GMT
609
609
  */
610
610
 
611
611
  .np-theme-personal--bright-green {
@@ -778,7 +778,7 @@
778
778
  --font-weight-regular: 400;
779
779
  --font-weight-medium: 500;
780
780
  --font-weight-semi-bold: 600;
781
- --font-weight-bold: 800;
781
+ --font-weight-bold: 700;
782
782
  --font-weight-black: 900;
783
783
  --font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
784
784
  --font-family-display: 'Wise Sans', 'Inter', sans-serif;
@@ -851,7 +851,7 @@
851
851
 
852
852
  /**
853
853
  * Do not edit directly
854
- * Generated on Wed, 06 Dec 2023 12:40:57 GMT
854
+ * Generated on Wed, 17 Jan 2024 13:14:10 GMT
855
855
  */
856
856
 
857
857
  .np-theme-personal--dark {
@@ -1024,7 +1024,7 @@
1024
1024
  --font-weight-regular: 400;
1025
1025
  --font-weight-medium: 500;
1026
1026
  --font-weight-semi-bold: 600;
1027
- --font-weight-bold: 800;
1027
+ --font-weight-bold: 700;
1028
1028
  --font-weight-black: 900;
1029
1029
  --font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
1030
1030
  --font-family-display: 'Wise Sans', 'Inter', sans-serif;
@@ -1177,7 +1177,7 @@
1177
1177
  }
1178
1178
 
1179
1179
  @font-face {
1180
- font-weight: 800;
1180
+ font-weight: 700;
1181
1181
  font-weight: var(--font-weight-bold);
1182
1182
  font-family: Averta;
1183
1183
  src: url("../fonts/TW-Averta-Bold.woff2") format("woff2"), url("../fonts/TW-Averta-Bold.woff") format("woff");
@@ -2147,7 +2147,69 @@ h6,
2147
2147
  line-height: 140%;
2148
2148
  }
2149
2149
 
2150
- /* DEPRECATED: use .np-text-title-body instead */
2150
+ .body-1,
2151
+ .body-2,
2152
+ .body-3,
2153
+ .label,
2154
+ .value,
2155
+ .np-text-body-default {
2156
+ font-weight: 400;
2157
+ font-weight: var(--font-weight-regular);
2158
+ line-height: 1.5;
2159
+ line-height: var(--line-height-body);
2160
+ }
2161
+
2162
+ .body-1,
2163
+ .np-text-body-default,
2164
+ .np-text-body-default-bold {
2165
+ font-size: 1rem;
2166
+ font-size: var(--font-size-16);
2167
+ }
2168
+
2169
+ .np-text-body-default-bold {
2170
+ font-weight: 700;
2171
+ font-weight: var(--font-weight-bold);
2172
+ }
2173
+
2174
+ .body-2 {
2175
+ font-size: 0.875rem;
2176
+ font-size: var(--font-size-14);
2177
+ }
2178
+
2179
+ .body-3 {
2180
+ font-size: 0.75rem;
2181
+ font-size: var(--font-size-12);
2182
+ }
2183
+
2184
+ .control-1,
2185
+ .control-2 {
2186
+ color: #0097c7;
2187
+ color: var(--color-content-accent);
2188
+ font-weight: 600;
2189
+ font-weight: var(--font-weight-semi-bold);
2190
+ line-height: 1.2;
2191
+ line-height: var(--line-height-title);
2192
+ }
2193
+
2194
+ .control-1 {
2195
+ font-size: 1rem;
2196
+ font-size: var(--font-size-16);
2197
+ }
2198
+
2199
+ .control-2 {
2200
+ font-size: 0.875rem;
2201
+ font-size: var(--font-size-14);
2202
+ }
2203
+
2204
+ .label {
2205
+ font-size: 0.875rem;
2206
+ font-size: var(--font-size-14);
2207
+ }
2208
+
2209
+ .value {
2210
+ font-size: 1rem;
2211
+ font-size: var(--font-size-16);
2212
+ }
2151
2213
 
2152
2214
  .lead {
2153
2215
  margin-bottom: 24px;
@@ -2158,9 +2220,22 @@ h6,
2158
2220
  line-height: var(--line-height-title);
2159
2221
  }
2160
2222
 
2223
+ small,
2224
+ .small,
2225
+ .body-2 {
2226
+ font-size: 0.875rem;
2227
+ font-size: var(--font-size-14);
2228
+ line-height: 1.5;
2229
+ line-height: var(--line-height-body);
2230
+ }
2231
+
2161
2232
  .tiny {
2162
2233
  color: #5d7079;
2163
2234
  color: var(--color-content-secondary);
2235
+ font-size: 0.75rem;
2236
+ font-size: var(--font-size-12);
2237
+ line-height: 1.5;
2238
+ line-height: var(--line-height-body);
2164
2239
  }
2165
2240
 
2166
2241
  /* DEPRECATED: use .np-text-body-default instead */
@@ -2174,7 +2249,6 @@ h6,
2174
2249
  .small,
2175
2250
  .tiny,
2176
2251
  body,
2177
- small,
2178
2252
  .np-text-body-default {
2179
2253
  font-size: 0.875rem;
2180
2254
  font-size: var(--font-size-14);
@@ -2190,14 +2264,17 @@ small,
2190
2264
 
2191
2265
  .control-2,
2192
2266
  .np-text-body-default-bold {
2193
- font-size: 0.875rem;
2194
- font-size: var(--font-size-14);
2195
2267
  line-height: 155%;
2196
2268
  letter-spacing: -0.006em;
2197
2269
  font-weight: 600;
2198
2270
  font-weight: var(--font-weight-semi-bold);
2199
2271
  }
2200
2272
 
2273
+ .np-text-body-default-bold {
2274
+ font-size: 0.875rem;
2275
+ font-size: var(--font-size-14);
2276
+ }
2277
+
2201
2278
  /* DEPRECATED: use .np-text-body-large instead */
2202
2279
 
2203
2280
  /* stylelint-disable-next-line selector-list-comma-newline-after */
@@ -2332,7 +2409,7 @@ a,
2332
2409
  font-size: 64px;
2333
2410
  font-size: var(--size-64);
2334
2411
  line-height: normal;
2335
- font-weight: 800;
2412
+ font-weight: 700;
2336
2413
  font-weight: var(--font-weight-bold);
2337
2414
  }
2338
2415
 
@@ -2340,7 +2417,7 @@ a,
2340
2417
  font-size: 52px;
2341
2418
  font-size: var(--size-52);
2342
2419
  line-height: normal;
2343
- font-weight: 800;
2420
+ font-weight: 700;
2344
2421
  font-weight: var(--font-weight-bold);
2345
2422
  }
2346
2423
 
@@ -2348,7 +2425,7 @@ a,
2348
2425
  font-size: 40px;
2349
2426
  font-size: var(--size-40);
2350
2427
  line-height: normal;
2351
- font-weight: 800;
2428
+ font-weight: 700;
2352
2429
  font-weight: var(--font-weight-bold);
2353
2430
  }
2354
2431
 
@@ -2727,8 +2804,6 @@ a,
2727
2804
  font-weight: var(--font-weight-semi-bold);
2728
2805
  }
2729
2806
 
2730
- /* DEPRECATED: use `.np-text-display-*` instead */
2731
-
2732
2807
  .display-1 {
2733
2808
  margin-bottom: 24px;
2734
2809
  margin-bottom: var(--size-24);
@@ -2744,8 +2819,6 @@ a,
2744
2819
  }
2745
2820
  }
2746
2821
 
2747
- /* DEPRECATED: use `.np-text-display-*` instead */
2748
-
2749
2822
  .display-2 {
2750
2823
  margin-bottom: 24px;
2751
2824
  margin-bottom: var(--size-24);
@@ -2761,8 +2834,6 @@ a,
2761
2834
  }
2762
2835
  }
2763
2836
 
2764
- /* DEPRECATED: use `.np-text-display-*` instead */
2765
-
2766
2837
  .display-3 {
2767
2838
  margin-bottom: 8px;
2768
2839
  margin-bottom: var(--size-8);
@@ -2777,8 +2848,6 @@ a,
2777
2848
  }
2778
2849
  }
2779
2850
 
2780
- /* DEPRECATED: use `.np-text-display-*` instead */
2781
-
2782
2851
  .display-4 {
2783
2852
  margin-bottom: 4px;
2784
2853
  margin-bottom: var(--size-4);
@@ -2794,8 +2863,6 @@ a,
2794
2863
  }
2795
2864
  }
2796
2865
 
2797
- /* DEPRECATED: use `.np-text-display-*` instead */
2798
-
2799
2866
  .display-5 {
2800
2867
  margin-bottom: 4px;
2801
2868
  margin-bottom: var(--size-4);
@@ -3032,7 +3099,7 @@ kbd {
3032
3099
 
3033
3100
  kbd kbd {
3034
3101
  padding: 0;
3035
- font-weight: 800;
3102
+ font-weight: 700;
3036
3103
  font-weight: var(--font-weight-bold);
3037
3104
  font-size: 100%;
3038
3105
  }
@@ -7534,6 +7601,10 @@ html:not([dir="rtl"]) .btn-group .btn + .btn-primary {
7534
7601
  }
7535
7602
 
7536
7603
  .btn-group .secondary {
7604
+ line-height: 1.5;
7605
+ line-height: var(--line-height-body);
7606
+ font-size: 1rem;
7607
+ font-size: var(--font-size-16);
7537
7608
  font-size: 0.875rem;
7538
7609
  font-size: var(--font-size-14);
7539
7610
  line-height: 155%;
@@ -7909,6 +7980,10 @@ fieldset[disabled] .checkbox label {
7909
7980
  border-radius: 3px;
7910
7981
  font-size: 14px;
7911
7982
  line-height: 24px;
7983
+ line-height: 1.5;
7984
+ line-height: var(--line-height-body);
7985
+ font-size: 1rem;
7986
+ font-size: var(--font-size-16);
7912
7987
  font-size: 0.875rem;
7913
7988
  font-size: var(--font-size-14);
7914
7989
  line-height: 155%;
@@ -10268,6 +10343,10 @@ select[multiple].input-group-lg > .input-group-btn .btn {
10268
10343
  border-radius: 3px;
10269
10344
  font-size: 14px;
10270
10345
  line-height: 24px;
10346
+ line-height: 1.5;
10347
+ line-height: var(--line-height-body);
10348
+ font-size: 1rem;
10349
+ font-size: var(--font-size-16);
10271
10350
  font-size: 0.875rem;
10272
10351
  font-size: var(--font-size-14);
10273
10352
  line-height: 155%;
@@ -11274,6 +11353,10 @@ li > a > .currency-flag:first-child {
11274
11353
  }
11275
11354
 
11276
11355
  .decision__content {
11356
+ line-height: 1.5;
11357
+ line-height: var(--line-height-body);
11358
+ font-size: 1rem;
11359
+ font-size: var(--font-size-16);
11277
11360
  font-size: 0.875rem;
11278
11361
  font-size: var(--font-size-14);
11279
11362
  line-height: 155%;
@@ -11375,6 +11458,10 @@ li > a > .currency-flag:first-child {
11375
11458
  padding: 8px ;
11376
11459
  margin: 0;
11377
11460
  list-style: none;
11461
+ line-height: 1.5;
11462
+ line-height: var(--line-height-body);
11463
+ font-size: 1rem;
11464
+ font-size: var(--font-size-16);
11378
11465
  font-size: 0.875rem;
11379
11466
  font-size: var(--font-size-14);
11380
11467
  line-height: 155%;
@@ -11455,6 +11542,10 @@ li > a > .currency-flag:first-child {
11455
11542
  padding: var(--dropdown-link-padding);
11456
11543
  clear: both;
11457
11544
  border-radius: 3px;
11545
+ line-height: 1.5;
11546
+ line-height: var(--line-height-body);
11547
+ font-size: 1rem;
11548
+ font-size: var(--font-size-16);
11458
11549
  font-size: 0.875rem;
11459
11550
  font-size: var(--font-size-14);
11460
11551
  line-height: 155%;
@@ -12878,6 +12969,10 @@ li > a > .currency-flag:first-child {
12878
12969
  .footer {
12879
12970
  background-color: rgba(134,167,189,0.10196);
12880
12971
  background-color: var(--color-background-neutral);
12972
+ line-height: 1.5;
12973
+ line-height: var(--line-height-body);
12974
+ font-size: 1rem;
12975
+ font-size: var(--font-size-16);
12881
12976
  font-size: 0.875rem;
12882
12977
  font-size: var(--font-size-14);
12883
12978
  line-height: 155%;
@@ -12912,6 +13007,10 @@ li > a > .currency-flag:first-child {
12912
13007
  .footer .link-icon {
12913
13008
  color: #5d7079;
12914
13009
  color: var(--color-content-secondary);
13010
+ line-height: 1.5;
13011
+ line-height: var(--line-height-body);
13012
+ font-size: 1rem;
13013
+ font-size: var(--font-size-16);
12915
13014
  font-size: 0.875rem;
12916
13015
  font-size: var(--font-size-14);
12917
13016
  line-height: 155%;
@@ -17082,7 +17181,7 @@ html:not([dir="rtl"]) .nav-stacked > li.active > a:focus {
17082
17181
  color: #0077a5;
17083
17182
  color: var(--color-content-accent-active);
17084
17183
  background-color: transparent;
17085
- font-weight: 800;
17184
+ font-weight: 700;
17086
17185
  font-weight: var(--font-weight-bold);
17087
17186
  }
17088
17187
 
@@ -17339,7 +17438,7 @@ html:not([dir="rtl"]) .nav-stacked > li.active > a:focus {
17339
17438
 
17340
17439
  .navbar-default .navbar-nav > .active > a,
17341
17440
  .navbar-default .navbar-nav > .active > .dropdown-toggle {
17342
- font-weight: 800;
17441
+ font-weight: 700;
17343
17442
  font-weight: var(--font-weight-bold);
17344
17443
  }
17345
17444
 
@@ -17377,7 +17476,7 @@ html:not([dir="rtl"]) .nav-stacked > li.active > a:focus {
17377
17476
  background-color: transparent;
17378
17477
  }
17379
17478
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a {
17380
- font-weight: 800;
17479
+ font-weight: 700;
17381
17480
  font-weight: var(--font-weight-bold);
17382
17481
  }
17383
17482
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
@@ -17457,7 +17556,7 @@ html:not([dir="rtl"]) .nav-stacked > li.active > a:focus {
17457
17556
  .navbar-inverse .navbar-nav > .active > .dropdown-toggle {
17458
17557
  color: #0077a5;
17459
17558
  color: var(--color-content-accent-active);
17460
- font-weight: 800;
17559
+ font-weight: 700;
17461
17560
  font-weight: var(--font-weight-bold);
17462
17561
  }
17463
17562
 
@@ -17789,7 +17888,7 @@ html:not([dir="rtl"]) .nav-stacked > li.active > a:focus {
17789
17888
  line-height: var(--line-height-title);
17790
17889
  margin-top: 12px;
17791
17890
  margin-bottom: 12px;
17792
- font-weight: 800;
17891
+ font-weight: 700;
17793
17892
  font-weight: var(--font-weight-bold);
17794
17893
  }
17795
17894
 
@@ -19415,6 +19514,10 @@ html:not([dir="rtl"]) .panel > .table-responsive > .table-bordered > tfoot > tr
19415
19514
  word-break: normal;
19416
19515
  word-spacing: normal;
19417
19516
  word-wrap: normal;
19517
+ line-height: 1.5;
19518
+ line-height: var(--line-height-body);
19519
+ font-size: 1rem;
19520
+ font-size: var(--font-size-16);
19418
19521
  font-size: 0.875rem;
19419
19522
  font-size: var(--font-size-14);
19420
19523
  line-height: 155%;
@@ -19838,6 +19941,10 @@ html:not([dir="rtl"]) .panel > .table-responsive > .table-bordered > tfoot > tr
19838
19941
 
19839
19942
  .popover-content {
19840
19943
  padding: 0;
19944
+ line-height: 1.5;
19945
+ line-height: var(--line-height-body);
19946
+ font-size: 1rem;
19947
+ font-size: var(--font-size-16);
19841
19948
  font-size: 0.875rem;
19842
19949
  font-size: var(--font-size-14);
19843
19950
  line-height: 155%;
@@ -20663,7 +20770,7 @@ button.popover-close {
20663
20770
  height: 100%;
20664
20771
  font-size: 1rem;
20665
20772
  font-size: var(--font-size-16);
20666
- font-weight: 800;
20773
+ font-weight: 700;
20667
20774
  font-weight: var(--font-weight-bold);
20668
20775
  color: #fff;
20669
20776
  text-align: right;
@@ -22232,7 +22339,7 @@ table col[class*="col-"] {
22232
22339
  }
22233
22340
  .table > .thead > ol > li {
22234
22341
  display: table-cell;
22235
- font-weight: 800;
22342
+ font-weight: 700;
22236
22343
  font-weight: var(--font-weight-bold);
22237
22344
  color: #37517e;
22238
22345
  color: var(--color-content-primary);
@@ -22387,6 +22494,10 @@ table col[class*="col-"] {
22387
22494
  }
22388
22495
 
22389
22496
  .tooltip-inner {
22497
+ line-height: 1.5;
22498
+ line-height: var(--line-height-body);
22499
+ font-size: 1rem;
22500
+ font-size: var(--font-size-16);
22390
22501
  font-size: 0.875rem;
22391
22502
  font-size: var(--font-size-14);
22392
22503
  line-height: 155%;
@@ -22638,7 +22749,7 @@ a.text-inverse:focus {
22638
22749
  }
22639
22750
 
22640
22751
  .font-weight-bold {
22641
- font-weight: 800 !important;
22752
+ font-weight: 700 !important;
22642
22753
  font-weight: var(--font-weight-bold) !important;
22643
22754
  }
22644
22755
 
@@ -60,6 +60,10 @@
60
60
  word-break: normal;
61
61
  word-spacing: normal;
62
62
  word-wrap: normal;
63
+ line-height: 1.5;
64
+ line-height: var(--line-height-body);
65
+ font-size: 1rem;
66
+ font-size: var(--font-size-16);
63
67
  font-size: 0.875rem;
64
68
  font-size: var(--font-size-14);
65
69
  line-height: 155%;
@@ -351,6 +355,10 @@
351
355
  margin-top: var(--size-8);
352
356
  }.popover-content {
353
357
  padding: 0;
358
+ line-height: 1.5;
359
+ line-height: var(--line-height-body);
360
+ font-size: 1rem;
361
+ font-size: var(--font-size-16);
354
362
  font-size: 0.875rem;
355
363
  font-size: var(--font-size-14);
356
364
  line-height: 155%;
@@ -14,7 +14,7 @@
14
14
  height: 100%;
15
15
  font-size: 1rem;
16
16
  font-size: var(--font-size-16);
17
- font-weight: 800;
17
+ font-weight: 700;
18
18
  font-weight: var(--font-weight-bold);
19
19
  color: #fff;
20
20
  text-align: right;
@@ -365,7 +365,7 @@ table col[class*="col-"] {
365
365
  }
366
366
  .table > .thead > ol > li {
367
367
  display: table-cell;
368
- font-weight: 800;
368
+ font-weight: 700;
369
369
  font-weight: var(--font-weight-bold);
370
370
  color: #37517e;
371
371
  color: var(--color-content-primary);
@@ -47,6 +47,10 @@
47
47
  margin-left: 0;
48
48
  margin-left: initial;
49
49
  }.tooltip-inner {
50
+ line-height: 1.5;
51
+ line-height: var(--line-height-body);
52
+ font-size: 1rem;
53
+ font-size: var(--font-size-16);
50
54
  font-size: 0.875rem;
51
55
  font-size: var(--font-size-14);
52
56
  line-height: 155%;
@@ -560,7 +560,7 @@ a.text-inverse:focus {
560
560
  font-weight: var(--font-weight-semi-bold) !important;
561
561
  }
562
562
  .font-weight-bold {
563
- font-weight: 800 !important;
563
+ font-weight: 700 !important;
564
564
  font-weight: var(--font-weight-bold) !important;
565
565
  }
566
566
  .gap-y-1 {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 06 Dec 2023 12:40:57 GMT
3
+ // Generated on Wed, 17 Jan 2024 13:14:10 GMT
4
4
 
5
5
  @color-dark-content-primary: #e2e6e8;
6
6
  @color-dark-content-secondary: #c9cbce;
@@ -213,13 +213,13 @@
213
213
  @font-weight-regular: 400;
214
214
  @font-weight-medium: 500;
215
215
  @font-weight-semi-bold: 600;
216
- @font-weight-bold: 800;
216
+ @font-weight-bold: 700;
217
217
  @font-weight-black: 900;
218
218
  @font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
219
219
  @font-family-display: 'Wise Sans', 'Inter', sans-serif;
220
220
 
221
221
  // Do not edit directly
222
- // Generated on Wed, 06 Dec 2023 12:40:57 GMT
222
+ // Generated on Wed, 17 Jan 2024 13:14:10 GMT
223
223
 
224
224
  @color-base-blue-light: #00b9ff;
225
225
  @color-base-blue-mid: #00a2dd;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 06 Dec 2023 12:40:57 GMT
3
+ * Generated on Wed, 17 Jan 2024 13:14:10 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -133,7 +133,7 @@
133
133
  --font-weight-regular: 400;
134
134
  --font-weight-medium: 500;
135
135
  --font-weight-semi-bold: 600;
136
- --font-weight-bold: 800;
136
+ --font-weight-bold: 700;
137
137
  --font-weight-black: 900;
138
138
  --font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
139
139
  --font-family-display: 'Wise Sans', 'Inter', sans-serif;
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-ae1eca8",
4
+ "version": "0.0.0-experimental-c6db9e8",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -23,7 +23,7 @@
23
23
  "scripts"
24
24
  ],
25
25
  "dependencies": {
26
- "@transferwise/neptune-tokens": "^8.8.0"
26
+ "@transferwise/neptune-tokens": "^8.8.1"
27
27
  },
28
28
  "devDependencies": {
29
29
  "modern-normalize": "^2.0.0",
@@ -97,16 +97,74 @@ h6,
97
97
  line-height: 140%;
98
98
  }
99
99
 
100
- /* DEPRECATED: use .np-text-title-body instead */
100
+ .body-1,
101
+ .body-2,
102
+ .body-3,
103
+ .label,
104
+ .value,
105
+ .np-text-body-default {
106
+ font-weight: var(--font-weight-regular);
107
+ line-height: var(--line-height-body);
108
+ }
109
+
110
+ .body-1,
111
+ .np-text-body-default,
112
+ .np-text-body-default-bold {
113
+ font-size: var(--font-size-16);
114
+ }
115
+
116
+ .np-text-body-default-bold {
117
+ font-weight: var(--font-weight-bold);
118
+ }
119
+
120
+ .body-2 {
121
+ font-size: var(--font-size-14);
122
+ }
123
+
124
+ .body-3 {
125
+ font-size: var(--font-size-12);
126
+ }
127
+
128
+ .control-1,
129
+ .control-2 {
130
+ color: var(--color-content-accent);
131
+ font-weight: var(--font-weight-semi-bold);
132
+ line-height: var(--line-height-title);
133
+ }
134
+
135
+ .control-1 {
136
+ font-size: var(--font-size-16);
137
+ }
138
+
139
+ .control-2 {
140
+ font-size: var(--font-size-14);
141
+ }
142
+
143
+ .label {
144
+ font-size: var(--font-size-14);
145
+ }
146
+
147
+ .value {
148
+ font-size: var(--font-size-16);
149
+ }
150
+
101
151
  .lead {
102
152
  margin-bottom: var(--size-24);
103
153
  font-size: var(--font-size-20);
104
154
  line-height: var(--line-height-title);
105
155
  }
106
156
 
107
- // DEPRECATED: use .np-text-body-default instead
157
+ small,
158
+ .small,
159
+ .body-2 {
160
+ font-size: var(--font-size-14);
161
+ line-height: var(--line-height-body);
162
+ }
163
+
108
164
  .tiny {
109
165
  color: var(--color-content-secondary);
166
+ font-size: var(--font-size-12);
167
+ line-height: var(--line-height-body);
110
168
  }
111
169
 
112
170
  // BODY
@@ -114,7 +172,7 @@ h6,
114
172
  /* DEPRECATED: use .np-text-body-default instead */
115
173
  /* stylelint-disable-next-line selector-list-comma-newline-after */
116
174
  .body-2, .body-3, .label, .control-label, .small, .tiny,
117
- body, small,
175
+ body,
118
176
  .np-text-body-default {
119
177
  font-size: var(--font-size-14);
120
178
  line-height: 155%;
@@ -126,12 +184,15 @@ body, small,
126
184
  /* stylelint-disable-next-line selector-list-comma-newline-after */
127
185
  .control-2,
128
186
  .np-text-body-default-bold {
129
- font-size: var(--font-size-14);
130
187
  line-height: 155%;
131
188
  letter-spacing: -0.006em;
132
189
  font-weight: var(--font-weight-semi-bold);
133
190
  }
134
191
 
192
+ .np-text-body-default-bold {
193
+ font-size: var(--font-size-14);
194
+ }
195
+
135
196
  /* DEPRECATED: use .np-text-body-large instead */
136
197
  /* stylelint-disable-next-line selector-list-comma-newline-after */
137
198
  .body-1, .value,
@@ -374,7 +435,6 @@ a,
374
435
  }
375
436
  }
376
437
 
377
- /* DEPRECATED: use `.np-text-display-*` instead */
378
438
  .display-1 {
379
439
  margin-bottom: var(--size-24);
380
440
  /* stylelint-disable-next-line number-max-precision */
@@ -386,7 +446,6 @@ a,
386
446
  }
387
447
  }
388
448
 
389
- /* DEPRECATED: use `.np-text-display-*` instead */
390
449
  .display-2 {
391
450
  margin-bottom: var(--size-24);
392
451
  /* stylelint-disable-next-line number-max-precision */
@@ -398,7 +457,6 @@ a,
398
457
  }
399
458
  }
400
459
 
401
- /* DEPRECATED: use `.np-text-display-*` instead */
402
460
  .display-3 {
403
461
  margin-bottom: var(--size-8);
404
462
  font-size: 2.8rem;
@@ -409,7 +467,6 @@ a,
409
467
  }
410
468
  }
411
469
 
412
- /* DEPRECATED: use `.np-text-display-*` instead */
413
470
  .display-4 {
414
471
  margin-bottom: var(--size-4);
415
472
  /* stylelint-disable-next-line number-max-precision */
@@ -421,7 +478,6 @@ a,
421
478
  }
422
479
  }
423
480
 
424
- /* DEPRECATED: use `.np-text-display-*` instead */
425
481
  .display-5 {
426
482
  margin-bottom: var(--size-4);
427
483
  /* stylelint-disable-next-line number-max-precision */