@transferwise/neptune-css 12.4.2 → 12.4.3-beta-90fe61457a.0

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.
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@transferwise/neptune-css",
3
3
  "description": "Neptune CSS library",
4
- "version": "12.4.2",
4
+ "version": "12.4.3-beta-90fe61457a.0+90fe61457a",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -60,5 +60,5 @@
60
60
  "bin": {
61
61
  "neptune-css-upgrade-util": "scripts/neptune-css-upgrader.js"
62
62
  },
63
- "gitHead": "6b5db4e79fc57c24a9d6abca0cf823b5a244be61"
63
+ "gitHead": "90fe61457ae7901bdba5e1fcf8288a24c424b1db"
64
64
  }
Binary file
Binary file
Binary file
@@ -1,26 +1,27 @@
1
1
  @font-face {
2
2
  font-weight: var(--font-weight-regular);
3
- font-family: 'Averta';
4
- src:
5
- url('../fonts/TW-Averta-Regular.woff2') format('woff2'),
6
- url('../fonts/TW-Averta-Regular.woff') format('woff');
3
+ font-family: 'Inter';
4
+ src: url('../fonts/Inter-Regular.ttf') format('truetype');
7
5
  font-display: swap;
8
6
  }
9
7
 
10
8
  @font-face {
11
9
  font-weight: var(--font-weight-semi-bold);
12
- font-family: 'Averta';
13
- src:
14
- url('../fonts/TW-Averta-Semibold.woff2') format('woff2'),
15
- url('../fonts/TW-Averta-Semibold.woff') format('woff');
10
+ font-family: 'Inter';
11
+ src: url('../fonts/Inter-SemiBold.ttf') format('truetype');
16
12
  font-display: swap;
17
13
  }
18
14
 
19
15
  @font-face {
20
16
  font-weight: var(--font-weight-bold);
21
- font-family: 'Averta';
22
- src:
23
- url('../fonts/TW-Averta-Bold.woff2') format('woff2'),
24
- url('../fonts/TW-Averta-Bold.woff') format('woff');
17
+ font-family: 'Inter';
18
+ src: url('../fonts/Inter-Bold.ttf') format('truetype');
19
+ font-display: swap;
20
+ }
21
+
22
+ @font-face {
23
+ font-weight: var(--font-weight-bold);
24
+ font-family: 'Parafina';
25
+ src: url('../fonts/ParafinaTrial-BoldS.otf') format('opentype');
25
26
  font-display: swap;
26
27
  }
@@ -229,6 +229,9 @@
229
229
  .display-3,
230
230
  .display-4,
231
231
  .display-5 {
232
+ text-transform: uppercase;
233
+ /* stylelint-disable-next-line csstools/value-no-unknown-custom-properties */
234
+ font-family: var(--font-family-display);
232
235
  font-weight: var(--font-weight-bold);
233
236
  line-height: var(--line-height-title);
234
237
  }
@@ -41,6 +41,9 @@ h6,
41
41
  h1,
42
42
  .h1,
43
43
  .title-1 {
44
+ text-transform: uppercase;
45
+ /* stylelint-disable-next-line csstools/value-no-unknown-custom-properties */
46
+ font-family: var(--font-family-display);
44
47
  margin-bottom: var(--size-8);
45
48
  font-size: var(--font-size-32);
46
49
  font-weight: var(--font-weight-bold);
@@ -49,6 +52,9 @@ h1,
49
52
  h2,
50
53
  .h2,
51
54
  .title-2 {
55
+ text-transform: uppercase;
56
+ /* stylelint-disable-next-line csstools/value-no-unknown-custom-properties */
57
+ font-family: var(--font-family-display);
52
58
  margin-bottom: var(--size-4);
53
59
  font-size: var(--font-size-26);
54
60
  font-weight: var(--font-weight-bold);
@@ -138,7 +138,7 @@
138
138
  // Chrome doesn't play well with our current font Averta. The result is that some
139
139
  // character with some extra accents gets cropped when inserted inside inputs.
140
140
  .input-height-adjust(@input-height) {
141
- height: auto;
142
- min-height: @input-height;
143
- max-height: @input-height;
141
+ // height: auto;
142
+ // min-height: @input-height;
143
+ // max-height: @input-height;
144
144
  }
@@ -1,4 +1,16 @@
1
+ /* stylelint-disable no-duplicate-selectors */
1
2
  @import '@transferwise/neptune-tokens/tokens.css';
3
+
4
+ // overrides neptune token
5
+ :root {
6
+ --font-family-regular: 'Inter';
7
+ }
8
+
9
+ // new tokens
10
+ :root {
11
+ --font-family-display: 'Parafina';
12
+ }
13
+
2
14
  @import './neptune-core.less';
3
15
  @import './neptune-addons.less';
4
16