@transferwise/neptune-css 14.3.33 → 14.3.35

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@transferwise/neptune-css",
3
3
  "description": "Neptune CSS library",
4
- "version": "14.3.33",
4
+ "version": "14.3.35",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -53,5 +53,5 @@
53
53
  "bin": {
54
54
  "neptune-css-upgrade-util": "scripts/neptune-css-upgrader.js"
55
55
  },
56
- "gitHead": "91764c18c2d91c4d16da4e7b1a5e11f92b86ee04"
56
+ "gitHead": "5fa1c855678a4b51d18f3ca3979e08ef7fbb5e92"
57
57
  }
@@ -250,23 +250,20 @@
250
250
  color: var(--color-content-tertiary) !important;
251
251
  }
252
252
 
253
+ // @deprecated: we no longer have "colored dot" design feature in new brand
253
254
  .colored-dot {
254
255
  &::after {
255
256
  content: ".";
256
257
  color: var(--color-content-accent);
257
258
 
258
259
  .np-theme-personal & {
259
- color: var(--color-content-primary);
260
+ content: none;
260
261
  }
261
262
  }
262
263
 
263
264
  &--green {
264
265
  &::after {
265
266
  color: var(--color-content-positive);
266
-
267
- .np-theme-personal {
268
- color: var(--color-sentiment-positive);
269
- }
270
267
  }
271
268
  }
272
269
  }
@@ -279,21 +279,20 @@
279
279
  .np-checkbox__text,
280
280
  .np-radio__text {
281
281
  display: block;
282
- font-weight: var(--font-weight-regular);
283
- font-size: var(--font-size-16);
284
- line-height: var(--line-height-20);
285
-
286
- // Account for our funky font baseline
287
- padding-top: 3px;
288
-
289
- .np-theme-personal & {
290
- padding-top: 1px; // `0` would look off due to checkbox misalignment
291
- }
292
-
293
- span,
294
- small {
295
- font-size: var(--font-size-14);
296
- line-height: var(--line-height-body);
282
+ padding-top: 1px; // `0` would look off due to checkbox misalignment
283
+
284
+ :not(.np-theme-personal) & {
285
+ font-weight: var(--font-weight-regular);
286
+ font-size: var(--font-size-16);
287
+ line-height: var(--line-height-20);
288
+ // Account for our funky font baseline
289
+ padding-top: 3px;
290
+
291
+ span,
292
+ small {
293
+ font-size: var(--font-size-14);
294
+ line-height: var(--line-height-body);
295
+ }
297
296
  }
298
297
  }
299
298