@transferwise/neptune-css 0.0.0-experimental-4a6489f → 0.0.0-experimental-90b511a

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.
@@ -81,16 +81,6 @@
81
81
  font-display: swap;
82
82
  src: url("../fonts/WiseSans-Heavy.woff2") format("woff2");
83
83
  }
84
- /**
85
- * 🚨🚨🚨 ONLY FOR TESTING. BE REMOVED BEFORE MERGING 🚨🚨🚨
86
- */
87
- @font-face {
88
- font-family: 'Wise Sans';
89
- font-style: normal;
90
- font-display: swap;
91
- src: url("../fonts/WiseSansJP-Heavy.woff2") format('woff2');
92
- unicode-range: U+3000-303F, U+3040-309F, U+30A0-30FF, U+FF00-FFEF, U+4E00-9FAF, U+2605, U+2606, U+2190-2195, U+203B;
93
- }
94
84
  /* stylelint-disable selector-max-empty-lines */
95
85
  /*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
96
86
  /*
@@ -1100,7 +1090,8 @@ a,
1100
1090
  .np-text-display-large,
1101
1091
  .np-text-display-medium,
1102
1092
  .np-text-display-small {
1103
- font-family: "Wise Sans", Inter, sans-serif;
1093
+ font-family: 'Wise Sans', 'Inter', sans-serif;
1094
+ font-family: var(--font-family-display);
1104
1095
  font-synthesis: none;
1105
1096
  }
1106
1097
  :lang(ja) .display-1,
@@ -2334,18 +2334,6 @@
2334
2334
  src: url("../fonts/WiseSans-Heavy.woff2") format("woff2");
2335
2335
  }
2336
2336
 
2337
- /**
2338
- * 🚨🚨🚨 ONLY FOR TESTING. BE REMOVED BEFORE MERGING 🚨🚨🚨
2339
- */
2340
-
2341
- @font-face {
2342
- font-family: 'Wise Sans';
2343
- font-style: normal;
2344
- font-display: swap;
2345
- src: url("../fonts/WiseSansJP-Heavy.woff2") format('woff2');
2346
- unicode-range: U+3000-303F, U+3040-309F, U+30A0-30FF, U+FF00-FFEF, U+4E00-9FAF, U+2605, U+2606, U+2190-2195, U+203B;
2347
- }
2348
-
2349
2337
  /* stylelint-disable selector-max-empty-lines */
2350
2338
 
2351
2339
  /*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
@@ -3504,7 +3492,8 @@ a,
3504
3492
  .np-text-display-large,
3505
3493
  .np-text-display-medium,
3506
3494
  .np-text-display-small {
3507
- font-family: "Wise Sans", Inter, sans-serif;
3495
+ font-family: 'Wise Sans', 'Inter', sans-serif;
3496
+ font-family: var(--font-family-display);
3508
3497
  font-synthesis: none;
3509
3498
  }
3510
3499
 
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-4a6489f",
4
+ "version": "0.0.0-experimental-90b511a",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -95,16 +95,3 @@
95
95
  font-display: swap;
96
96
  src: url("../fonts/WiseSans-Heavy.woff2") format("woff2");
97
97
  }
98
-
99
- /**
100
- * 🚨🚨🚨 ONLY FOR TESTING. BE REMOVED BEFORE MERGING 🚨🚨🚨
101
- */
102
- @font-face {
103
- font-family: 'Wise Sans';
104
- font-style: normal;
105
- font-display: swap;
106
- src: url('../fonts/WiseSansJP-Heavy.woff2') format('woff2');
107
- unicode-range:
108
- U+3000-303F, U+3040-309F, U+30A0-30FF, U+FF00-FFEF, U+4E00-9FAF, U+2605,
109
- U+2606, U+2190-2195, U+203B;
110
- }
@@ -8,17 +8,7 @@
8
8
 
9
9
  /* DEPRECATED: use .np-text-*-title instead */
10
10
  /* stylelint-disable-next-line selector-list-comma-newline-after */
11
- .h1,
12
- .h2,
13
- .h3,
14
- .h4,
15
- .h5,
16
- .h6,
17
- .title-1,
18
- .title-2,
19
- .title-3,
20
- .title-4,
21
- .title-5,
11
+ .h1, .h2, .h3, .h4, .h5, .h6, .title-1, .title-2, .title-3, .title-4, .title-5,
22
12
  h1,
23
13
  h2,
24
14
  h3,
@@ -124,12 +114,8 @@ h6,
124
114
 
125
115
  /* DEPRECATED: use .np-text-body-default instead */
126
116
  /* stylelint-disable-next-line selector-list-comma-newline-after */
127
- .body-2,
128
- .body-3,
129
- .small,
130
- .tiny,
131
- body,
132
- small,
117
+ .body-2, .body-3, .small, .tiny,
118
+ body, small,
133
119
  .np-text-body-default {
134
120
  font-size: var(--font-size-14);
135
121
  line-height: 155%;
@@ -153,8 +139,7 @@ small,
153
139
 
154
140
  /* DEPRECATED: use .np-text-body-large instead */
155
141
  /* stylelint-disable-next-line selector-list-comma-newline-after */
156
- .body-1,
157
- .value,
142
+ .body-1, .value,
158
143
  .np-text-body-large {
159
144
  font-weight: var(--font-weight-regular);
160
145
  font-size: var(--font-size-16);
@@ -219,7 +204,7 @@ a,
219
204
  .np-text-display-large,
220
205
  .np-text-display-medium,
221
206
  .np-text-display-small {
222
- font-family: "Wise Sans", Inter, sans-serif;
207
+ font-family: var(--font-family-display);
223
208
  font-synthesis: none;
224
209
 
225
210
  :lang(ja) &,
Binary file
Binary file