@skyscanner/bpk-foundations-web 22.4.0 → 24.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/package.json +3 -3
- package/tokens/base.common.js +12 -8
- package/tokens/base.default.scss +16 -8
- package/tokens/base.es6.d.ts +22 -14
- package/tokens/base.es6.js +22 -14
- package/tokens/base.raw.json +62 -24
- package/tokens/base.scss +16 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyscanner/bpk-foundations-web",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "24.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": "^24.0.0",
|
|
21
21
|
"color": "^5.0.0"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "c0b09255d56f00c139988461085774835a0d573b"
|
|
24
24
|
}
|
package/tokens/base.common.js
CHANGED
|
@@ -44,8 +44,10 @@ module.exports = {
|
|
|
44
44
|
statusDangerFillDay: "rgb(255, 233, 249)",
|
|
45
45
|
statusWarningFillDay: "rgb(255, 247, 207)",
|
|
46
46
|
surfaceHeroNight: "rgb(1, 9, 19)",
|
|
47
|
+
surfaceTintNight: "rgba(255, 255, 255, 0.1)",
|
|
47
48
|
surfaceDefaultNight: "rgb(19, 29, 43)",
|
|
48
49
|
surfaceHeroDay: "rgb(0, 98, 227)",
|
|
50
|
+
surfaceTintDay: "rgba(255, 255, 255, 0.1)",
|
|
49
51
|
surfaceDefaultDay: "rgb(255, 255, 255)",
|
|
50
52
|
surfaceContrastNight: "rgb(1, 9, 19)",
|
|
51
53
|
surfaceContrastDay: "rgb(5, 32, 60)",
|
|
@@ -116,14 +118,16 @@ module.exports = {
|
|
|
116
118
|
marcommsGreenMuted: "rgb(212, 255, 242)",
|
|
117
119
|
marcommsBlueMuted: "rgb(217, 248, 255)",
|
|
118
120
|
marcommsEcoGreen: "rgb(15, 161, 169)",
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
privateChipOnDarkOnBackgroundDay: "rgb(255, 255, 255)",
|
|
121
|
+
privateChipOnDarkOnFillDay: "rgb(21, 70, 121)",
|
|
122
|
+
privateChipOnDarkOnDismissIconNight: "rgba(255, 255, 255, 0.5)",
|
|
122
123
|
privateChipOnDarkOnBackgroundNight: "rgb(5, 65, 132)",
|
|
123
|
-
|
|
124
|
-
privateChipDisabledBackgroundNight: "rgb(11, 18, 29)",
|
|
124
|
+
privateChipOnDarkOnBackgroundDay: "rgb(255, 255, 255)",
|
|
125
125
|
privateChipOnDarkOnDismissIconDay: "rgb(98, 105, 113)",
|
|
126
|
-
|
|
126
|
+
privateChipOnDarkPressedStrokeNight: "rgb(5, 65, 132)",
|
|
127
|
+
privateChipOnDarkPressedStrokeDay: "rgb(255, 255, 255)",
|
|
128
|
+
privateChipDisabledBackgroundNight: "rgb(11, 18, 29)",
|
|
129
|
+
privateChipDisabledBackgroundDay: "rgb(224, 228, 233)",
|
|
130
|
+
privateChipOnDarkOnFillNight: "rgb(2, 77, 175)",
|
|
127
131
|
privateMapPreviousSelectionDay: "rgb(207, 228, 255)",
|
|
128
132
|
privateMapClusterPinNight: "rgb(255, 255, 255)",
|
|
129
133
|
privateMapClusterPinPreviousSelectionNight: "rgb(148, 195, 255)",
|
|
@@ -155,12 +159,12 @@ module.exports = {
|
|
|
155
159
|
privateButtonFeaturedPressedBackgroundDay: "rgb(2, 77, 175)",
|
|
156
160
|
privateButtonPrimaryOnDarkDisabledForegroundNight: "rgba(255, 255, 255, 0.2)",
|
|
157
161
|
privateButtonSecondaryOnDarkDisabledBackgroundDay: "rgb(11, 18, 29)",
|
|
158
|
-
privateButtonSecondaryOnDarkPressedBackgroundNight: "
|
|
162
|
+
privateButtonSecondaryOnDarkPressedBackgroundNight: "rgba(255, 255, 255, 0.2)",
|
|
159
163
|
privateButtonDestructiveNormalForegroundDay: "rgb(231, 8, 102)",
|
|
160
164
|
privateButtonPrimaryOnDarkNormalBackgroundDay: "rgb(255, 255, 255)",
|
|
161
165
|
privateButtonPrimaryOnDarkDisabledForegroundDay: "rgba(0, 0, 0, 0.2)",
|
|
162
166
|
privateButtonLinkPressedForegroundNight: "rgb(209, 247, 255)",
|
|
163
|
-
privateButtonSecondaryOnDarkPressedBackgroundDay: "rgb(
|
|
167
|
+
privateButtonSecondaryOnDarkPressedBackgroundDay: "rgb(4, 24, 45)",
|
|
164
168
|
privateButtonPrimaryOnLightDisabledBackgroundNight: "rgb(11, 18, 29)",
|
|
165
169
|
privateButtonLinkPressedForegroundDay: "rgb(2, 77, 175)",
|
|
166
170
|
privateButtonDestructiveNormalBackgroundNight: "rgb(36, 51, 70)",
|
package/tokens/base.default.scss
CHANGED
|
@@ -68,10 +68,14 @@ $bpk-status-warning-fill-day: rgb(255, 247, 207) !default;
|
|
|
68
68
|
/// @group surface-colors
|
|
69
69
|
$bpk-surface-hero-night: rgb(1, 9, 19) !default;
|
|
70
70
|
/// @group surface-colors
|
|
71
|
+
$bpk-surface-tint-night: rgba(255, 255, 255, 0.1) !default;
|
|
72
|
+
/// @group surface-colors
|
|
71
73
|
$bpk-surface-default-night: rgb(19, 29, 43) !default;
|
|
72
74
|
/// @group surface-colors
|
|
73
75
|
$bpk-surface-hero-day: rgb(0, 98, 227) !default;
|
|
74
76
|
/// @group surface-colors
|
|
77
|
+
$bpk-surface-tint-day: rgba(255, 255, 255, 0.1) !default;
|
|
78
|
+
/// @group surface-colors
|
|
75
79
|
$bpk-surface-default-day: rgb(255, 255, 255) !default;
|
|
76
80
|
/// @group surface-colors
|
|
77
81
|
$bpk-surface-contrast-night: rgb(1, 9, 19) !default;
|
|
@@ -212,21 +216,25 @@ $bpk-marcomms-blue-muted: rgb(217, 248, 255) !default;
|
|
|
212
216
|
/// @group marcomms-colors
|
|
213
217
|
$bpk-marcomms-eco-green: rgb(15, 161, 169) !default;
|
|
214
218
|
/// @group chip-colors
|
|
215
|
-
$bpk-private-chip-on-dark-
|
|
219
|
+
$bpk-private-chip-on-dark-on-fill-day: rgb(21, 70, 121) !default;
|
|
216
220
|
/// @group chip-colors
|
|
217
|
-
$bpk-private-chip-on-dark-
|
|
221
|
+
$bpk-private-chip-on-dark-on-dismiss-icon-night: rgba(255, 255, 255, 0.5) !default;
|
|
222
|
+
/// @group chip-colors
|
|
223
|
+
$bpk-private-chip-on-dark-on-background-night: rgb(5, 65, 132) !default;
|
|
218
224
|
/// @group chip-colors
|
|
219
225
|
$bpk-private-chip-on-dark-on-background-day: rgb(255, 255, 255) !default;
|
|
220
226
|
/// @group chip-colors
|
|
221
|
-
$bpk-private-chip-on-dark-on-
|
|
227
|
+
$bpk-private-chip-on-dark-on-dismiss-icon-day: rgb(98, 105, 113) !default;
|
|
222
228
|
/// @group chip-colors
|
|
223
|
-
$bpk-private-chip-
|
|
229
|
+
$bpk-private-chip-on-dark-pressed-stroke-night: rgb(5, 65, 132) !default;
|
|
230
|
+
/// @group chip-colors
|
|
231
|
+
$bpk-private-chip-on-dark-pressed-stroke-day: rgb(255, 255, 255) !default;
|
|
224
232
|
/// @group chip-colors
|
|
225
233
|
$bpk-private-chip-disabled-background-night: rgb(11, 18, 29) !default;
|
|
226
234
|
/// @group chip-colors
|
|
227
|
-
$bpk-private-chip-
|
|
235
|
+
$bpk-private-chip-disabled-background-day: rgb(224, 228, 233) !default;
|
|
228
236
|
/// @group chip-colors
|
|
229
|
-
$bpk-private-chip-on-dark-on-
|
|
237
|
+
$bpk-private-chip-on-dark-on-fill-night: rgb(2, 77, 175) !default;
|
|
230
238
|
/// @group map-marker-colors
|
|
231
239
|
$bpk-private-map-previous-selection-day: rgb(207, 228, 255) !default;
|
|
232
240
|
/// @group map-marker-colors
|
|
@@ -290,7 +298,7 @@ $bpk-private-button-primary-on-dark-disabled-foreground-night: rgba(255, 255, 25
|
|
|
290
298
|
/// @group button-colors
|
|
291
299
|
$bpk-private-button-secondary-on-dark-disabled-background-day: rgb(11, 18, 29) !default;
|
|
292
300
|
/// @group button-colors
|
|
293
|
-
$bpk-private-button-secondary-on-dark-pressed-background-night:
|
|
301
|
+
$bpk-private-button-secondary-on-dark-pressed-background-night: rgba(255, 255, 255, 0.2) !default;
|
|
294
302
|
/// @group button-colors
|
|
295
303
|
$bpk-private-button-destructive-normal-foreground-day: rgb(231, 8, 102) !default;
|
|
296
304
|
/// @group button-colors
|
|
@@ -300,7 +308,7 @@ $bpk-private-button-primary-on-dark-disabled-foreground-day: rgba(0, 0, 0, 0.2)
|
|
|
300
308
|
/// @group button-colors
|
|
301
309
|
$bpk-private-button-link-pressed-foreground-night: rgb(209, 247, 255) !default;
|
|
302
310
|
/// @group button-colors
|
|
303
|
-
$bpk-private-button-secondary-on-dark-pressed-background-day: rgb(
|
|
311
|
+
$bpk-private-button-secondary-on-dark-pressed-background-day: rgb(4, 24, 45) !default;
|
|
304
312
|
/// @group button-colors
|
|
305
313
|
$bpk-private-button-primary-on-light-disabled-background-night: rgb(11, 18, 29) !default;
|
|
306
314
|
/// @group button-colors
|
package/tokens/base.es6.d.ts
CHANGED
|
@@ -42,8 +42,10 @@ export declare const statusWarningSpotDay = "rgb(245, 93, 66)" as const;
|
|
|
42
42
|
export declare const statusDangerFillDay = "rgb(255, 233, 249)" as const;
|
|
43
43
|
export declare const statusWarningFillDay = "rgb(255, 247, 207)" as const;
|
|
44
44
|
export declare const surfaceHeroNight = "rgb(1, 9, 19)" as const;
|
|
45
|
+
export declare const surfaceTintNight = "rgba(255, 255, 255, 0.1)" as const;
|
|
45
46
|
export declare const surfaceDefaultNight = "rgb(19, 29, 43)" as const;
|
|
46
47
|
export declare const surfaceHeroDay = "rgb(0, 98, 227)" as const;
|
|
48
|
+
export declare const surfaceTintDay = "rgba(255, 255, 255, 0.1)" as const;
|
|
47
49
|
export declare const surfaceDefaultDay = "rgb(255, 255, 255)" as const;
|
|
48
50
|
export declare const surfaceContrastNight = "rgb(1, 9, 19)" as const;
|
|
49
51
|
export declare const surfaceContrastDay = "rgb(5, 32, 60)" as const;
|
|
@@ -114,14 +116,16 @@ export declare const marcommsPinkMuted = "rgb(255, 233, 249)" as const;
|
|
|
114
116
|
export declare const marcommsGreenMuted = "rgb(212, 255, 242)" as const;
|
|
115
117
|
export declare const marcommsBlueMuted = "rgb(217, 248, 255)" as const;
|
|
116
118
|
export declare const marcommsEcoGreen = "rgb(15, 161, 169)" as const;
|
|
117
|
-
export declare const
|
|
118
|
-
export declare const
|
|
119
|
-
export declare const privateChipOnDarkOnBackgroundDay = "rgb(255, 255, 255)" as const;
|
|
119
|
+
export declare const privateChipOnDarkOnFillDay = "rgb(21, 70, 121)" as const;
|
|
120
|
+
export declare const privateChipOnDarkOnDismissIconNight = "rgba(255, 255, 255, 0.5)" as const;
|
|
120
121
|
export declare const privateChipOnDarkOnBackgroundNight = "rgb(5, 65, 132)" as const;
|
|
121
|
-
export declare const
|
|
122
|
-
export declare const privateChipDisabledBackgroundNight = "rgb(11, 18, 29)" as const;
|
|
122
|
+
export declare const privateChipOnDarkOnBackgroundDay = "rgb(255, 255, 255)" as const;
|
|
123
123
|
export declare const privateChipOnDarkOnDismissIconDay = "rgb(98, 105, 113)" as const;
|
|
124
|
-
export declare const
|
|
124
|
+
export declare const privateChipOnDarkPressedStrokeNight = "rgb(5, 65, 132)" as const;
|
|
125
|
+
export declare const privateChipOnDarkPressedStrokeDay = "rgb(255, 255, 255)" as const;
|
|
126
|
+
export declare const privateChipDisabledBackgroundNight = "rgb(11, 18, 29)" as const;
|
|
127
|
+
export declare const privateChipDisabledBackgroundDay = "rgb(224, 228, 233)" as const;
|
|
128
|
+
export declare const privateChipOnDarkOnFillNight = "rgb(2, 77, 175)" as const;
|
|
125
129
|
export declare const privateMapPreviousSelectionDay = "rgb(207, 228, 255)" as const;
|
|
126
130
|
export declare const privateMapClusterPinNight = "rgb(255, 255, 255)" as const;
|
|
127
131
|
export declare const privateMapClusterPinPreviousSelectionNight = "rgb(148, 195, 255)" as const;
|
|
@@ -153,12 +157,12 @@ export declare const privateButtonPrimaryOnDarkNormalBackgroundNight = "rgb(255,
|
|
|
153
157
|
export declare const privateButtonFeaturedPressedBackgroundDay = "rgb(2, 77, 175)" as const;
|
|
154
158
|
export declare const privateButtonPrimaryOnDarkDisabledForegroundNight = "rgba(255, 255, 255, 0.2)" as const;
|
|
155
159
|
export declare const privateButtonSecondaryOnDarkDisabledBackgroundDay = "rgb(11, 18, 29)" as const;
|
|
156
|
-
export declare const privateButtonSecondaryOnDarkPressedBackgroundNight = "
|
|
160
|
+
export declare const privateButtonSecondaryOnDarkPressedBackgroundNight = "rgba(255, 255, 255, 0.2)" as const;
|
|
157
161
|
export declare const privateButtonDestructiveNormalForegroundDay = "rgb(231, 8, 102)" as const;
|
|
158
162
|
export declare const privateButtonPrimaryOnDarkNormalBackgroundDay = "rgb(255, 255, 255)" as const;
|
|
159
163
|
export declare const privateButtonPrimaryOnDarkDisabledForegroundDay = "rgba(0, 0, 0, 0.2)" as const;
|
|
160
164
|
export declare const privateButtonLinkPressedForegroundNight = "rgb(209, 247, 255)" as const;
|
|
161
|
-
export declare const privateButtonSecondaryOnDarkPressedBackgroundDay = "rgb(
|
|
165
|
+
export declare const privateButtonSecondaryOnDarkPressedBackgroundDay = "rgb(4, 24, 45)" as const;
|
|
162
166
|
export declare const privateButtonPrimaryOnLightDisabledBackgroundNight = "rgb(11, 18, 29)" as const;
|
|
163
167
|
export declare const privateButtonLinkPressedForegroundDay = "rgb(2, 77, 175)" as const;
|
|
164
168
|
export declare const privateButtonDestructiveNormalBackgroundNight = "rgb(36, 51, 70)" as const;
|
|
@@ -534,14 +538,16 @@ cardBackgroundColor,
|
|
|
534
538
|
cardPadding,
|
|
535
539
|
} as const;
|
|
536
540
|
export declare const chipColors = {
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
privateChipOnDarkOnBackgroundDay,
|
|
541
|
+
privateChipOnDarkOnFillDay,
|
|
542
|
+
privateChipOnDarkOnDismissIconNight,
|
|
540
543
|
privateChipOnDarkOnBackgroundNight,
|
|
541
|
-
|
|
542
|
-
privateChipDisabledBackgroundNight,
|
|
544
|
+
privateChipOnDarkOnBackgroundDay,
|
|
543
545
|
privateChipOnDarkOnDismissIconDay,
|
|
544
|
-
|
|
546
|
+
privateChipOnDarkPressedStrokeNight,
|
|
547
|
+
privateChipOnDarkPressedStrokeDay,
|
|
548
|
+
privateChipDisabledBackgroundNight,
|
|
549
|
+
privateChipDisabledBackgroundDay,
|
|
550
|
+
privateChipOnDarkOnFillNight,
|
|
545
551
|
} as const;
|
|
546
552
|
export declare const colors = {
|
|
547
553
|
colorSkyBlueShade03,
|
|
@@ -796,8 +802,10 @@ statusWarningFillDay,
|
|
|
796
802
|
} as const;
|
|
797
803
|
export declare const surfaceColors = {
|
|
798
804
|
surfaceHeroNight,
|
|
805
|
+
surfaceTintNight,
|
|
799
806
|
surfaceDefaultNight,
|
|
800
807
|
surfaceHeroDay,
|
|
808
|
+
surfaceTintDay,
|
|
801
809
|
surfaceDefaultDay,
|
|
802
810
|
surfaceContrastNight,
|
|
803
811
|
surfaceContrastDay,
|
package/tokens/base.es6.js
CHANGED
|
@@ -42,8 +42,10 @@ export const statusWarningSpotDay = "rgb(245, 93, 66)";
|
|
|
42
42
|
export const statusDangerFillDay = "rgb(255, 233, 249)";
|
|
43
43
|
export const statusWarningFillDay = "rgb(255, 247, 207)";
|
|
44
44
|
export const surfaceHeroNight = "rgb(1, 9, 19)";
|
|
45
|
+
export const surfaceTintNight = "rgba(255, 255, 255, 0.1)";
|
|
45
46
|
export const surfaceDefaultNight = "rgb(19, 29, 43)";
|
|
46
47
|
export const surfaceHeroDay = "rgb(0, 98, 227)";
|
|
48
|
+
export const surfaceTintDay = "rgba(255, 255, 255, 0.1)";
|
|
47
49
|
export const surfaceDefaultDay = "rgb(255, 255, 255)";
|
|
48
50
|
export const surfaceContrastNight = "rgb(1, 9, 19)";
|
|
49
51
|
export const surfaceContrastDay = "rgb(5, 32, 60)";
|
|
@@ -114,14 +116,16 @@ export const marcommsPinkMuted = "rgb(255, 233, 249)";
|
|
|
114
116
|
export const marcommsGreenMuted = "rgb(212, 255, 242)";
|
|
115
117
|
export const marcommsBlueMuted = "rgb(217, 248, 255)";
|
|
116
118
|
export const marcommsEcoGreen = "rgb(15, 161, 169)";
|
|
117
|
-
export const
|
|
118
|
-
export const
|
|
119
|
-
export const privateChipOnDarkOnBackgroundDay = "rgb(255, 255, 255)";
|
|
119
|
+
export const privateChipOnDarkOnFillDay = "rgb(21, 70, 121)";
|
|
120
|
+
export const privateChipOnDarkOnDismissIconNight = "rgba(255, 255, 255, 0.5)";
|
|
120
121
|
export const privateChipOnDarkOnBackgroundNight = "rgb(5, 65, 132)";
|
|
121
|
-
export const
|
|
122
|
-
export const privateChipDisabledBackgroundNight = "rgb(11, 18, 29)";
|
|
122
|
+
export const privateChipOnDarkOnBackgroundDay = "rgb(255, 255, 255)";
|
|
123
123
|
export const privateChipOnDarkOnDismissIconDay = "rgb(98, 105, 113)";
|
|
124
|
-
export const
|
|
124
|
+
export const privateChipOnDarkPressedStrokeNight = "rgb(5, 65, 132)";
|
|
125
|
+
export const privateChipOnDarkPressedStrokeDay = "rgb(255, 255, 255)";
|
|
126
|
+
export const privateChipDisabledBackgroundNight = "rgb(11, 18, 29)";
|
|
127
|
+
export const privateChipDisabledBackgroundDay = "rgb(224, 228, 233)";
|
|
128
|
+
export const privateChipOnDarkOnFillNight = "rgb(2, 77, 175)";
|
|
125
129
|
export const privateMapPreviousSelectionDay = "rgb(207, 228, 255)";
|
|
126
130
|
export const privateMapClusterPinNight = "rgb(255, 255, 255)";
|
|
127
131
|
export const privateMapClusterPinPreviousSelectionNight = "rgb(148, 195, 255)";
|
|
@@ -153,12 +157,12 @@ export const privateButtonPrimaryOnDarkNormalBackgroundNight = "rgb(255, 255, 25
|
|
|
153
157
|
export const privateButtonFeaturedPressedBackgroundDay = "rgb(2, 77, 175)";
|
|
154
158
|
export const privateButtonPrimaryOnDarkDisabledForegroundNight = "rgba(255, 255, 255, 0.2)";
|
|
155
159
|
export const privateButtonSecondaryOnDarkDisabledBackgroundDay = "rgb(11, 18, 29)";
|
|
156
|
-
export const privateButtonSecondaryOnDarkPressedBackgroundNight = "
|
|
160
|
+
export const privateButtonSecondaryOnDarkPressedBackgroundNight = "rgba(255, 255, 255, 0.2)";
|
|
157
161
|
export const privateButtonDestructiveNormalForegroundDay = "rgb(231, 8, 102)";
|
|
158
162
|
export const privateButtonPrimaryOnDarkNormalBackgroundDay = "rgb(255, 255, 255)";
|
|
159
163
|
export const privateButtonPrimaryOnDarkDisabledForegroundDay = "rgba(0, 0, 0, 0.2)";
|
|
160
164
|
export const privateButtonLinkPressedForegroundNight = "rgb(209, 247, 255)";
|
|
161
|
-
export const privateButtonSecondaryOnDarkPressedBackgroundDay = "rgb(
|
|
165
|
+
export const privateButtonSecondaryOnDarkPressedBackgroundDay = "rgb(4, 24, 45)";
|
|
162
166
|
export const privateButtonPrimaryOnLightDisabledBackgroundNight = "rgb(11, 18, 29)";
|
|
163
167
|
export const privateButtonLinkPressedForegroundDay = "rgb(2, 77, 175)";
|
|
164
168
|
export const privateButtonDestructiveNormalBackgroundNight = "rgb(36, 51, 70)";
|
|
@@ -534,14 +538,16 @@ cardBackgroundColor,
|
|
|
534
538
|
cardPadding,
|
|
535
539
|
};
|
|
536
540
|
export const chipColors = {
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
privateChipOnDarkOnBackgroundDay,
|
|
541
|
+
privateChipOnDarkOnFillDay,
|
|
542
|
+
privateChipOnDarkOnDismissIconNight,
|
|
540
543
|
privateChipOnDarkOnBackgroundNight,
|
|
541
|
-
|
|
542
|
-
privateChipDisabledBackgroundNight,
|
|
544
|
+
privateChipOnDarkOnBackgroundDay,
|
|
543
545
|
privateChipOnDarkOnDismissIconDay,
|
|
544
|
-
|
|
546
|
+
privateChipOnDarkPressedStrokeNight,
|
|
547
|
+
privateChipOnDarkPressedStrokeDay,
|
|
548
|
+
privateChipDisabledBackgroundNight,
|
|
549
|
+
privateChipDisabledBackgroundDay,
|
|
550
|
+
privateChipOnDarkOnFillNight,
|
|
545
551
|
};
|
|
546
552
|
export const colors = {
|
|
547
553
|
colorSkyBlueShade03,
|
|
@@ -796,8 +802,10 @@ statusWarningFillDay,
|
|
|
796
802
|
};
|
|
797
803
|
export const surfaceColors = {
|
|
798
804
|
surfaceHeroNight,
|
|
805
|
+
surfaceTintNight,
|
|
799
806
|
surfaceDefaultNight,
|
|
800
807
|
surfaceHeroDay,
|
|
808
|
+
surfaceTintDay,
|
|
801
809
|
surfaceDefaultDay,
|
|
802
810
|
surfaceContrastNight,
|
|
803
811
|
surfaceContrastDay,
|
package/tokens/base.raw.json
CHANGED
|
@@ -72,6 +72,9 @@
|
|
|
72
72
|
"WHITE_ALPHA_50": {
|
|
73
73
|
"value": "#FFFFFF80"
|
|
74
74
|
},
|
|
75
|
+
"MIDNIGHT_SKY": {
|
|
76
|
+
"value": "#04182D"
|
|
77
|
+
},
|
|
75
78
|
"NIGHT_BLUE_100": {
|
|
76
79
|
"value": "#002B5B"
|
|
77
80
|
},
|
|
@@ -108,6 +111,9 @@
|
|
|
108
111
|
"NIGHT_GREY_10": {
|
|
109
112
|
"value": "#010913"
|
|
110
113
|
},
|
|
114
|
+
"BABY_BLUE_30": {
|
|
115
|
+
"value": "#B4D7FF"
|
|
116
|
+
},
|
|
111
117
|
"BLACK_ALPHA_80": {
|
|
112
118
|
"value": "#000000CC"
|
|
113
119
|
},
|
|
@@ -519,6 +525,7 @@
|
|
|
519
525
|
"type": "color",
|
|
520
526
|
"category": "core-colors",
|
|
521
527
|
"value": "rgb(15, 161, 169)",
|
|
528
|
+
"deprecated": true,
|
|
522
529
|
"originalValue": "{!ECO_GREEN}",
|
|
523
530
|
"name": "CORE_ECO_DAY"
|
|
524
531
|
},
|
|
@@ -526,6 +533,7 @@
|
|
|
526
533
|
"type": "color",
|
|
527
534
|
"category": "core-colors",
|
|
528
535
|
"value": "rgb(15, 161, 169)",
|
|
536
|
+
"deprecated": true,
|
|
529
537
|
"originalValue": "{!ECO_GREEN}",
|
|
530
538
|
"name": "CORE_ECO_NIGHT"
|
|
531
539
|
},
|
|
@@ -648,6 +656,13 @@
|
|
|
648
656
|
"originalValue": "{!NIGHT_GREY_10}",
|
|
649
657
|
"name": "SURFACE_HERO_NIGHT"
|
|
650
658
|
},
|
|
659
|
+
"SURFACE_TINT_NIGHT": {
|
|
660
|
+
"type": "color",
|
|
661
|
+
"category": "surface-colors",
|
|
662
|
+
"value": "rgba(255, 255, 255, 0.1)",
|
|
663
|
+
"originalValue": "{!WHITE_ALPHA_10}",
|
|
664
|
+
"name": "SURFACE_TINT_NIGHT"
|
|
665
|
+
},
|
|
651
666
|
"SURFACE_DEFAULT_NIGHT": {
|
|
652
667
|
"type": "color",
|
|
653
668
|
"category": "surface-colors",
|
|
@@ -662,6 +677,13 @@
|
|
|
662
677
|
"originalValue": "{!SKY_BLUE}",
|
|
663
678
|
"name": "SURFACE_HERO_DAY"
|
|
664
679
|
},
|
|
680
|
+
"SURFACE_TINT_DAY": {
|
|
681
|
+
"type": "color",
|
|
682
|
+
"category": "surface-colors",
|
|
683
|
+
"value": "rgba(255, 255, 255, 0.1)",
|
|
684
|
+
"originalValue": "{!WHITE_ALPHA_10}",
|
|
685
|
+
"name": "SURFACE_TINT_DAY"
|
|
686
|
+
},
|
|
665
687
|
"SURFACE_DEFAULT_DAY": {
|
|
666
688
|
"type": "color",
|
|
667
689
|
"category": "surface-colors",
|
|
@@ -771,6 +793,7 @@
|
|
|
771
793
|
"type": "color",
|
|
772
794
|
"category": "text-colors",
|
|
773
795
|
"value": "rgb(132, 233, 255)",
|
|
796
|
+
"deprecated": true,
|
|
774
797
|
"originalValue": "{!NIGHT_BLUE}",
|
|
775
798
|
"name": "TEXT_LINK_NIGHT"
|
|
776
799
|
},
|
|
@@ -792,6 +815,7 @@
|
|
|
792
815
|
"type": "color",
|
|
793
816
|
"category": "text-colors",
|
|
794
817
|
"value": "rgb(0, 98, 227)",
|
|
818
|
+
"deprecated": true,
|
|
795
819
|
"originalValue": "{!SKY_BLUE}",
|
|
796
820
|
"name": "TEXT_LINK_DAY"
|
|
797
821
|
},
|
|
@@ -1152,19 +1176,26 @@
|
|
|
1152
1176
|
"originalValue": "{!ECO_GREEN}",
|
|
1153
1177
|
"name": "MARCOMMS_ECO_GREEN"
|
|
1154
1178
|
},
|
|
1155
|
-
"
|
|
1179
|
+
"PRIVATE_CHIP_ON_DARK_ON_FILL_DAY": {
|
|
1156
1180
|
"type": "color",
|
|
1157
1181
|
"category": "chip-colors",
|
|
1158
|
-
"value": "rgb(
|
|
1159
|
-
"originalValue": "{!
|
|
1160
|
-
"name": "
|
|
1182
|
+
"value": "rgb(21, 70, 121)",
|
|
1183
|
+
"originalValue": "{!DARK_SKY_85}",
|
|
1184
|
+
"name": "PRIVATE_CHIP_ON_DARK_ON_FILL_DAY"
|
|
1161
1185
|
},
|
|
1162
|
-
"
|
|
1186
|
+
"PRIVATE_CHIP_ON_DARK_ON_DISMISS_ICON_NIGHT": {
|
|
1187
|
+
"type": "color",
|
|
1188
|
+
"category": "chip-colors",
|
|
1189
|
+
"value": "rgba(255, 255, 255, 0.5)",
|
|
1190
|
+
"originalValue": "{!WHITE_ALPHA_50}",
|
|
1191
|
+
"name": "PRIVATE_CHIP_ON_DARK_ON_DISMISS_ICON_NIGHT"
|
|
1192
|
+
},
|
|
1193
|
+
"PRIVATE_CHIP_ON_DARK_ON_BACKGROUND_NIGHT": {
|
|
1163
1194
|
"type": "color",
|
|
1164
1195
|
"category": "chip-colors",
|
|
1165
1196
|
"value": "rgb(5, 65, 132)",
|
|
1166
1197
|
"originalValue": "{!NIGHT_SKY}",
|
|
1167
|
-
"name": "
|
|
1198
|
+
"name": "PRIVATE_CHIP_ON_DARK_ON_BACKGROUND_NIGHT"
|
|
1168
1199
|
},
|
|
1169
1200
|
"PRIVATE_CHIP_ON_DARK_ON_BACKGROUND_DAY": {
|
|
1170
1201
|
"type": "color",
|
|
@@ -1173,19 +1204,26 @@
|
|
|
1173
1204
|
"originalValue": "{!WHITE}",
|
|
1174
1205
|
"name": "PRIVATE_CHIP_ON_DARK_ON_BACKGROUND_DAY"
|
|
1175
1206
|
},
|
|
1176
|
-
"
|
|
1207
|
+
"PRIVATE_CHIP_ON_DARK_ON_DISMISS_ICON_DAY": {
|
|
1208
|
+
"type": "color",
|
|
1209
|
+
"category": "chip-colors",
|
|
1210
|
+
"value": "rgb(98, 105, 113)",
|
|
1211
|
+
"originalValue": "{!GREY_40}",
|
|
1212
|
+
"name": "PRIVATE_CHIP_ON_DARK_ON_DISMISS_ICON_DAY"
|
|
1213
|
+
},
|
|
1214
|
+
"PRIVATE_CHIP_ON_DARK_PRESSED_STROKE_NIGHT": {
|
|
1177
1215
|
"type": "color",
|
|
1178
1216
|
"category": "chip-colors",
|
|
1179
1217
|
"value": "rgb(5, 65, 132)",
|
|
1180
1218
|
"originalValue": "{!NIGHT_SKY}",
|
|
1181
|
-
"name": "
|
|
1219
|
+
"name": "PRIVATE_CHIP_ON_DARK_PRESSED_STROKE_NIGHT"
|
|
1182
1220
|
},
|
|
1183
|
-
"
|
|
1221
|
+
"PRIVATE_CHIP_ON_DARK_PRESSED_STROKE_DAY": {
|
|
1184
1222
|
"type": "color",
|
|
1185
1223
|
"category": "chip-colors",
|
|
1186
|
-
"value": "rgb(
|
|
1187
|
-
"originalValue": "{!
|
|
1188
|
-
"name": "
|
|
1224
|
+
"value": "rgb(255, 255, 255)",
|
|
1225
|
+
"originalValue": "{!WHITE}",
|
|
1226
|
+
"name": "PRIVATE_CHIP_ON_DARK_PRESSED_STROKE_DAY"
|
|
1189
1227
|
},
|
|
1190
1228
|
"PRIVATE_CHIP_DISABLED_BACKGROUND_NIGHT": {
|
|
1191
1229
|
"type": "color",
|
|
@@ -1194,19 +1232,19 @@
|
|
|
1194
1232
|
"originalValue": "{!NIGHT_GREY_00}",
|
|
1195
1233
|
"name": "PRIVATE_CHIP_DISABLED_BACKGROUND_NIGHT"
|
|
1196
1234
|
},
|
|
1197
|
-
"
|
|
1235
|
+
"PRIVATE_CHIP_DISABLED_BACKGROUND_DAY": {
|
|
1198
1236
|
"type": "color",
|
|
1199
1237
|
"category": "chip-colors",
|
|
1200
|
-
"value": "rgb(
|
|
1201
|
-
"originalValue": "{!
|
|
1202
|
-
"name": "
|
|
1238
|
+
"value": "rgb(224, 228, 233)",
|
|
1239
|
+
"originalValue": "{!GREY_20}",
|
|
1240
|
+
"name": "PRIVATE_CHIP_DISABLED_BACKGROUND_DAY"
|
|
1203
1241
|
},
|
|
1204
|
-
"
|
|
1242
|
+
"PRIVATE_CHIP_ON_DARK_ON_FILL_NIGHT": {
|
|
1205
1243
|
"type": "color",
|
|
1206
1244
|
"category": "chip-colors",
|
|
1207
|
-
"value": "
|
|
1208
|
-
"originalValue": "{!
|
|
1209
|
-
"name": "
|
|
1245
|
+
"value": "rgb(2, 77, 175)",
|
|
1246
|
+
"originalValue": "{!NIGHT_SKY_85}",
|
|
1247
|
+
"name": "PRIVATE_CHIP_ON_DARK_ON_FILL_NIGHT"
|
|
1210
1248
|
},
|
|
1211
1249
|
"PRIVATE_MAP_PREVIOUS_SELECTION_DAY": {
|
|
1212
1250
|
"type": "color",
|
|
@@ -1428,8 +1466,8 @@
|
|
|
1428
1466
|
"PRIVATE_BUTTON_SECONDARY_ON_DARK_PRESSED_BACKGROUND_NIGHT": {
|
|
1429
1467
|
"type": "color",
|
|
1430
1468
|
"category": "button-colors",
|
|
1431
|
-
"value": "
|
|
1432
|
-
"originalValue": "{!
|
|
1469
|
+
"value": "rgba(255, 255, 255, 0.2)",
|
|
1470
|
+
"originalValue": "{!WHITE_ALPHA_20}",
|
|
1433
1471
|
"name": "PRIVATE_BUTTON_SECONDARY_ON_DARK_PRESSED_BACKGROUND_NIGHT"
|
|
1434
1472
|
},
|
|
1435
1473
|
"PRIVATE_BUTTON_DESTRUCTIVE_NORMAL_FOREGROUND_DAY": {
|
|
@@ -1463,8 +1501,8 @@
|
|
|
1463
1501
|
"PRIVATE_BUTTON_SECONDARY_ON_DARK_PRESSED_BACKGROUND_DAY": {
|
|
1464
1502
|
"type": "color",
|
|
1465
1503
|
"category": "button-colors",
|
|
1466
|
-
"value": "rgb(
|
|
1467
|
-
"originalValue": "{!
|
|
1504
|
+
"value": "rgb(4, 24, 45)",
|
|
1505
|
+
"originalValue": "{!MIDNIGHT_SKY}",
|
|
1468
1506
|
"name": "PRIVATE_BUTTON_SECONDARY_ON_DARK_PRESSED_BACKGROUND_DAY"
|
|
1469
1507
|
},
|
|
1470
1508
|
"PRIVATE_BUTTON_PRIMARY_ON_LIGHT_DISABLED_BACKGROUND_NIGHT": {
|
package/tokens/base.scss
CHANGED
|
@@ -68,10 +68,14 @@ $bpk-status-warning-fill-day: rgb(255, 247, 207);
|
|
|
68
68
|
/// @group surface-colors
|
|
69
69
|
$bpk-surface-hero-night: rgb(1, 9, 19);
|
|
70
70
|
/// @group surface-colors
|
|
71
|
+
$bpk-surface-tint-night: rgba(255, 255, 255, 0.1);
|
|
72
|
+
/// @group surface-colors
|
|
71
73
|
$bpk-surface-default-night: rgb(19, 29, 43);
|
|
72
74
|
/// @group surface-colors
|
|
73
75
|
$bpk-surface-hero-day: rgb(0, 98, 227);
|
|
74
76
|
/// @group surface-colors
|
|
77
|
+
$bpk-surface-tint-day: rgba(255, 255, 255, 0.1);
|
|
78
|
+
/// @group surface-colors
|
|
75
79
|
$bpk-surface-default-day: rgb(255, 255, 255);
|
|
76
80
|
/// @group surface-colors
|
|
77
81
|
$bpk-surface-contrast-night: rgb(1, 9, 19);
|
|
@@ -212,21 +216,25 @@ $bpk-marcomms-blue-muted: rgb(217, 248, 255);
|
|
|
212
216
|
/// @group marcomms-colors
|
|
213
217
|
$bpk-marcomms-eco-green: rgb(15, 161, 169);
|
|
214
218
|
/// @group chip-colors
|
|
215
|
-
$bpk-private-chip-on-dark-
|
|
219
|
+
$bpk-private-chip-on-dark-on-fill-day: rgb(21, 70, 121);
|
|
216
220
|
/// @group chip-colors
|
|
217
|
-
$bpk-private-chip-on-dark-
|
|
221
|
+
$bpk-private-chip-on-dark-on-dismiss-icon-night: rgba(255, 255, 255, 0.5);
|
|
222
|
+
/// @group chip-colors
|
|
223
|
+
$bpk-private-chip-on-dark-on-background-night: rgb(5, 65, 132);
|
|
218
224
|
/// @group chip-colors
|
|
219
225
|
$bpk-private-chip-on-dark-on-background-day: rgb(255, 255, 255);
|
|
220
226
|
/// @group chip-colors
|
|
221
|
-
$bpk-private-chip-on-dark-on-
|
|
227
|
+
$bpk-private-chip-on-dark-on-dismiss-icon-day: rgb(98, 105, 113);
|
|
222
228
|
/// @group chip-colors
|
|
223
|
-
$bpk-private-chip-
|
|
229
|
+
$bpk-private-chip-on-dark-pressed-stroke-night: rgb(5, 65, 132);
|
|
230
|
+
/// @group chip-colors
|
|
231
|
+
$bpk-private-chip-on-dark-pressed-stroke-day: rgb(255, 255, 255);
|
|
224
232
|
/// @group chip-colors
|
|
225
233
|
$bpk-private-chip-disabled-background-night: rgb(11, 18, 29);
|
|
226
234
|
/// @group chip-colors
|
|
227
|
-
$bpk-private-chip-
|
|
235
|
+
$bpk-private-chip-disabled-background-day: rgb(224, 228, 233);
|
|
228
236
|
/// @group chip-colors
|
|
229
|
-
$bpk-private-chip-on-dark-on-
|
|
237
|
+
$bpk-private-chip-on-dark-on-fill-night: rgb(2, 77, 175);
|
|
230
238
|
/// @group map-marker-colors
|
|
231
239
|
$bpk-private-map-previous-selection-day: rgb(207, 228, 255);
|
|
232
240
|
/// @group map-marker-colors
|
|
@@ -290,7 +298,7 @@ $bpk-private-button-primary-on-dark-disabled-foreground-night: rgba(255, 255, 25
|
|
|
290
298
|
/// @group button-colors
|
|
291
299
|
$bpk-private-button-secondary-on-dark-disabled-background-day: rgb(11, 18, 29);
|
|
292
300
|
/// @group button-colors
|
|
293
|
-
$bpk-private-button-secondary-on-dark-pressed-background-night:
|
|
301
|
+
$bpk-private-button-secondary-on-dark-pressed-background-night: rgba(255, 255, 255, 0.2);
|
|
294
302
|
/// @group button-colors
|
|
295
303
|
$bpk-private-button-destructive-normal-foreground-day: rgb(231, 8, 102);
|
|
296
304
|
/// @group button-colors
|
|
@@ -300,7 +308,7 @@ $bpk-private-button-primary-on-dark-disabled-foreground-day: rgba(0, 0, 0, 0.2);
|
|
|
300
308
|
/// @group button-colors
|
|
301
309
|
$bpk-private-button-link-pressed-foreground-night: rgb(209, 247, 255);
|
|
302
310
|
/// @group button-colors
|
|
303
|
-
$bpk-private-button-secondary-on-dark-pressed-background-day: rgb(
|
|
311
|
+
$bpk-private-button-secondary-on-dark-pressed-background-day: rgb(4, 24, 45);
|
|
304
312
|
/// @group button-colors
|
|
305
313
|
$bpk-private-button-primary-on-light-disabled-background-night: rgb(11, 18, 29);
|
|
306
314
|
/// @group button-colors
|