@skyscanner/bpk-foundations-ios 19.5.0 → 19.6.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/gulpfile.mjs +12 -8
- package/package.json +3 -3
- package/tokens/base.ios.json +2 -2
- package/tokens/base.raw.ios.json +3 -3
package/gulpfile.mjs
CHANGED
|
@@ -21,8 +21,8 @@ import path from 'path';
|
|
|
21
21
|
import { fileURLToPath } from 'url';
|
|
22
22
|
|
|
23
23
|
import { deleteAsync } from 'del';
|
|
24
|
+
import { exec } from 'child_process';
|
|
24
25
|
import gulp from 'gulp';
|
|
25
|
-
import jsonLint from 'gulp-jsonlint';
|
|
26
26
|
import gulpTheo from 'gulp-theo';
|
|
27
27
|
import _ from 'lodash';
|
|
28
28
|
import gulpMerge from 'merge2';
|
|
@@ -66,13 +66,17 @@ theo.registerTransform('ios', ['color/hex8rgba']);
|
|
|
66
66
|
|
|
67
67
|
gulp.task('clean', (done) => deleteAsync(['tokens'], done));
|
|
68
68
|
|
|
69
|
-
gulp.task('lint', () =>
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
);
|
|
69
|
+
gulp.task('lint', (done) => {
|
|
70
|
+
exec('eslint ./src --ext json', (err, stdout, _) => {
|
|
71
|
+
if (err) {
|
|
72
|
+
console.error(stdout);
|
|
73
|
+
done(err);
|
|
74
|
+
} else {
|
|
75
|
+
console.log(stdout);
|
|
76
|
+
done();
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
});
|
|
76
80
|
|
|
77
81
|
const createTokens = (tokenSets, done) => {
|
|
78
82
|
const streams = tokenSets.map(({ format, nest, platform }) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyscanner/bpk-foundations-ios",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.6.0",
|
|
4
4
|
"description": "Common Backpack design tokens for colors, spacing, font, etc.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"tokens": "gulp"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@skyscanner/bpk-foundations-common": "^19.
|
|
20
|
+
"@skyscanner/bpk-foundations-common": "^19.6.0",
|
|
21
21
|
"color": "^5.0.0"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "5a2dbb49f77e410b1cbc082061179f49fe0d2a5d"
|
|
24
24
|
}
|
package/tokens/base.ios.json
CHANGED
|
@@ -1574,7 +1574,7 @@
|
|
|
1574
1574
|
{
|
|
1575
1575
|
"type": "color",
|
|
1576
1576
|
"category": "surface-colors",
|
|
1577
|
-
"value": "#
|
|
1577
|
+
"value": "#f5f7faff",
|
|
1578
1578
|
"originalValue": "{!GREY_05}",
|
|
1579
1579
|
"name": "surfaceLowContrastDay"
|
|
1580
1580
|
},
|
|
@@ -3492,7 +3492,7 @@
|
|
|
3492
3492
|
{
|
|
3493
3493
|
"type": "color",
|
|
3494
3494
|
"category": "surface-colors",
|
|
3495
|
-
"value": "#
|
|
3495
|
+
"value": "#f5f7faff",
|
|
3496
3496
|
"originalValue": "{!GREY_05}",
|
|
3497
3497
|
"name": "surfaceLowContrastColor",
|
|
3498
3498
|
"darkValue": "#243346ff",
|
package/tokens/base.raw.ios.json
CHANGED
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
"value": "#FEEB87"
|
|
203
203
|
},
|
|
204
204
|
"GREY_05": {
|
|
205
|
-
"value": "#
|
|
205
|
+
"value": "#F5F7FA"
|
|
206
206
|
},
|
|
207
207
|
"NIGHT_GREEN_SPOT": {
|
|
208
208
|
"value": "#62F1C6"
|
|
@@ -2014,7 +2014,7 @@
|
|
|
2014
2014
|
"SURFACE_LOW_CONTRAST_DAY": {
|
|
2015
2015
|
"type": "color",
|
|
2016
2016
|
"category": "surface-colors",
|
|
2017
|
-
"value": "#
|
|
2017
|
+
"value": "#f5f7faff",
|
|
2018
2018
|
"originalValue": "{!GREY_05}",
|
|
2019
2019
|
"name": "SURFACE_LOW_CONTRAST_DAY"
|
|
2020
2020
|
},
|
|
@@ -3932,7 +3932,7 @@
|
|
|
3932
3932
|
"SURFACE_LOW_CONTRAST_COLOR": {
|
|
3933
3933
|
"type": "color",
|
|
3934
3934
|
"category": "surface-colors",
|
|
3935
|
-
"value": "#
|
|
3935
|
+
"value": "#f5f7faff",
|
|
3936
3936
|
"originalValue": "{!GREY_05}",
|
|
3937
3937
|
"name": "SURFACE_LOW_CONTRAST_COLOR",
|
|
3938
3938
|
"darkValue": "#243346ff",
|