@transferwise/neptune-tokens 7.0.0 → 8.0.0-next.2
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/.releaserc.json +40 -0
- package/colors-base.css +1 -1
- package/colors-base.less +1 -1
- package/package.json +14 -3
- package/themes/dark/tokens.css +30 -3
- package/themes/dark/tokens.less +30 -3
- package/themes/light/tokens.css +30 -3
- package/themes/light/tokens.less +30 -3
- package/themes/navy/tokens.css +30 -3
- package/themes/navy/tokens.less +30 -3
- package/tokens.css +30 -3
- package/tokens.less +30 -3
- package/CHANGELOG.md +0 -44
package/.releaserc.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"branches": [
|
|
3
|
+
{
|
|
4
|
+
"name": "main"
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
"name": "next",
|
|
8
|
+
"prerelease": true
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"debug": "true",
|
|
12
|
+
"plugins": [
|
|
13
|
+
"@semantic-release/commit-analyzer",
|
|
14
|
+
"@semantic-release/release-notes-generator",
|
|
15
|
+
[
|
|
16
|
+
"@semantic-release/changelog",
|
|
17
|
+
{
|
|
18
|
+
"changelogFile": "CHANGELOG.md",
|
|
19
|
+
"changelogTitle":
|
|
20
|
+
"# Change Log\n\nAll notable changes to this project will be documented in this file.\nSee [Conventional Commits](https://conventionalcommits.org) for commit guidelines.\n"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
[
|
|
24
|
+
"@semantic-release/npm",
|
|
25
|
+
{
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "restricted"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
[
|
|
32
|
+
"@semantic-release/git",
|
|
33
|
+
{
|
|
34
|
+
"assets": ["CHANGELOG.md", "package.json"],
|
|
35
|
+
"message": "chore(release): [skip ci]\n\n${nextRelease.version}\n\n${nextRelease.notes}"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"@semantic-release/github"
|
|
39
|
+
]
|
|
40
|
+
}
|
package/colors-base.css
CHANGED
package/colors-base.less
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@transferwise/neptune-tokens",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0-next.2",
|
|
4
4
|
"description": "Design tokens for the Neptune Design System",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"repository": {
|
|
8
|
+
"fullname": "transferwise/neptune-tokens",
|
|
8
9
|
"type": "git",
|
|
9
10
|
"url": "git+https://github.com/transferwise/neptune-tokens.git"
|
|
10
11
|
},
|
|
@@ -21,9 +22,19 @@
|
|
|
21
22
|
"postpublish": "git clean -fd"
|
|
22
23
|
},
|
|
23
24
|
"devDependencies": {
|
|
25
|
+
"@semantic-release/changelog": "^5.0.1",
|
|
26
|
+
"@semantic-release/git": "^9.0.1",
|
|
27
|
+
"@semantic-release/npm": "^7.1.3",
|
|
24
28
|
"chroma-js": "^2.1.2",
|
|
29
|
+
"cz-conventional-changelog": "3.3.0",
|
|
25
30
|
"prettier": "^2.3.2",
|
|
26
|
-
"
|
|
27
|
-
"release
|
|
31
|
+
"release-to-github-with-changelog": "^1.2.4",
|
|
32
|
+
"semantic-release": "^17.4.7",
|
|
33
|
+
"style-dictionary": "^3.0.1"
|
|
34
|
+
},
|
|
35
|
+
"config": {
|
|
36
|
+
"commitizen": {
|
|
37
|
+
"path": "./node_modules/cz-conventional-changelog"
|
|
38
|
+
}
|
|
28
39
|
}
|
|
29
40
|
}
|
package/themes/dark/tokens.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 13 Jul 2022 14:37:44 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
.np-theme-dark {
|
|
@@ -70,13 +70,40 @@
|
|
|
70
70
|
--font-size-14: 0.875rem;
|
|
71
71
|
--font-size-16: 1rem;
|
|
72
72
|
--font-size-20: 1.25rem;
|
|
73
|
+
--font-size-22: 1.375rem;
|
|
73
74
|
--font-size-26: 1.625rem;
|
|
75
|
+
--font-size-30: 1.75rem;
|
|
74
76
|
--font-size-32: 2rem;
|
|
77
|
+
--letter-spacing-size-1: 0.01;
|
|
78
|
+
--letter-spacing-size-2: 0.02;
|
|
79
|
+
--letter-spacing-size-0.5: 0.005;
|
|
80
|
+
--letter-spacing-size-1.25: 0.0125;
|
|
81
|
+
--letter-spacing-size-1.5: 0.015;
|
|
82
|
+
--letter-spacing-size-2.5: 0.025;
|
|
83
|
+
--letter-spacing-size-1: -0.01;
|
|
84
|
+
--letter-spacing-size-2: -0.02;
|
|
85
|
+
--letter-spacing-size-0.5: -0.005;
|
|
86
|
+
--letter-spacing-size-1.25: -0.0125;
|
|
87
|
+
--letter-spacing-size-1.5: -0.015;
|
|
88
|
+
--letter-spacing-size-2.5: -0.025;
|
|
89
|
+
--line-height-18: 1.125;
|
|
90
|
+
--line-height-22: 1.25;
|
|
91
|
+
--line-height-24: 1.5;
|
|
92
|
+
--line-height-28: 1.75;
|
|
93
|
+
--line-height-30: 1.375;
|
|
94
|
+
--line-height-32: 2;
|
|
95
|
+
--line-height-34: 2.125;
|
|
96
|
+
--line-height-36: 1.5;
|
|
97
|
+
--line-height-42: 1.625;
|
|
98
|
+
--line-height-48: 1.75;
|
|
75
99
|
--line-height-title: 1.2;
|
|
76
100
|
--line-height-body: 1.5;
|
|
77
101
|
--line-height-control: 1.2;
|
|
78
|
-
--font-weight-
|
|
102
|
+
--font-weight-light: 300;
|
|
103
|
+
--font-weight-regular: 400;
|
|
104
|
+
--font-weight-medium: 500;
|
|
79
105
|
--font-weight-semi-bold: 600;
|
|
80
106
|
--font-weight-bold: 800;
|
|
81
|
-
--font-
|
|
107
|
+
--font-weight-black: 900;
|
|
108
|
+
--font-family-regular: 'Inter', sans-serif, Helvetica, Arial, sans-serif;
|
|
82
109
|
}
|
package/themes/dark/tokens.less
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on
|
|
3
|
+
// Generated on Wed, 13 Jul 2022 14:37:44 GMT
|
|
4
4
|
|
|
5
5
|
@color-content-primary: #e2e6e8;
|
|
6
6
|
@color-content-secondary: #c9cbce;
|
|
@@ -68,12 +68,39 @@
|
|
|
68
68
|
@font-size-14: 0.875rem;
|
|
69
69
|
@font-size-16: 1rem;
|
|
70
70
|
@font-size-20: 1.25rem;
|
|
71
|
+
@font-size-22: 1.375rem;
|
|
71
72
|
@font-size-26: 1.625rem;
|
|
73
|
+
@font-size-30: 1.75rem;
|
|
72
74
|
@font-size-32: 2rem;
|
|
75
|
+
@letter-spacing-size-1: 0.01;
|
|
76
|
+
@letter-spacing-size-2: 0.02;
|
|
77
|
+
@letter-spacing-size-0.5: 0.005;
|
|
78
|
+
@letter-spacing-size-1.25: 0.0125;
|
|
79
|
+
@letter-spacing-size-1.5: 0.015;
|
|
80
|
+
@letter-spacing-size-2.5: 0.025;
|
|
81
|
+
@letter-spacing-size-1: -0.01;
|
|
82
|
+
@letter-spacing-size-2: -0.02;
|
|
83
|
+
@letter-spacing-size-0.5: -0.005;
|
|
84
|
+
@letter-spacing-size-1.25: -0.0125;
|
|
85
|
+
@letter-spacing-size-1.5: -0.015;
|
|
86
|
+
@letter-spacing-size-2.5: -0.025;
|
|
87
|
+
@line-height-18: 1.125;
|
|
88
|
+
@line-height-22: 1.25;
|
|
89
|
+
@line-height-24: 1.5;
|
|
90
|
+
@line-height-28: 1.75;
|
|
91
|
+
@line-height-30: 1.375;
|
|
92
|
+
@line-height-32: 2;
|
|
93
|
+
@line-height-34: 2.125;
|
|
94
|
+
@line-height-36: 1.5;
|
|
95
|
+
@line-height-42: 1.625;
|
|
96
|
+
@line-height-48: 1.75;
|
|
73
97
|
@line-height-title: 1.2;
|
|
74
98
|
@line-height-body: 1.5;
|
|
75
99
|
@line-height-control: 1.2;
|
|
76
|
-
@font-weight-
|
|
100
|
+
@font-weight-light: 300;
|
|
101
|
+
@font-weight-regular: 400;
|
|
102
|
+
@font-weight-medium: 500;
|
|
77
103
|
@font-weight-semi-bold: 600;
|
|
78
104
|
@font-weight-bold: 800;
|
|
79
|
-
@font-
|
|
105
|
+
@font-weight-black: 900;
|
|
106
|
+
@font-family-regular: 'Inter', sans-serif, Helvetica, Arial, sans-serif;
|
package/themes/light/tokens.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 13 Jul 2022 14:37:44 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
.np-theme-light {
|
|
@@ -70,13 +70,40 @@
|
|
|
70
70
|
--font-size-14: 0.875rem;
|
|
71
71
|
--font-size-16: 1rem;
|
|
72
72
|
--font-size-20: 1.25rem;
|
|
73
|
+
--font-size-22: 1.375rem;
|
|
73
74
|
--font-size-26: 1.625rem;
|
|
75
|
+
--font-size-30: 1.75rem;
|
|
74
76
|
--font-size-32: 2rem;
|
|
77
|
+
--letter-spacing-size-1: 0.01;
|
|
78
|
+
--letter-spacing-size-2: 0.02;
|
|
79
|
+
--letter-spacing-size-0.5: 0.005;
|
|
80
|
+
--letter-spacing-size-1.25: 0.0125;
|
|
81
|
+
--letter-spacing-size-1.5: 0.015;
|
|
82
|
+
--letter-spacing-size-2.5: 0.025;
|
|
83
|
+
--letter-spacing-size-1: -0.01;
|
|
84
|
+
--letter-spacing-size-2: -0.02;
|
|
85
|
+
--letter-spacing-size-0.5: -0.005;
|
|
86
|
+
--letter-spacing-size-1.25: -0.0125;
|
|
87
|
+
--letter-spacing-size-1.5: -0.015;
|
|
88
|
+
--letter-spacing-size-2.5: -0.025;
|
|
89
|
+
--line-height-18: 1.125;
|
|
90
|
+
--line-height-22: 1.25;
|
|
91
|
+
--line-height-24: 1.5;
|
|
92
|
+
--line-height-28: 1.75;
|
|
93
|
+
--line-height-30: 1.375;
|
|
94
|
+
--line-height-32: 2;
|
|
95
|
+
--line-height-34: 2.125;
|
|
96
|
+
--line-height-36: 1.5;
|
|
97
|
+
--line-height-42: 1.625;
|
|
98
|
+
--line-height-48: 1.75;
|
|
75
99
|
--line-height-title: 1.2;
|
|
76
100
|
--line-height-body: 1.5;
|
|
77
101
|
--line-height-control: 1.2;
|
|
78
|
-
--font-weight-
|
|
102
|
+
--font-weight-light: 300;
|
|
103
|
+
--font-weight-regular: 400;
|
|
104
|
+
--font-weight-medium: 500;
|
|
79
105
|
--font-weight-semi-bold: 600;
|
|
80
106
|
--font-weight-bold: 800;
|
|
81
|
-
--font-
|
|
107
|
+
--font-weight-black: 900;
|
|
108
|
+
--font-family-regular: 'Inter', sans-serif, Helvetica, Arial, sans-serif;
|
|
82
109
|
}
|
package/themes/light/tokens.less
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on
|
|
3
|
+
// Generated on Wed, 13 Jul 2022 14:37:44 GMT
|
|
4
4
|
|
|
5
5
|
@color-content-primary: #37517e;
|
|
6
6
|
@color-content-secondary: #5d7079;
|
|
@@ -68,12 +68,39 @@
|
|
|
68
68
|
@font-size-14: 0.875rem;
|
|
69
69
|
@font-size-16: 1rem;
|
|
70
70
|
@font-size-20: 1.25rem;
|
|
71
|
+
@font-size-22: 1.375rem;
|
|
71
72
|
@font-size-26: 1.625rem;
|
|
73
|
+
@font-size-30: 1.75rem;
|
|
72
74
|
@font-size-32: 2rem;
|
|
75
|
+
@letter-spacing-size-1: 0.01;
|
|
76
|
+
@letter-spacing-size-2: 0.02;
|
|
77
|
+
@letter-spacing-size-0.5: 0.005;
|
|
78
|
+
@letter-spacing-size-1.25: 0.0125;
|
|
79
|
+
@letter-spacing-size-1.5: 0.015;
|
|
80
|
+
@letter-spacing-size-2.5: 0.025;
|
|
81
|
+
@letter-spacing-size-1: -0.01;
|
|
82
|
+
@letter-spacing-size-2: -0.02;
|
|
83
|
+
@letter-spacing-size-0.5: -0.005;
|
|
84
|
+
@letter-spacing-size-1.25: -0.0125;
|
|
85
|
+
@letter-spacing-size-1.5: -0.015;
|
|
86
|
+
@letter-spacing-size-2.5: -0.025;
|
|
87
|
+
@line-height-18: 1.125;
|
|
88
|
+
@line-height-22: 1.25;
|
|
89
|
+
@line-height-24: 1.5;
|
|
90
|
+
@line-height-28: 1.75;
|
|
91
|
+
@line-height-30: 1.375;
|
|
92
|
+
@line-height-32: 2;
|
|
93
|
+
@line-height-34: 2.125;
|
|
94
|
+
@line-height-36: 1.5;
|
|
95
|
+
@line-height-42: 1.625;
|
|
96
|
+
@line-height-48: 1.75;
|
|
73
97
|
@line-height-title: 1.2;
|
|
74
98
|
@line-height-body: 1.5;
|
|
75
99
|
@line-height-control: 1.2;
|
|
76
|
-
@font-weight-
|
|
100
|
+
@font-weight-light: 300;
|
|
101
|
+
@font-weight-regular: 400;
|
|
102
|
+
@font-weight-medium: 500;
|
|
77
103
|
@font-weight-semi-bold: 600;
|
|
78
104
|
@font-weight-bold: 800;
|
|
79
|
-
@font-
|
|
105
|
+
@font-weight-black: 900;
|
|
106
|
+
@font-family-regular: 'Inter', sans-serif, Helvetica, Arial, sans-serif;
|
package/themes/navy/tokens.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 13 Jul 2022 14:37:44 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
.np-theme-navy {
|
|
@@ -70,13 +70,40 @@
|
|
|
70
70
|
--font-size-14: 0.875rem;
|
|
71
71
|
--font-size-16: 1rem;
|
|
72
72
|
--font-size-20: 1.25rem;
|
|
73
|
+
--font-size-22: 1.375rem;
|
|
73
74
|
--font-size-26: 1.625rem;
|
|
75
|
+
--font-size-30: 1.75rem;
|
|
74
76
|
--font-size-32: 2rem;
|
|
77
|
+
--letter-spacing-size-1: 0.01;
|
|
78
|
+
--letter-spacing-size-2: 0.02;
|
|
79
|
+
--letter-spacing-size-0.5: 0.005;
|
|
80
|
+
--letter-spacing-size-1.25: 0.0125;
|
|
81
|
+
--letter-spacing-size-1.5: 0.015;
|
|
82
|
+
--letter-spacing-size-2.5: 0.025;
|
|
83
|
+
--letter-spacing-size-1: -0.01;
|
|
84
|
+
--letter-spacing-size-2: -0.02;
|
|
85
|
+
--letter-spacing-size-0.5: -0.005;
|
|
86
|
+
--letter-spacing-size-1.25: -0.0125;
|
|
87
|
+
--letter-spacing-size-1.5: -0.015;
|
|
88
|
+
--letter-spacing-size-2.5: -0.025;
|
|
89
|
+
--line-height-18: 1.125;
|
|
90
|
+
--line-height-22: 1.25;
|
|
91
|
+
--line-height-24: 1.5;
|
|
92
|
+
--line-height-28: 1.75;
|
|
93
|
+
--line-height-30: 1.375;
|
|
94
|
+
--line-height-32: 2;
|
|
95
|
+
--line-height-34: 2.125;
|
|
96
|
+
--line-height-36: 1.5;
|
|
97
|
+
--line-height-42: 1.625;
|
|
98
|
+
--line-height-48: 1.75;
|
|
75
99
|
--line-height-title: 1.2;
|
|
76
100
|
--line-height-body: 1.5;
|
|
77
101
|
--line-height-control: 1.2;
|
|
78
|
-
--font-weight-
|
|
102
|
+
--font-weight-light: 300;
|
|
103
|
+
--font-weight-regular: 400;
|
|
104
|
+
--font-weight-medium: 500;
|
|
79
105
|
--font-weight-semi-bold: 600;
|
|
80
106
|
--font-weight-bold: 800;
|
|
81
|
-
--font-
|
|
107
|
+
--font-weight-black: 900;
|
|
108
|
+
--font-family-regular: 'Inter', sans-serif, Helvetica, Arial, sans-serif;
|
|
82
109
|
}
|
package/themes/navy/tokens.less
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on
|
|
3
|
+
// Generated on Wed, 13 Jul 2022 14:37:44 GMT
|
|
4
4
|
|
|
5
5
|
@color-content-primary: #ffffff;
|
|
6
6
|
@color-content-secondary: #c9cbce;
|
|
@@ -68,12 +68,39 @@
|
|
|
68
68
|
@font-size-14: 0.875rem;
|
|
69
69
|
@font-size-16: 1rem;
|
|
70
70
|
@font-size-20: 1.25rem;
|
|
71
|
+
@font-size-22: 1.375rem;
|
|
71
72
|
@font-size-26: 1.625rem;
|
|
73
|
+
@font-size-30: 1.75rem;
|
|
72
74
|
@font-size-32: 2rem;
|
|
75
|
+
@letter-spacing-size-1: 0.01;
|
|
76
|
+
@letter-spacing-size-2: 0.02;
|
|
77
|
+
@letter-spacing-size-0.5: 0.005;
|
|
78
|
+
@letter-spacing-size-1.25: 0.0125;
|
|
79
|
+
@letter-spacing-size-1.5: 0.015;
|
|
80
|
+
@letter-spacing-size-2.5: 0.025;
|
|
81
|
+
@letter-spacing-size-1: -0.01;
|
|
82
|
+
@letter-spacing-size-2: -0.02;
|
|
83
|
+
@letter-spacing-size-0.5: -0.005;
|
|
84
|
+
@letter-spacing-size-1.25: -0.0125;
|
|
85
|
+
@letter-spacing-size-1.5: -0.015;
|
|
86
|
+
@letter-spacing-size-2.5: -0.025;
|
|
87
|
+
@line-height-18: 1.125;
|
|
88
|
+
@line-height-22: 1.25;
|
|
89
|
+
@line-height-24: 1.5;
|
|
90
|
+
@line-height-28: 1.75;
|
|
91
|
+
@line-height-30: 1.375;
|
|
92
|
+
@line-height-32: 2;
|
|
93
|
+
@line-height-34: 2.125;
|
|
94
|
+
@line-height-36: 1.5;
|
|
95
|
+
@line-height-42: 1.625;
|
|
96
|
+
@line-height-48: 1.75;
|
|
73
97
|
@line-height-title: 1.2;
|
|
74
98
|
@line-height-body: 1.5;
|
|
75
99
|
@line-height-control: 1.2;
|
|
76
|
-
@font-weight-
|
|
100
|
+
@font-weight-light: 300;
|
|
101
|
+
@font-weight-regular: 400;
|
|
102
|
+
@font-weight-medium: 500;
|
|
77
103
|
@font-weight-semi-bold: 600;
|
|
78
104
|
@font-weight-bold: 800;
|
|
79
|
-
@font-
|
|
105
|
+
@font-weight-black: 900;
|
|
106
|
+
@font-family-regular: 'Inter', sans-serif, Helvetica, Arial, sans-serif;
|
package/tokens.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 13 Jul 2022 14:37:44 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
@@ -70,13 +70,40 @@
|
|
|
70
70
|
--font-size-14: 0.875rem;
|
|
71
71
|
--font-size-16: 1rem;
|
|
72
72
|
--font-size-20: 1.25rem;
|
|
73
|
+
--font-size-22: 1.375rem;
|
|
73
74
|
--font-size-26: 1.625rem;
|
|
75
|
+
--font-size-30: 1.75rem;
|
|
74
76
|
--font-size-32: 2rem;
|
|
77
|
+
--letter-spacing-size-1: 0.01;
|
|
78
|
+
--letter-spacing-size-2: 0.02;
|
|
79
|
+
--letter-spacing-size-0.5: 0.005;
|
|
80
|
+
--letter-spacing-size-1.25: 0.0125;
|
|
81
|
+
--letter-spacing-size-1.5: 0.015;
|
|
82
|
+
--letter-spacing-size-2.5: 0.025;
|
|
83
|
+
--letter-spacing-negative-size-1: -0.01;
|
|
84
|
+
--letter-spacing-negative-size-2: -0.02;
|
|
85
|
+
--letter-spacing-negative-size-0.5: -0.005;
|
|
86
|
+
--letter-spacing-negative-size-1.25: -0.0125;
|
|
87
|
+
--letter-spacing-negative-size-1.5: -0.015;
|
|
88
|
+
--letter-spacing-negative-size-2.5: -0.025;
|
|
89
|
+
--line-height-18: 1.125;
|
|
90
|
+
--line-height-22: 1.25;
|
|
91
|
+
--line-height-24: 1.5;
|
|
92
|
+
--line-height-28: 1.75;
|
|
93
|
+
--line-height-30: 1.375;
|
|
94
|
+
--line-height-32: 2;
|
|
95
|
+
--line-height-34: 2.125;
|
|
96
|
+
--line-height-36: 1.5;
|
|
97
|
+
--line-height-42: 1.625;
|
|
98
|
+
--line-height-48: 1.75;
|
|
75
99
|
--line-height-title: 1.2;
|
|
76
100
|
--line-height-body: 1.5;
|
|
77
101
|
--line-height-control: 1.2;
|
|
78
|
-
--font-weight
|
|
102
|
+
--font-weight: 300;
|
|
103
|
+
--font-weight-regular: 400;
|
|
104
|
+
--font-weight-medium: 500;
|
|
79
105
|
--font-weight-semi-bold: 600;
|
|
80
106
|
--font-weight-bold: 800;
|
|
81
|
-
--font-
|
|
107
|
+
--font-weight-black: 900;
|
|
108
|
+
--font-family-regular: 'Inter', sans-serif, Helvetica, Arial, sans-serif;
|
|
82
109
|
}
|
package/tokens.less
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on
|
|
3
|
+
// Generated on Wed, 13 Jul 2022 14:37:44 GMT
|
|
4
4
|
|
|
5
5
|
@color-dark-content-primary: #e2e6e8;
|
|
6
6
|
@color-dark-content-secondary: #c9cbce;
|
|
@@ -150,12 +150,39 @@
|
|
|
150
150
|
@font-size-14: 0.875rem;
|
|
151
151
|
@font-size-16: 1rem;
|
|
152
152
|
@font-size-20: 1.25rem;
|
|
153
|
+
@font-size-22: 1.375rem;
|
|
153
154
|
@font-size-26: 1.625rem;
|
|
155
|
+
@font-size-30: 1.75rem;
|
|
154
156
|
@font-size-32: 2rem;
|
|
157
|
+
@letter-spacing-size-1: 0.01;
|
|
158
|
+
@letter-spacing-size-2: 0.02;
|
|
159
|
+
@letter-spacing-size-0.5: 0.005;
|
|
160
|
+
@letter-spacing-size-1.25: 0.0125;
|
|
161
|
+
@letter-spacing-size-1.5: 0.015;
|
|
162
|
+
@letter-spacing-size-2.5: 0.025;
|
|
163
|
+
@letter-spacing-negative-size-1: -0.01;
|
|
164
|
+
@letter-spacing-negative-size-2: -0.02;
|
|
165
|
+
@letter-spacing-negative-size-0.5: -0.005;
|
|
166
|
+
@letter-spacing-negative-size-1.25: -0.0125;
|
|
167
|
+
@letter-spacing-negative-size-1.5: -0.015;
|
|
168
|
+
@letter-spacing-negative-size-2.5: -0.025;
|
|
169
|
+
@line-height-18: 1.125;
|
|
170
|
+
@line-height-22: 1.25;
|
|
171
|
+
@line-height-24: 1.5;
|
|
172
|
+
@line-height-28: 1.75;
|
|
173
|
+
@line-height-30: 1.375;
|
|
174
|
+
@line-height-32: 2;
|
|
175
|
+
@line-height-34: 2.125;
|
|
176
|
+
@line-height-36: 1.5;
|
|
177
|
+
@line-height-42: 1.625;
|
|
178
|
+
@line-height-48: 1.75;
|
|
155
179
|
@line-height-title: 1.2;
|
|
156
180
|
@line-height-body: 1.5;
|
|
157
181
|
@line-height-control: 1.2;
|
|
158
|
-
@font-weight
|
|
182
|
+
@font-weight: 300;
|
|
183
|
+
@font-weight-regular: 400;
|
|
184
|
+
@font-weight-medium: 500;
|
|
159
185
|
@font-weight-semi-bold: 600;
|
|
160
186
|
@font-weight-bold: 800;
|
|
161
|
-
@font-
|
|
187
|
+
@font-weight-black: 900;
|
|
188
|
+
@font-family-regular: 'Inter', sans-serif, Helvetica, Arial, sans-serif;
|
package/CHANGELOG.md
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
# v7.0.0
|
|
2
|
-
|
|
3
|
-
## Remove disabled colour tokens
|
|
4
|
-
|
|
5
|
-
Disabled colours were simulating transparency and desaturation, and were encouraging us to create a larger palette than we needed, and more prone to mistakes. We're now removing those tokens and encouraging consumers to use opacity and blend modes to achieve the same effect.
|
|
6
|
-
|
|
7
|
-
# v6.1.0
|
|
8
|
-
|
|
9
|
-
## Add tertiary content token
|
|
10
|
-
|
|
11
|
-
We're adding a new tertiary content token for text that should be deemphasised further than secondary, like placeholders in inputs and inactive components.
|
|
12
|
-
|
|
13
|
-
# v6.0.0
|
|
14
|
-
|
|
15
|
-
## Remove themed CSS custom properties (variables) from :root
|
|
16
|
-
|
|
17
|
-
To avoid further confusion with our upcoming theming changes, we are dropping the color theme name from CSS variables assigned to the `:root` pseudo-class.
|
|
18
|
-
|
|
19
|
-
# v5.1.0
|
|
20
|
-
|
|
21
|
-
## Add font-family token
|
|
22
|
-
|
|
23
|
-
# v5.0.0
|
|
24
|
-
|
|
25
|
-
## Add Navy color tokens to default bundle
|
|
26
|
-
|
|
27
|
-
Navy tokens added with `-navy-` part in file, e.g
|
|
28
|
-
|
|
29
|
-
```css
|
|
30
|
-
--color-navy-content-primary: #...;
|
|
31
|
-
--color-navy-content-secondary: #...;
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
## and make path to default bundle same as in v1 (breaking change)
|
|
35
|
-
|
|
36
|
-
```css
|
|
37
|
-
// old
|
|
38
|
-
@import "@transferwise/neptune-tokens/themes/default/tokens.css";
|
|
39
|
-
|
|
40
|
-
// new
|
|
41
|
-
@import "@transferwise/neptune-tokens/tokens.css";
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
This is necessary because most people still use v1 and it will be less of a breaking change in upcoming Neptune release with new colors.
|