@transferwise/neptune-css 14.0.11 → 14.0.12

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.
@@ -4,7 +4,7 @@
4
4
  If the token you want isn't available there, raise an issue in @transferwise/neptune-tokens.
5
5
  */
6
6
  :root {
7
- --border-radius: 3px;
7
+ --border-radius: var(--radius-small);
8
8
  --spacer: 8px;
9
9
  --space-4: 4px;
10
10
  --space-8: 8px;
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.0.11",
4
+ "version": "14.0.12",
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": "8ab8727404c5d391d27cc0438e5306d468e5f306"
56
+ "gitHead": "0ca1bbb91252fdab65ea35d42c56a9b0f32f1dc5"
57
57
  }
@@ -45,7 +45,7 @@
45
45
  }
46
46
 
47
47
  .alert-detach.arrow {
48
- border-radius: 3px;
48
+ border-radius: var(--radius-small);
49
49
  }
50
50
 
51
51
  // Field validation alerts
@@ -11,6 +11,8 @@
11
11
  }
12
12
 
13
13
  :root {
14
+ --radius-small: 3px;
15
+ --radius-medium: 10px;
14
16
  // page default font size should be set in absolute units (pixels)
15
17
  --base-font-size: 16px;
16
18
  --font-family-regular: Averta, Avenir W02, Avenir, Helvetica, Arial, sans-serif !important;
@@ -32,6 +34,8 @@
32
34
  .np-theme-navy {
33
35
  --font-family-regular: Averta, Avenir W02, Avenir, Helvetica, Arial, sans-serif !important;
34
36
  line-height: var(--line-height-body);
37
+ --radius-small: 3px !important;
38
+ --radius-medium: 10px !important;
35
39
  }
36
40
 
37
41
  .np-theme-personal {
@@ -420,7 +424,7 @@ video {
420
424
  }
421
425
 
422
426
  .img-rounded {
423
- border-radius: 3px;
427
+ border-radius: var(--radius-small);
424
428
  }
425
429
 
426
430
  .img-circle {
@@ -523,7 +523,7 @@ kbd,
523
523
  samp {
524
524
  font-size: 1em;
525
525
  font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
526
- border-radius: 3px;
526
+ border-radius: var(--radius-small);
527
527
  }
528
528
 
529
529
  pre {
@@ -532,7 +532,7 @@ input[type='checkbox'] {
532
532
  margin-bottom: 4px;
533
533
  border-width: 0;
534
534
  border-style: solid;
535
- border-radius: 3px;
535
+ border-radius: var(--radius-small);
536
536
  padding: 4px 16px 3px;
537
537
  transition: border-color 0.15s ease-in-out, background-color 0.15s ease-in-out;
538
538
 
@@ -4,7 +4,7 @@
4
4
  If the token you want isn't available there, raise an issue in @transferwise/neptune-tokens.
5
5
  */
6
6
  :root {
7
- --border-radius: 3px;
7
+ --border-radius: var(--radius-small);
8
8
  --spacer: 8px;
9
9
  --space-4: 4px;
10
10
  --space-8: 8px;