@transferwise/neptune-tokens 5.1.0 → 7.0.0-beta.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.
- package/CHANGELOG.md +30 -9
- package/package.json +1 -1
- package/colors-base.css +0 -46
- package/colors-base.less +0 -43
- package/colors.json +0 -2957
- package/themes/dark/tokens.css +0 -83
- package/themes/dark/tokens.less +0 -80
- package/themes/light/tokens.css +0 -83
- package/themes/light/tokens.less +0 -80
- package/themes/navy/tokens.css +0 -83
- package/themes/navy/tokens.less +0 -80
- package/tokens.css +0 -125
- package/tokens.less +0 -122
package/CHANGELOG.md
CHANGED
|
@@ -1,28 +1,49 @@
|
|
|
1
|
+
# v7.0.0-beta.0
|
|
2
|
+
|
|
3
|
+
## New personal theme
|
|
4
|
+
|
|
5
|
+
## Remove disabled colour tokens
|
|
6
|
+
# v7.0.0
|
|
7
|
+
|
|
8
|
+
## Remove disabled colour tokens
|
|
9
|
+
|
|
10
|
+
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.
|
|
11
|
+
|
|
12
|
+
# v6.1.0
|
|
13
|
+
|
|
14
|
+
## Add tertiary content token
|
|
15
|
+
|
|
16
|
+
We're adding a new tertiary content token for text that should be deemphasised further than secondary, like placeholders in inputs and inactive components.
|
|
17
|
+
|
|
18
|
+
# v6.0.0
|
|
19
|
+
|
|
20
|
+
## Remove themed CSS custom properties (variables) from :root
|
|
21
|
+
|
|
22
|
+
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.
|
|
23
|
+
|
|
1
24
|
# v5.1.0
|
|
2
25
|
|
|
3
26
|
## Add font-family token
|
|
4
27
|
|
|
5
|
-
|
|
6
28
|
# v5.0.0
|
|
7
29
|
|
|
8
30
|
## Add Navy color tokens to default bundle
|
|
9
31
|
|
|
10
|
-
Navy tokens
|
|
32
|
+
Navy tokens added with `-navy-` part in file, e.g
|
|
11
33
|
|
|
12
34
|
```css
|
|
13
|
-
|
|
14
|
-
|
|
35
|
+
--color-navy-content-primary: #...;
|
|
36
|
+
--color-navy-content-secondary: #...;
|
|
15
37
|
```
|
|
16
38
|
|
|
17
|
-
|
|
18
39
|
## and make path to default bundle same as in v1 (breaking change)
|
|
19
40
|
|
|
20
|
-
```
|
|
41
|
+
```css
|
|
21
42
|
// old
|
|
22
|
-
@transferwise/neptune-tokens/themes/default/tokens.css
|
|
43
|
+
@import "@transferwise/neptune-tokens/themes/default/tokens.css";
|
|
23
44
|
|
|
24
45
|
// new
|
|
25
|
-
@transferwise/neptune-tokens/tokens.css
|
|
46
|
+
@import "@transferwise/neptune-tokens/tokens.css";
|
|
26
47
|
```
|
|
27
48
|
|
|
28
|
-
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.
|
|
49
|
+
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.
|
package/package.json
CHANGED
package/colors-base.css
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Do not edit directly
|
|
3
|
-
* Generated on Wed, 17 Nov 2021 15:37:36 GMT
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
:root {
|
|
7
|
-
--color-base-blue-light: #00b9ff;
|
|
8
|
-
--color-base-blue-mid: #00a2dd;
|
|
9
|
-
--color-base-blue-dark: #0097c7;
|
|
10
|
-
--color-base-blue-fade: #38c8ff1a;
|
|
11
|
-
--color-base-green-light: #6fd698;
|
|
12
|
-
--color-base-green-mid: #2ead4b;
|
|
13
|
-
--color-base-green-dark: #008026;
|
|
14
|
-
--color-base-green-fade: #36c7971a;
|
|
15
|
-
--color-base-red-light: #ffa6a9;
|
|
16
|
-
--color-base-red-mid: #e74848;
|
|
17
|
-
--color-base-red-dark: #cf2929;
|
|
18
|
-
--color-base-red-fade: #ff87871a;
|
|
19
|
-
--color-base-orange-light: #ffd184;
|
|
20
|
-
--color-base-orange-mid: #df8700;
|
|
21
|
-
--color-base-orange-dark: #9a6500;
|
|
22
|
-
--color-base-orange-fade: #ffac001a;
|
|
23
|
-
--color-base-smoke-light: #e2e6e8;
|
|
24
|
-
--color-base-smoke-mid: #c9cbce;
|
|
25
|
-
--color-base-smoke-dark: #a8aaac;
|
|
26
|
-
--color-base-smoke-fade: #86a7bd1a;
|
|
27
|
-
--color-base-navy-light: #37517e;
|
|
28
|
-
--color-base-navy-mid: #2e4369;
|
|
29
|
-
--color-base-navy-dark: #253655;
|
|
30
|
-
--color-base-navy-fade: #849cc51a;
|
|
31
|
-
--color-base-grey-light: #829ca9;
|
|
32
|
-
--color-base-grey-mid: #6f8691;
|
|
33
|
-
--color-base-grey-dark: #5d7079;
|
|
34
|
-
--color-base-grey-fade: #829ca91a;
|
|
35
|
-
--color-base-white-light: #ffffff;
|
|
36
|
-
--color-base-white-mid: #ebebeb;
|
|
37
|
-
--color-base-white-fade: #ffffff1a;
|
|
38
|
-
--color-base-black-light: #202020;
|
|
39
|
-
--color-base-black-mid: #181818;
|
|
40
|
-
--color-base-black-dark: #000000;
|
|
41
|
-
--color-base-black-fade: #0000001a;
|
|
42
|
-
--color-base-brand-blue: #00b9ff;
|
|
43
|
-
--color-base-brand-purple: #485cc7;
|
|
44
|
-
--color-base-brand-amber: #ffb619;
|
|
45
|
-
--color-base-brand-borderless: #44ee70;
|
|
46
|
-
}
|
package/colors-base.less
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
// Do not edit directly
|
|
3
|
-
// Generated on Wed, 17 Nov 2021 15:37:36 GMT
|
|
4
|
-
|
|
5
|
-
@color-base-blue-light: #00b9ff;
|
|
6
|
-
@color-base-blue-mid: #00a2dd;
|
|
7
|
-
@color-base-blue-dark: #0097c7;
|
|
8
|
-
@color-base-blue-fade: #38c8ff1a;
|
|
9
|
-
@color-base-green-light: #6fd698;
|
|
10
|
-
@color-base-green-mid: #2ead4b;
|
|
11
|
-
@color-base-green-dark: #008026;
|
|
12
|
-
@color-base-green-fade: #36c7971a;
|
|
13
|
-
@color-base-red-light: #ffa6a9;
|
|
14
|
-
@color-base-red-mid: #e74848;
|
|
15
|
-
@color-base-red-dark: #cf2929;
|
|
16
|
-
@color-base-red-fade: #ff87871a;
|
|
17
|
-
@color-base-orange-light: #ffd184;
|
|
18
|
-
@color-base-orange-mid: #df8700;
|
|
19
|
-
@color-base-orange-dark: #9a6500;
|
|
20
|
-
@color-base-orange-fade: #ffac001a;
|
|
21
|
-
@color-base-smoke-light: #e2e6e8;
|
|
22
|
-
@color-base-smoke-mid: #c9cbce;
|
|
23
|
-
@color-base-smoke-dark: #a8aaac;
|
|
24
|
-
@color-base-smoke-fade: #86a7bd1a;
|
|
25
|
-
@color-base-navy-light: #37517e;
|
|
26
|
-
@color-base-navy-mid: #2e4369;
|
|
27
|
-
@color-base-navy-dark: #253655;
|
|
28
|
-
@color-base-navy-fade: #849cc51a;
|
|
29
|
-
@color-base-grey-light: #829ca9;
|
|
30
|
-
@color-base-grey-mid: #6f8691;
|
|
31
|
-
@color-base-grey-dark: #5d7079;
|
|
32
|
-
@color-base-grey-fade: #829ca91a;
|
|
33
|
-
@color-base-white-light: #ffffff;
|
|
34
|
-
@color-base-white-mid: #ebebeb;
|
|
35
|
-
@color-base-white-fade: #ffffff1a;
|
|
36
|
-
@color-base-black-light: #202020;
|
|
37
|
-
@color-base-black-mid: #181818;
|
|
38
|
-
@color-base-black-dark: #000000;
|
|
39
|
-
@color-base-black-fade: #0000001a;
|
|
40
|
-
@color-base-brand-blue: #00b9ff;
|
|
41
|
-
@color-base-brand-purple: #485cc7;
|
|
42
|
-
@color-base-brand-amber: #ffb619;
|
|
43
|
-
@color-base-brand-borderless: #44ee70;
|