@skyscanner/bpk-foundations-web 19.5.0 → 20.0.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.common.js +7 -7
- package/tokens/base.default.scss +13 -13
- package/tokens/base.es6.d.ts +13 -13
- package/tokens/base.es6.js +13 -13
- package/tokens/base.raw.json +50 -50
- package/tokens/base.scss +13 -13
package/gulpfile.mjs
CHANGED
|
@@ -20,8 +20,8 @@ import path from 'path';
|
|
|
20
20
|
import { fileURLToPath } from 'url';
|
|
21
21
|
|
|
22
22
|
import { deleteAsync } from 'del';
|
|
23
|
+
import { exec } from 'child_process';
|
|
23
24
|
import gulp from 'gulp';
|
|
24
|
-
import jsonLint from 'gulp-jsonlint';
|
|
25
25
|
import gulpTheo from 'gulp-theo';
|
|
26
26
|
import _ from 'lodash';
|
|
27
27
|
import gulpMerge from 'merge2';
|
|
@@ -67,13 +67,17 @@ theo.registerFormat('es6.d.ts', bpkDts);
|
|
|
67
67
|
|
|
68
68
|
gulp.task('clean', (done) => deleteAsync(['tokens'], done));
|
|
69
69
|
|
|
70
|
-
gulp.task('lint', () =>
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
);
|
|
70
|
+
gulp.task('lint', (done) => {
|
|
71
|
+
exec('eslint ./src --ext json', (err, stdout, _) => {
|
|
72
|
+
if (err) {
|
|
73
|
+
console.error(stdout);
|
|
74
|
+
done(err);
|
|
75
|
+
} else {
|
|
76
|
+
console.log(stdout);
|
|
77
|
+
done();
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
});
|
|
77
81
|
|
|
78
82
|
const createTokens = (tokenSets, done) => {
|
|
79
83
|
const streams = tokenSets.map(({ format, nest, platform }) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyscanner/bpk-foundations-web",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20.0.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": "^
|
|
20
|
+
"@skyscanner/bpk-foundations-common": "^20.0.0",
|
|
21
21
|
"color": "^5.0.0"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "9fae1a1c49c643ac88c3d07ccd8092785b21cd73"
|
|
24
24
|
}
|
package/tokens/base.common.js
CHANGED
|
@@ -33,15 +33,9 @@ module.exports = {
|
|
|
33
33
|
colorHarbour: "rgb(246, 221, 225)",
|
|
34
34
|
colorSkyGrayTint05: "rgb(205, 205, 215)",
|
|
35
35
|
colorSkyGrayTint06: "rgb(221, 221, 229)",
|
|
36
|
-
colorBlackTint01: "rgb(29, 27, 32)",
|
|
37
36
|
colorSkyGrayTint07: "rgb(241, 242, 248)",
|
|
38
|
-
colorBlackTint02: "rgb(44, 44, 46)",
|
|
39
37
|
colorAbisko: "rgb(90, 72, 155)",
|
|
40
|
-
colorBlackTint03: "rgb(58, 58, 60)",
|
|
41
|
-
colorBlackTint04: "rgb(72, 72, 74)",
|
|
42
38
|
colorWhite: "rgb(255, 255, 255)",
|
|
43
|
-
colorBlackTint05: "rgb(99, 99, 102)",
|
|
44
|
-
colorBlackTint06: "rgb(142, 142, 147)",
|
|
45
39
|
colorPanjin: "rgb(209, 67, 91)",
|
|
46
40
|
colorKolkata: "rgb(255, 148, 0)",
|
|
47
41
|
colorGlencoe: "rgb(115, 206, 198)",
|
|
@@ -93,7 +87,7 @@ module.exports = {
|
|
|
93
87
|
surfaceSubtleNight: "rgb(36, 51, 70)",
|
|
94
88
|
surfaceElevatedDay: "rgb(255, 255, 255)",
|
|
95
89
|
surfaceHighlightNight: "rgb(36, 51, 70)",
|
|
96
|
-
surfaceLowContrastDay: "rgb(
|
|
90
|
+
surfaceLowContrastDay: "rgb(245, 247, 250)",
|
|
97
91
|
surfaceSubtleDay: "rgb(227, 240, 255)",
|
|
98
92
|
surfaceHighlightDay: "rgb(224, 228, 233)",
|
|
99
93
|
textOnDarkDay: "rgb(255, 255, 255)",
|
|
@@ -277,6 +271,12 @@ module.exports = {
|
|
|
277
271
|
privateSegmentedControlSurfaceContrastNight: "rgb(19, 29, 43)",
|
|
278
272
|
privateSegmentedControlSurfaceContrastOnDay: "rgb(2, 77, 175)",
|
|
279
273
|
privateSegmentedControlSurfaceContrastOnNight: "rgb(5, 65, 132)",
|
|
274
|
+
colorBlackTint01: "rgb(29, 27, 32)",
|
|
275
|
+
colorBlackTint02: "rgb(44, 44, 46)",
|
|
276
|
+
colorBlackTint03: "rgb(58, 58, 60)",
|
|
277
|
+
colorBlackTint04: "rgb(72, 72, 74)",
|
|
278
|
+
colorBlackTint05: "rgb(99, 99, 102)",
|
|
279
|
+
colorBlackTint06: "rgb(142, 142, 147)",
|
|
280
280
|
durationXs: "50ms",
|
|
281
281
|
durationSm: "200ms",
|
|
282
282
|
durationBase: "400ms",
|
package/tokens/base.default.scss
CHANGED
|
@@ -46,24 +46,12 @@ $bpk-color-sky-gray-tint-05: rgb(205, 205, 215) !default;
|
|
|
46
46
|
/// @group colors
|
|
47
47
|
$bpk-color-sky-gray-tint-06: rgb(221, 221, 229) !default;
|
|
48
48
|
/// @group colors
|
|
49
|
-
$bpk-color-black-tint-01: rgb(29, 27, 32) !default;
|
|
50
|
-
/// @group colors
|
|
51
49
|
$bpk-color-sky-gray-tint-07: rgb(241, 242, 248) !default;
|
|
52
50
|
/// @group colors
|
|
53
|
-
$bpk-color-black-tint-02: rgb(44, 44, 46) !default;
|
|
54
|
-
/// @group colors
|
|
55
51
|
$bpk-color-abisko: rgb(90, 72, 155) !default;
|
|
56
52
|
/// @group colors
|
|
57
|
-
$bpk-color-black-tint-03: rgb(58, 58, 60) !default;
|
|
58
|
-
/// @group colors
|
|
59
|
-
$bpk-color-black-tint-04: rgb(72, 72, 74) !default;
|
|
60
|
-
/// @group colors
|
|
61
53
|
$bpk-color-white: rgb(255, 255, 255) !default;
|
|
62
54
|
/// @group colors
|
|
63
|
-
$bpk-color-black-tint-05: rgb(99, 99, 102) !default;
|
|
64
|
-
/// @group colors
|
|
65
|
-
$bpk-color-black-tint-06: rgb(142, 142, 147) !default;
|
|
66
|
-
/// @group colors
|
|
67
55
|
$bpk-color-panjin: rgb(209, 67, 91) !default;
|
|
68
56
|
/// @group colors
|
|
69
57
|
$bpk-color-kolkata: rgb(255, 148, 0) !default;
|
|
@@ -166,7 +154,7 @@ $bpk-surface-elevated-day: rgb(255, 255, 255) !default;
|
|
|
166
154
|
/// @group surface-colors
|
|
167
155
|
$bpk-surface-highlight-night: rgb(36, 51, 70) !default;
|
|
168
156
|
/// @group surface-colors
|
|
169
|
-
$bpk-surface-low-contrast-day: rgb(
|
|
157
|
+
$bpk-surface-low-contrast-day: rgb(245, 247, 250) !default;
|
|
170
158
|
/// @group surface-colors
|
|
171
159
|
$bpk-surface-subtle-day: rgb(227, 240, 255) !default;
|
|
172
160
|
/// @group surface-colors
|
|
@@ -533,6 +521,18 @@ $bpk-private-segmented-control-surface-contrast-night: rgb(19, 29, 43) !default;
|
|
|
533
521
|
$bpk-private-segmented-control-surface-contrast-on-day: rgb(2, 77, 175) !default;
|
|
534
522
|
/// @group segmented-control-colors
|
|
535
523
|
$bpk-private-segmented-control-surface-contrast-on-night: rgb(5, 65, 132) !default;
|
|
524
|
+
/// @group colors
|
|
525
|
+
$bpk-color-black-tint-01: rgb(29, 27, 32) !default;
|
|
526
|
+
/// @group colors
|
|
527
|
+
$bpk-color-black-tint-02: rgb(44, 44, 46) !default;
|
|
528
|
+
/// @group colors
|
|
529
|
+
$bpk-color-black-tint-03: rgb(58, 58, 60) !default;
|
|
530
|
+
/// @group colors
|
|
531
|
+
$bpk-color-black-tint-04: rgb(72, 72, 74) !default;
|
|
532
|
+
/// @group colors
|
|
533
|
+
$bpk-color-black-tint-05: rgb(99, 99, 102) !default;
|
|
534
|
+
/// @group colors
|
|
535
|
+
$bpk-color-black-tint-06: rgb(142, 142, 147) !default;
|
|
536
536
|
/// @group animations
|
|
537
537
|
$bpk-duration-xs: 50ms !default;
|
|
538
538
|
/// @group animations
|
package/tokens/base.es6.d.ts
CHANGED
|
@@ -31,15 +31,9 @@ export declare const colorSkyGrayTint04 = "rgb(178, 178, 191)" as const;
|
|
|
31
31
|
export declare const colorHarbour = "rgb(246, 221, 225)" as const;
|
|
32
32
|
export declare const colorSkyGrayTint05 = "rgb(205, 205, 215)" as const;
|
|
33
33
|
export declare const colorSkyGrayTint06 = "rgb(221, 221, 229)" as const;
|
|
34
|
-
export declare const colorBlackTint01 = "rgb(29, 27, 32)" as const;
|
|
35
34
|
export declare const colorSkyGrayTint07 = "rgb(241, 242, 248)" as const;
|
|
36
|
-
export declare const colorBlackTint02 = "rgb(44, 44, 46)" as const;
|
|
37
35
|
export declare const colorAbisko = "rgb(90, 72, 155)" as const;
|
|
38
|
-
export declare const colorBlackTint03 = "rgb(58, 58, 60)" as const;
|
|
39
|
-
export declare const colorBlackTint04 = "rgb(72, 72, 74)" as const;
|
|
40
36
|
export declare const colorWhite = "rgb(255, 255, 255)" as const;
|
|
41
|
-
export declare const colorBlackTint05 = "rgb(99, 99, 102)" as const;
|
|
42
|
-
export declare const colorBlackTint06 = "rgb(142, 142, 147)" as const;
|
|
43
37
|
export declare const colorPanjin = "rgb(209, 67, 91)" as const;
|
|
44
38
|
export declare const colorKolkata = "rgb(255, 148, 0)" as const;
|
|
45
39
|
export declare const colorGlencoe = "rgb(115, 206, 198)" as const;
|
|
@@ -91,7 +85,7 @@ export declare const surfaceLowContrastNight = "rgb(36, 51, 70)" as const;
|
|
|
91
85
|
export declare const surfaceSubtleNight = "rgb(36, 51, 70)" as const;
|
|
92
86
|
export declare const surfaceElevatedDay = "rgb(255, 255, 255)" as const;
|
|
93
87
|
export declare const surfaceHighlightNight = "rgb(36, 51, 70)" as const;
|
|
94
|
-
export declare const surfaceLowContrastDay = "rgb(
|
|
88
|
+
export declare const surfaceLowContrastDay = "rgb(245, 247, 250)" as const;
|
|
95
89
|
export declare const surfaceSubtleDay = "rgb(227, 240, 255)" as const;
|
|
96
90
|
export declare const surfaceHighlightDay = "rgb(224, 228, 233)" as const;
|
|
97
91
|
export declare const textOnDarkDay = "rgb(255, 255, 255)" as const;
|
|
@@ -275,6 +269,12 @@ export declare const privateSegmentedControlSurfaceContrastDay = "rgba(255, 255,
|
|
|
275
269
|
export declare const privateSegmentedControlSurfaceContrastNight = "rgb(19, 29, 43)" as const;
|
|
276
270
|
export declare const privateSegmentedControlSurfaceContrastOnDay = "rgb(2, 77, 175)" as const;
|
|
277
271
|
export declare const privateSegmentedControlSurfaceContrastOnNight = "rgb(5, 65, 132)" as const;
|
|
272
|
+
export declare const colorBlackTint01 = "rgb(29, 27, 32)" as const;
|
|
273
|
+
export declare const colorBlackTint02 = "rgb(44, 44, 46)" as const;
|
|
274
|
+
export declare const colorBlackTint03 = "rgb(58, 58, 60)" as const;
|
|
275
|
+
export declare const colorBlackTint04 = "rgb(72, 72, 74)" as const;
|
|
276
|
+
export declare const colorBlackTint05 = "rgb(99, 99, 102)" as const;
|
|
277
|
+
export declare const colorBlackTint06 = "rgb(142, 142, 147)" as const;
|
|
278
278
|
export declare const durationXs = "50ms" as const;
|
|
279
279
|
export declare const durationSm = "200ms" as const;
|
|
280
280
|
export declare const durationBase = "400ms" as const;
|
|
@@ -554,15 +554,9 @@ colorSkyGrayTint04,
|
|
|
554
554
|
colorHarbour,
|
|
555
555
|
colorSkyGrayTint05,
|
|
556
556
|
colorSkyGrayTint06,
|
|
557
|
-
colorBlackTint01,
|
|
558
557
|
colorSkyGrayTint07,
|
|
559
|
-
colorBlackTint02,
|
|
560
558
|
colorAbisko,
|
|
561
|
-
colorBlackTint03,
|
|
562
|
-
colorBlackTint04,
|
|
563
559
|
colorWhite,
|
|
564
|
-
colorBlackTint05,
|
|
565
|
-
colorBlackTint06,
|
|
566
560
|
colorPanjin,
|
|
567
561
|
colorKolkata,
|
|
568
562
|
colorGlencoe,
|
|
@@ -595,6 +589,12 @@ backgroundAlternativeDarkColor,
|
|
|
595
589
|
primaryLightColor,
|
|
596
590
|
backgroundTertiaryLightColor,
|
|
597
591
|
backgroundSecondaryLightColor,
|
|
592
|
+
colorBlackTint01,
|
|
593
|
+
colorBlackTint02,
|
|
594
|
+
colorBlackTint03,
|
|
595
|
+
colorBlackTint04,
|
|
596
|
+
colorBlackTint05,
|
|
597
|
+
colorBlackTint06,
|
|
598
598
|
primaryGradient,
|
|
599
599
|
} as const;
|
|
600
600
|
export declare const coreColors = {
|
package/tokens/base.es6.js
CHANGED
|
@@ -31,15 +31,9 @@ export const colorSkyGrayTint04 = "rgb(178, 178, 191)";
|
|
|
31
31
|
export const colorHarbour = "rgb(246, 221, 225)";
|
|
32
32
|
export const colorSkyGrayTint05 = "rgb(205, 205, 215)";
|
|
33
33
|
export const colorSkyGrayTint06 = "rgb(221, 221, 229)";
|
|
34
|
-
export const colorBlackTint01 = "rgb(29, 27, 32)";
|
|
35
34
|
export const colorSkyGrayTint07 = "rgb(241, 242, 248)";
|
|
36
|
-
export const colorBlackTint02 = "rgb(44, 44, 46)";
|
|
37
35
|
export const colorAbisko = "rgb(90, 72, 155)";
|
|
38
|
-
export const colorBlackTint03 = "rgb(58, 58, 60)";
|
|
39
|
-
export const colorBlackTint04 = "rgb(72, 72, 74)";
|
|
40
36
|
export const colorWhite = "rgb(255, 255, 255)";
|
|
41
|
-
export const colorBlackTint05 = "rgb(99, 99, 102)";
|
|
42
|
-
export const colorBlackTint06 = "rgb(142, 142, 147)";
|
|
43
37
|
export const colorPanjin = "rgb(209, 67, 91)";
|
|
44
38
|
export const colorKolkata = "rgb(255, 148, 0)";
|
|
45
39
|
export const colorGlencoe = "rgb(115, 206, 198)";
|
|
@@ -91,7 +85,7 @@ export const surfaceLowContrastNight = "rgb(36, 51, 70)";
|
|
|
91
85
|
export const surfaceSubtleNight = "rgb(36, 51, 70)";
|
|
92
86
|
export const surfaceElevatedDay = "rgb(255, 255, 255)";
|
|
93
87
|
export const surfaceHighlightNight = "rgb(36, 51, 70)";
|
|
94
|
-
export const surfaceLowContrastDay = "rgb(
|
|
88
|
+
export const surfaceLowContrastDay = "rgb(245, 247, 250)";
|
|
95
89
|
export const surfaceSubtleDay = "rgb(227, 240, 255)";
|
|
96
90
|
export const surfaceHighlightDay = "rgb(224, 228, 233)";
|
|
97
91
|
export const textOnDarkDay = "rgb(255, 255, 255)";
|
|
@@ -275,6 +269,12 @@ export const privateSegmentedControlSurfaceContrastDay = "rgba(255, 255, 255, 0.
|
|
|
275
269
|
export const privateSegmentedControlSurfaceContrastNight = "rgb(19, 29, 43)";
|
|
276
270
|
export const privateSegmentedControlSurfaceContrastOnDay = "rgb(2, 77, 175)";
|
|
277
271
|
export const privateSegmentedControlSurfaceContrastOnNight = "rgb(5, 65, 132)";
|
|
272
|
+
export const colorBlackTint01 = "rgb(29, 27, 32)";
|
|
273
|
+
export const colorBlackTint02 = "rgb(44, 44, 46)";
|
|
274
|
+
export const colorBlackTint03 = "rgb(58, 58, 60)";
|
|
275
|
+
export const colorBlackTint04 = "rgb(72, 72, 74)";
|
|
276
|
+
export const colorBlackTint05 = "rgb(99, 99, 102)";
|
|
277
|
+
export const colorBlackTint06 = "rgb(142, 142, 147)";
|
|
278
278
|
export const durationXs = "50ms";
|
|
279
279
|
export const durationSm = "200ms";
|
|
280
280
|
export const durationBase = "400ms";
|
|
@@ -554,15 +554,9 @@ colorSkyGrayTint04,
|
|
|
554
554
|
colorHarbour,
|
|
555
555
|
colorSkyGrayTint05,
|
|
556
556
|
colorSkyGrayTint06,
|
|
557
|
-
colorBlackTint01,
|
|
558
557
|
colorSkyGrayTint07,
|
|
559
|
-
colorBlackTint02,
|
|
560
558
|
colorAbisko,
|
|
561
|
-
colorBlackTint03,
|
|
562
|
-
colorBlackTint04,
|
|
563
559
|
colorWhite,
|
|
564
|
-
colorBlackTint05,
|
|
565
|
-
colorBlackTint06,
|
|
566
560
|
colorPanjin,
|
|
567
561
|
colorKolkata,
|
|
568
562
|
colorGlencoe,
|
|
@@ -595,6 +589,12 @@ backgroundAlternativeDarkColor,
|
|
|
595
589
|
primaryLightColor,
|
|
596
590
|
backgroundTertiaryLightColor,
|
|
597
591
|
backgroundSecondaryLightColor,
|
|
592
|
+
colorBlackTint01,
|
|
593
|
+
colorBlackTint02,
|
|
594
|
+
colorBlackTint03,
|
|
595
|
+
colorBlackTint04,
|
|
596
|
+
colorBlackTint05,
|
|
597
|
+
colorBlackTint06,
|
|
598
598
|
primaryGradient,
|
|
599
599
|
};
|
|
600
600
|
export const coreColors = {
|
package/tokens/base.raw.json
CHANGED
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"value": "#ffb54d"
|
|
53
53
|
},
|
|
54
54
|
"GREY_05": {
|
|
55
|
-
"value": "#
|
|
55
|
+
"value": "#F5F7FA"
|
|
56
56
|
},
|
|
57
57
|
"NIGHT_GREEN_SPOT": {
|
|
58
58
|
"value": "#62F1C6"
|
|
@@ -578,14 +578,6 @@
|
|
|
578
578
|
"originalValue": "{!SKY_GRAY_TINT_06}",
|
|
579
579
|
"name": "COLOR_SKY_GRAY_TINT_06"
|
|
580
580
|
},
|
|
581
|
-
"COLOR_BLACK_TINT_01": {
|
|
582
|
-
"value": "rgb(29, 27, 32)",
|
|
583
|
-
"deprecated": true,
|
|
584
|
-
"type": "color",
|
|
585
|
-
"category": "colors",
|
|
586
|
-
"originalValue": "{!BLACK_TINT_01}",
|
|
587
|
-
"name": "COLOR_BLACK_TINT_01"
|
|
588
|
-
},
|
|
589
581
|
"COLOR_SKY_GRAY_TINT_07": {
|
|
590
582
|
"value": "rgb(241, 242, 248)",
|
|
591
583
|
"deprecated": true,
|
|
@@ -594,14 +586,6 @@
|
|
|
594
586
|
"originalValue": "{!SKY_GRAY_TINT_07}",
|
|
595
587
|
"name": "COLOR_SKY_GRAY_TINT_07"
|
|
596
588
|
},
|
|
597
|
-
"COLOR_BLACK_TINT_02": {
|
|
598
|
-
"value": "rgb(44, 44, 46)",
|
|
599
|
-
"deprecated": true,
|
|
600
|
-
"type": "color",
|
|
601
|
-
"category": "colors",
|
|
602
|
-
"originalValue": "{!BLACK_TINT_02}",
|
|
603
|
-
"name": "COLOR_BLACK_TINT_02"
|
|
604
|
-
},
|
|
605
589
|
"COLOR_ABISKO": {
|
|
606
590
|
"value": "rgb(90, 72, 155)",
|
|
607
591
|
"deprecated": true,
|
|
@@ -610,22 +594,6 @@
|
|
|
610
594
|
"originalValue": "{!ABISKO}",
|
|
611
595
|
"name": "COLOR_ABISKO"
|
|
612
596
|
},
|
|
613
|
-
"COLOR_BLACK_TINT_03": {
|
|
614
|
-
"value": "rgb(58, 58, 60)",
|
|
615
|
-
"deprecated": true,
|
|
616
|
-
"type": "color",
|
|
617
|
-
"category": "colors",
|
|
618
|
-
"originalValue": "{!BLACK_TINT_03}",
|
|
619
|
-
"name": "COLOR_BLACK_TINT_03"
|
|
620
|
-
},
|
|
621
|
-
"COLOR_BLACK_TINT_04": {
|
|
622
|
-
"value": "rgb(72, 72, 74)",
|
|
623
|
-
"deprecated": true,
|
|
624
|
-
"type": "color",
|
|
625
|
-
"category": "colors",
|
|
626
|
-
"originalValue": "{!BLACK_TINT_04}",
|
|
627
|
-
"name": "COLOR_BLACK_TINT_04"
|
|
628
|
-
},
|
|
629
597
|
"COLOR_WHITE": {
|
|
630
598
|
"type": "color",
|
|
631
599
|
"category": "colors",
|
|
@@ -633,22 +601,6 @@
|
|
|
633
601
|
"originalValue": "{!WHITE}",
|
|
634
602
|
"name": "COLOR_WHITE"
|
|
635
603
|
},
|
|
636
|
-
"COLOR_BLACK_TINT_05": {
|
|
637
|
-
"value": "rgb(99, 99, 102)",
|
|
638
|
-
"deprecated": true,
|
|
639
|
-
"type": "color",
|
|
640
|
-
"category": "colors",
|
|
641
|
-
"originalValue": "{!BLACK_TINT_05}",
|
|
642
|
-
"name": "COLOR_BLACK_TINT_05"
|
|
643
|
-
},
|
|
644
|
-
"COLOR_BLACK_TINT_06": {
|
|
645
|
-
"value": "rgb(142, 142, 147)",
|
|
646
|
-
"deprecated": true,
|
|
647
|
-
"type": "color",
|
|
648
|
-
"category": "colors",
|
|
649
|
-
"originalValue": "{!BLACK_TINT_06}",
|
|
650
|
-
"name": "COLOR_BLACK_TINT_06"
|
|
651
|
-
},
|
|
652
604
|
"COLOR_PANJIN": {
|
|
653
605
|
"value": "rgb(209, 67, 91)",
|
|
654
606
|
"deprecated": true,
|
|
@@ -1024,7 +976,7 @@
|
|
|
1024
976
|
"SURFACE_LOW_CONTRAST_DAY": {
|
|
1025
977
|
"type": "color",
|
|
1026
978
|
"category": "surface-colors",
|
|
1027
|
-
"value": "rgb(
|
|
979
|
+
"value": "rgb(245, 247, 250)",
|
|
1028
980
|
"originalValue": "{!GREY_05}",
|
|
1029
981
|
"name": "SURFACE_LOW_CONTRAST_DAY"
|
|
1030
982
|
},
|
|
@@ -2339,6 +2291,54 @@
|
|
|
2339
2291
|
"originalValue": "{!NIGHT_SKY}",
|
|
2340
2292
|
"name": "PRIVATE_SEGMENTED_CONTROL_SURFACE_CONTRAST_ON_NIGHT"
|
|
2341
2293
|
},
|
|
2294
|
+
"COLOR_BLACK_TINT_01": {
|
|
2295
|
+
"value": "rgb(29, 27, 32)",
|
|
2296
|
+
"deprecated": true,
|
|
2297
|
+
"type": "color",
|
|
2298
|
+
"category": "colors",
|
|
2299
|
+
"originalValue": "{!BLACK_TINT_01}",
|
|
2300
|
+
"name": "COLOR_BLACK_TINT_01"
|
|
2301
|
+
},
|
|
2302
|
+
"COLOR_BLACK_TINT_02": {
|
|
2303
|
+
"value": "rgb(44, 44, 46)",
|
|
2304
|
+
"deprecated": true,
|
|
2305
|
+
"type": "color",
|
|
2306
|
+
"category": "colors",
|
|
2307
|
+
"originalValue": "{!BLACK_TINT_02}",
|
|
2308
|
+
"name": "COLOR_BLACK_TINT_02"
|
|
2309
|
+
},
|
|
2310
|
+
"COLOR_BLACK_TINT_03": {
|
|
2311
|
+
"value": "rgb(58, 58, 60)",
|
|
2312
|
+
"deprecated": true,
|
|
2313
|
+
"type": "color",
|
|
2314
|
+
"category": "colors",
|
|
2315
|
+
"originalValue": "{!BLACK_TINT_03}",
|
|
2316
|
+
"name": "COLOR_BLACK_TINT_03"
|
|
2317
|
+
},
|
|
2318
|
+
"COLOR_BLACK_TINT_04": {
|
|
2319
|
+
"value": "rgb(72, 72, 74)",
|
|
2320
|
+
"deprecated": true,
|
|
2321
|
+
"type": "color",
|
|
2322
|
+
"category": "colors",
|
|
2323
|
+
"originalValue": "{!BLACK_TINT_04}",
|
|
2324
|
+
"name": "COLOR_BLACK_TINT_04"
|
|
2325
|
+
},
|
|
2326
|
+
"COLOR_BLACK_TINT_05": {
|
|
2327
|
+
"value": "rgb(99, 99, 102)",
|
|
2328
|
+
"deprecated": true,
|
|
2329
|
+
"type": "color",
|
|
2330
|
+
"category": "colors",
|
|
2331
|
+
"originalValue": "{!BLACK_TINT_05}",
|
|
2332
|
+
"name": "COLOR_BLACK_TINT_05"
|
|
2333
|
+
},
|
|
2334
|
+
"COLOR_BLACK_TINT_06": {
|
|
2335
|
+
"value": "rgb(142, 142, 147)",
|
|
2336
|
+
"deprecated": true,
|
|
2337
|
+
"type": "color",
|
|
2338
|
+
"category": "colors",
|
|
2339
|
+
"originalValue": "{!BLACK_TINT_06}",
|
|
2340
|
+
"name": "COLOR_BLACK_TINT_06"
|
|
2341
|
+
},
|
|
2342
2342
|
"DURATION_XS": {
|
|
2343
2343
|
"type": "duration",
|
|
2344
2344
|
"category": "animations",
|
package/tokens/base.scss
CHANGED
|
@@ -46,24 +46,12 @@ $bpk-color-sky-gray-tint-05: rgb(205, 205, 215);
|
|
|
46
46
|
/// @group colors
|
|
47
47
|
$bpk-color-sky-gray-tint-06: rgb(221, 221, 229);
|
|
48
48
|
/// @group colors
|
|
49
|
-
$bpk-color-black-tint-01: rgb(29, 27, 32);
|
|
50
|
-
/// @group colors
|
|
51
49
|
$bpk-color-sky-gray-tint-07: rgb(241, 242, 248);
|
|
52
50
|
/// @group colors
|
|
53
|
-
$bpk-color-black-tint-02: rgb(44, 44, 46);
|
|
54
|
-
/// @group colors
|
|
55
51
|
$bpk-color-abisko: rgb(90, 72, 155);
|
|
56
52
|
/// @group colors
|
|
57
|
-
$bpk-color-black-tint-03: rgb(58, 58, 60);
|
|
58
|
-
/// @group colors
|
|
59
|
-
$bpk-color-black-tint-04: rgb(72, 72, 74);
|
|
60
|
-
/// @group colors
|
|
61
53
|
$bpk-color-white: rgb(255, 255, 255);
|
|
62
54
|
/// @group colors
|
|
63
|
-
$bpk-color-black-tint-05: rgb(99, 99, 102);
|
|
64
|
-
/// @group colors
|
|
65
|
-
$bpk-color-black-tint-06: rgb(142, 142, 147);
|
|
66
|
-
/// @group colors
|
|
67
55
|
$bpk-color-panjin: rgb(209, 67, 91);
|
|
68
56
|
/// @group colors
|
|
69
57
|
$bpk-color-kolkata: rgb(255, 148, 0);
|
|
@@ -166,7 +154,7 @@ $bpk-surface-elevated-day: rgb(255, 255, 255);
|
|
|
166
154
|
/// @group surface-colors
|
|
167
155
|
$bpk-surface-highlight-night: rgb(36, 51, 70);
|
|
168
156
|
/// @group surface-colors
|
|
169
|
-
$bpk-surface-low-contrast-day: rgb(
|
|
157
|
+
$bpk-surface-low-contrast-day: rgb(245, 247, 250);
|
|
170
158
|
/// @group surface-colors
|
|
171
159
|
$bpk-surface-subtle-day: rgb(227, 240, 255);
|
|
172
160
|
/// @group surface-colors
|
|
@@ -533,6 +521,18 @@ $bpk-private-segmented-control-surface-contrast-night: rgb(19, 29, 43);
|
|
|
533
521
|
$bpk-private-segmented-control-surface-contrast-on-day: rgb(2, 77, 175);
|
|
534
522
|
/// @group segmented-control-colors
|
|
535
523
|
$bpk-private-segmented-control-surface-contrast-on-night: rgb(5, 65, 132);
|
|
524
|
+
/// @group colors
|
|
525
|
+
$bpk-color-black-tint-01: rgb(29, 27, 32);
|
|
526
|
+
/// @group colors
|
|
527
|
+
$bpk-color-black-tint-02: rgb(44, 44, 46);
|
|
528
|
+
/// @group colors
|
|
529
|
+
$bpk-color-black-tint-03: rgb(58, 58, 60);
|
|
530
|
+
/// @group colors
|
|
531
|
+
$bpk-color-black-tint-04: rgb(72, 72, 74);
|
|
532
|
+
/// @group colors
|
|
533
|
+
$bpk-color-black-tint-05: rgb(99, 99, 102);
|
|
534
|
+
/// @group colors
|
|
535
|
+
$bpk-color-black-tint-06: rgb(142, 142, 147);
|
|
536
536
|
/// @group animations
|
|
537
537
|
$bpk-duration-xs: 50ms;
|
|
538
538
|
/// @group animations
|