@skyscanner/bpk-foundations-web 21.1.0 → 22.1.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 +22 -14
- package/tokens/base.es6.d.ts +22 -14
- package/tokens/base.es6.js +22 -14
- package/tokens/base.raw.json +81 -47
- package/tokens/base.scss +22 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyscanner/bpk-foundations-web",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "22.1.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": "^22.1.0",
|
|
21
21
|
"color": "^5.0.0"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "23551b231a7cb5277da41a8e9165a0eb32832065"
|
|
24
24
|
}
|
package/tokens/base.common.js
CHANGED
|
@@ -19,9 +19,6 @@
|
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
21
|
module.exports = {
|
|
22
|
-
colorWhite: "rgb(255, 255, 255)",
|
|
23
|
-
colorSkyBlue: "rgb(0, 98, 227)",
|
|
24
|
-
colorBlack: "rgb(1, 9, 19)",
|
|
25
22
|
privateBadgeBackgroundNormalDay: "rgb(239, 243, 248)",
|
|
26
23
|
privateBadgeBackgroundNormalNight: "rgb(36, 51, 70)",
|
|
27
24
|
canvasDay: "rgb(255, 255, 255)",
|
|
@@ -70,8 +67,10 @@ module.exports = {
|
|
|
70
67
|
textLinkDay: "rgb(0, 98, 227)",
|
|
71
68
|
textHeroDay: "rgb(0, 98, 227)",
|
|
72
69
|
textPrimaryNight: "rgb(255, 255, 255)",
|
|
70
|
+
textSuccessNight: "rgb(98, 241, 198)",
|
|
73
71
|
textDisabledDay: "rgba(0, 0, 0, 0.2)",
|
|
74
72
|
textPrimaryDay: "rgb(22, 22, 22)",
|
|
73
|
+
textSuccessDay: "rgb(12, 131, 138)",
|
|
75
74
|
textErrorNight: "rgb(255, 100, 156)",
|
|
76
75
|
textErrorDay: "rgb(231, 8, 102)",
|
|
77
76
|
textPrimaryInverseNight: "rgb(1, 9, 19)",
|
|
@@ -218,6 +217,7 @@ module.exports = {
|
|
|
218
217
|
colorMonteverde: "rgb(0, 166, 152)",
|
|
219
218
|
backgroundElevation03DarkColor: "rgb(58, 58, 60)",
|
|
220
219
|
colorSkyGrayTint01: "rgb(68, 69, 96)",
|
|
220
|
+
colorBlack: "rgb(1, 9, 19)",
|
|
221
221
|
backgroundElevation02DarkColor: "rgb(44, 44, 46)",
|
|
222
222
|
colorSkyGrayTint02: "rgb(104, 105, 127)",
|
|
223
223
|
lineDarkColor: "rgb(72, 72, 74)",
|
|
@@ -242,6 +242,7 @@ module.exports = {
|
|
|
242
242
|
textPrimaryLightColor: "rgb(17, 18, 54)",
|
|
243
243
|
colorBlackTint04: "rgb(72, 72, 74)",
|
|
244
244
|
backgroundAlternativeSecondaryLightColor: "rgb(255, 255, 255)",
|
|
245
|
+
colorWhite: "rgb(255, 255, 255)",
|
|
245
246
|
colorBlackTint05: "rgb(99, 99, 102)",
|
|
246
247
|
colorBlackTint06: "rgb(142, 142, 147)",
|
|
247
248
|
colorPanjin: "rgb(209, 67, 91)",
|
|
@@ -254,6 +255,7 @@ module.exports = {
|
|
|
254
255
|
backgroundElevation02LightColor: "rgb(255, 255, 255)",
|
|
255
256
|
backgroundElevation03LightColor: "rgb(255, 255, 255)",
|
|
256
257
|
colorPetra: "rgb(255, 171, 149)",
|
|
258
|
+
colorSkyBlue: "rgb(0, 98, 227)",
|
|
257
259
|
textTertiaryDarkColor: "rgb(142, 142, 147)",
|
|
258
260
|
backgroundTertiaryDarkColor: "rgb(44, 44, 46)",
|
|
259
261
|
backgroundSecondaryDarkColor: "rgb(29, 27, 32)",
|
|
@@ -280,13 +282,15 @@ module.exports = {
|
|
|
280
282
|
durationXs: "50ms",
|
|
281
283
|
durationSm: "200ms",
|
|
282
284
|
durationBase: "400ms",
|
|
283
|
-
borderRadiusXs: ".25rem",
|
|
284
|
-
borderRadiusSm: ".5rem",
|
|
285
|
-
borderRadiusMd: ".75rem",
|
|
286
|
-
borderRadiusLg: "1.5rem",
|
|
287
|
-
borderRadiusXl: "2.5rem",
|
|
288
285
|
borderSizeSm: "1px",
|
|
289
286
|
borderSizeLg: "2px",
|
|
287
|
+
borderRadiusFull: "100%",
|
|
288
|
+
borderRadiusXl: "2.5rem",
|
|
289
|
+
borderRadiusMd: ".75rem",
|
|
290
|
+
borderRadiusNavTabs: "1.125rem",
|
|
291
|
+
borderRadiusSm: ".5rem",
|
|
292
|
+
borderRadiusXs: ".25rem",
|
|
293
|
+
borderRadiusLg: "1.5rem",
|
|
290
294
|
borderSizeXl: "3px",
|
|
291
295
|
boxShadowSm: "0px 1px 3px 0px rgba(37,32,31,.3)",
|
|
292
296
|
boxShadowLg: "0px 4px 14px 0px rgba(37,32,31,.25)",
|
package/tokens/base.default.scss
CHANGED
|
@@ -17,12 +17,6 @@
|
|
|
17
17
|
* limitations under the License.
|
|
18
18
|
*
|
|
19
19
|
*/
|
|
20
|
-
/// @group colors
|
|
21
|
-
$bpk-color-white: rgb(255, 255, 255) !default;
|
|
22
|
-
/// @group colors
|
|
23
|
-
$bpk-color-sky-blue: rgb(0, 98, 227) !default;
|
|
24
|
-
/// @group colors
|
|
25
|
-
$bpk-color-black: rgb(1, 9, 19) !default;
|
|
26
20
|
/// @group badge-colors
|
|
27
21
|
$bpk-private-badge-background-normal-day: rgb(239, 243, 248) !default;
|
|
28
22
|
/// @group badge-colors
|
|
@@ -120,10 +114,14 @@ $bpk-text-hero-day: rgb(0, 98, 227) !default;
|
|
|
120
114
|
/// @group text-colors
|
|
121
115
|
$bpk-text-primary-night: rgb(255, 255, 255) !default;
|
|
122
116
|
/// @group text-colors
|
|
117
|
+
$bpk-text-success-night: rgb(98, 241, 198) !default;
|
|
118
|
+
/// @group text-colors
|
|
123
119
|
$bpk-text-disabled-day: rgba(0, 0, 0, 0.2) !default;
|
|
124
120
|
/// @group text-colors
|
|
125
121
|
$bpk-text-primary-day: rgb(22, 22, 22) !default;
|
|
126
122
|
/// @group text-colors
|
|
123
|
+
$bpk-text-success-day: rgb(12, 131, 138) !default;
|
|
124
|
+
/// @group text-colors
|
|
127
125
|
$bpk-text-error-night: rgb(255, 100, 156) !default;
|
|
128
126
|
/// @group text-colors
|
|
129
127
|
$bpk-text-error-day: rgb(231, 8, 102) !default;
|
|
@@ -415,6 +413,8 @@ $bpk-color-monteverde: rgb(0, 166, 152) !default;
|
|
|
415
413
|
$bpk-background-elevation-03-dark-color: rgb(58, 58, 60) !default;
|
|
416
414
|
/// @group colors
|
|
417
415
|
$bpk-color-sky-gray-tint-01: rgb(68, 69, 96) !default;
|
|
416
|
+
/// @group colors
|
|
417
|
+
$bpk-color-black: rgb(1, 9, 19) !default;
|
|
418
418
|
/// @group text-colors
|
|
419
419
|
$bpk-background-elevation-02-dark-color: rgb(44, 44, 46) !default;
|
|
420
420
|
/// @group colors
|
|
@@ -464,6 +464,8 @@ $bpk-color-black-tint-04: rgb(72, 72, 74) !default;
|
|
|
464
464
|
/// @group colors
|
|
465
465
|
$bpk-background-alternative-secondary-light-color: rgb(255, 255, 255) !default;
|
|
466
466
|
/// @group colors
|
|
467
|
+
$bpk-color-white: rgb(255, 255, 255) !default;
|
|
468
|
+
/// @group colors
|
|
467
469
|
$bpk-color-black-tint-05: rgb(99, 99, 102) !default;
|
|
468
470
|
/// @group colors
|
|
469
471
|
$bpk-color-black-tint-06: rgb(142, 142, 147) !default;
|
|
@@ -487,6 +489,8 @@ $bpk-background-elevation-02-light-color: rgb(255, 255, 255) !default;
|
|
|
487
489
|
$bpk-background-elevation-03-light-color: rgb(255, 255, 255) !default;
|
|
488
490
|
/// @group colors
|
|
489
491
|
$bpk-color-petra: rgb(255, 171, 149) !default;
|
|
492
|
+
/// @group colors
|
|
493
|
+
$bpk-color-sky-blue: rgb(0, 98, 227) !default;
|
|
490
494
|
/// @group text-colors
|
|
491
495
|
$bpk-text-tertiary-dark-color: rgb(142, 142, 147) !default;
|
|
492
496
|
/// @group colors
|
|
@@ -539,20 +543,24 @@ $bpk-duration-xs: 50ms !default;
|
|
|
539
543
|
$bpk-duration-sm: 200ms !default;
|
|
540
544
|
/// @group animations
|
|
541
545
|
$bpk-duration-base: 400ms !default;
|
|
546
|
+
/// @group borders
|
|
547
|
+
$bpk-border-size-sm: 1px !default;
|
|
548
|
+
/// @group borders
|
|
549
|
+
$bpk-border-size-lg: 2px !default;
|
|
542
550
|
/// @group radii
|
|
543
|
-
$bpk-border-radius-
|
|
551
|
+
$bpk-border-radius-full: 100% !default;
|
|
544
552
|
/// @group radii
|
|
545
|
-
$bpk-border-radius-
|
|
553
|
+
$bpk-border-radius-xl: 2.5rem !default;
|
|
546
554
|
/// @group radii
|
|
547
555
|
$bpk-border-radius-md: .75rem !default;
|
|
548
556
|
/// @group radii
|
|
549
|
-
$bpk-border-radius-
|
|
557
|
+
$bpk-border-radius-nav-tabs: 1.125rem !default;
|
|
550
558
|
/// @group radii
|
|
551
|
-
$bpk-border-radius-
|
|
552
|
-
/// @group
|
|
553
|
-
$bpk-border-
|
|
554
|
-
/// @group
|
|
555
|
-
$bpk-border-
|
|
559
|
+
$bpk-border-radius-sm: .5rem !default;
|
|
560
|
+
/// @group radii
|
|
561
|
+
$bpk-border-radius-xs: .25rem !default;
|
|
562
|
+
/// @group radii
|
|
563
|
+
$bpk-border-radius-lg: 1.5rem !default;
|
|
556
564
|
/// @group borders
|
|
557
565
|
$bpk-border-size-xl: 3px !default;
|
|
558
566
|
/// @group box-shadows
|
package/tokens/base.es6.d.ts
CHANGED
|
@@ -17,9 +17,6 @@
|
|
|
17
17
|
* limitations under the License.
|
|
18
18
|
*
|
|
19
19
|
*/
|
|
20
|
-
export declare const colorWhite = "rgb(255, 255, 255)" as const;
|
|
21
|
-
export declare const colorSkyBlue = "rgb(0, 98, 227)" as const;
|
|
22
|
-
export declare const colorBlack = "rgb(1, 9, 19)" as const;
|
|
23
20
|
export declare const privateBadgeBackgroundNormalDay = "rgb(239, 243, 248)" as const;
|
|
24
21
|
export declare const privateBadgeBackgroundNormalNight = "rgb(36, 51, 70)" as const;
|
|
25
22
|
export declare const canvasDay = "rgb(255, 255, 255)" as const;
|
|
@@ -68,8 +65,10 @@ export declare const textDisabledNight = "rgba(255, 255, 255, 0.2)" as const;
|
|
|
68
65
|
export declare const textLinkDay = "rgb(0, 98, 227)" as const;
|
|
69
66
|
export declare const textHeroDay = "rgb(0, 98, 227)" as const;
|
|
70
67
|
export declare const textPrimaryNight = "rgb(255, 255, 255)" as const;
|
|
68
|
+
export declare const textSuccessNight = "rgb(98, 241, 198)" as const;
|
|
71
69
|
export declare const textDisabledDay = "rgba(0, 0, 0, 0.2)" as const;
|
|
72
70
|
export declare const textPrimaryDay = "rgb(22, 22, 22)" as const;
|
|
71
|
+
export declare const textSuccessDay = "rgb(12, 131, 138)" as const;
|
|
73
72
|
export declare const textErrorNight = "rgb(255, 100, 156)" as const;
|
|
74
73
|
export declare const textErrorDay = "rgb(231, 8, 102)" as const;
|
|
75
74
|
export declare const textPrimaryInverseNight = "rgb(1, 9, 19)" as const;
|
|
@@ -216,6 +215,7 @@ export declare const colorValensole = "rgb(165, 155, 200)" as const;
|
|
|
216
215
|
export declare const colorMonteverde = "rgb(0, 166, 152)" as const;
|
|
217
216
|
export declare const backgroundElevation03DarkColor = "rgb(58, 58, 60)" as const;
|
|
218
217
|
export declare const colorSkyGrayTint01 = "rgb(68, 69, 96)" as const;
|
|
218
|
+
export declare const colorBlack = "rgb(1, 9, 19)" as const;
|
|
219
219
|
export declare const backgroundElevation02DarkColor = "rgb(44, 44, 46)" as const;
|
|
220
220
|
export declare const colorSkyGrayTint02 = "rgb(104, 105, 127)" as const;
|
|
221
221
|
export declare const lineDarkColor = "rgb(72, 72, 74)" as const;
|
|
@@ -240,6 +240,7 @@ export declare const colorBlackTint03 = "rgb(58, 58, 60)" as const;
|
|
|
240
240
|
export declare const textPrimaryLightColor = "rgb(17, 18, 54)" as const;
|
|
241
241
|
export declare const colorBlackTint04 = "rgb(72, 72, 74)" as const;
|
|
242
242
|
export declare const backgroundAlternativeSecondaryLightColor = "rgb(255, 255, 255)" as const;
|
|
243
|
+
export declare const colorWhite = "rgb(255, 255, 255)" as const;
|
|
243
244
|
export declare const colorBlackTint05 = "rgb(99, 99, 102)" as const;
|
|
244
245
|
export declare const colorBlackTint06 = "rgb(142, 142, 147)" as const;
|
|
245
246
|
export declare const colorPanjin = "rgb(209, 67, 91)" as const;
|
|
@@ -252,6 +253,7 @@ export declare const lineLightColor = "rgb(205, 205, 215)" as const;
|
|
|
252
253
|
export declare const backgroundElevation02LightColor = "rgb(255, 255, 255)" as const;
|
|
253
254
|
export declare const backgroundElevation03LightColor = "rgb(255, 255, 255)" as const;
|
|
254
255
|
export declare const colorPetra = "rgb(255, 171, 149)" as const;
|
|
256
|
+
export declare const colorSkyBlue = "rgb(0, 98, 227)" as const;
|
|
255
257
|
export declare const textTertiaryDarkColor = "rgb(142, 142, 147)" as const;
|
|
256
258
|
export declare const backgroundTertiaryDarkColor = "rgb(44, 44, 46)" as const;
|
|
257
259
|
export declare const backgroundSecondaryDarkColor = "rgb(29, 27, 32)" as const;
|
|
@@ -278,13 +280,15 @@ export declare const colorSkyBlueShade02 = "rgb(4, 39, 89)" as const;
|
|
|
278
280
|
export declare const durationXs = "50ms" as const;
|
|
279
281
|
export declare const durationSm = "200ms" as const;
|
|
280
282
|
export declare const durationBase = "400ms" as const;
|
|
281
|
-
export declare const borderRadiusXs = ".25rem" as const;
|
|
282
|
-
export declare const borderRadiusSm = ".5rem" as const;
|
|
283
|
-
export declare const borderRadiusMd = ".75rem" as const;
|
|
284
|
-
export declare const borderRadiusLg = "1.5rem" as const;
|
|
285
|
-
export declare const borderRadiusXl = "2.5rem" as const;
|
|
286
283
|
export declare const borderSizeSm = "1px" as const;
|
|
287
284
|
export declare const borderSizeLg = "2px" as const;
|
|
285
|
+
export declare const borderRadiusFull = "100%" as const;
|
|
286
|
+
export declare const borderRadiusXl = "2.5rem" as const;
|
|
287
|
+
export declare const borderRadiusMd = ".75rem" as const;
|
|
288
|
+
export declare const borderRadiusNavTabs = "1.125rem" as const;
|
|
289
|
+
export declare const borderRadiusSm = ".5rem" as const;
|
|
290
|
+
export declare const borderRadiusXs = ".25rem" as const;
|
|
291
|
+
export declare const borderRadiusLg = "1.5rem" as const;
|
|
288
292
|
export declare const borderSizeXl = "3px" as const;
|
|
289
293
|
export declare const boxShadowSm = "0px 1px 3px 0px rgba(37,32,31,.3)" as const;
|
|
290
294
|
export declare const boxShadowLg = "0px 4px 14px 0px rgba(37,32,31,.25)" as const;
|
|
@@ -540,15 +544,13 @@ privateChipOnDarkOnDismissIconDay,
|
|
|
540
544
|
privateChipOnDarkOnDismissIconNight,
|
|
541
545
|
} as const;
|
|
542
546
|
export declare const colors = {
|
|
543
|
-
colorWhite,
|
|
544
|
-
colorSkyBlue,
|
|
545
|
-
colorBlack,
|
|
546
547
|
colorSkyBlueShade03,
|
|
547
548
|
colorPrimaryGradientLight,
|
|
548
549
|
colorErfoud,
|
|
549
550
|
colorValensole,
|
|
550
551
|
colorMonteverde,
|
|
551
552
|
colorSkyGrayTint01,
|
|
553
|
+
colorBlack,
|
|
552
554
|
colorSkyGrayTint02,
|
|
553
555
|
lineDarkColor,
|
|
554
556
|
colorSagano,
|
|
@@ -567,6 +569,7 @@ backgroundDarkColor,
|
|
|
567
569
|
colorBlackTint03,
|
|
568
570
|
colorBlackTint04,
|
|
569
571
|
backgroundAlternativeSecondaryLightColor,
|
|
572
|
+
colorWhite,
|
|
570
573
|
colorBlackTint05,
|
|
571
574
|
colorBlackTint06,
|
|
572
575
|
colorPanjin,
|
|
@@ -576,6 +579,7 @@ colorGlencoe,
|
|
|
576
579
|
colorTochigi,
|
|
577
580
|
lineLightColor,
|
|
578
581
|
colorPetra,
|
|
582
|
+
colorSkyBlue,
|
|
579
583
|
backgroundTertiaryDarkColor,
|
|
580
584
|
backgroundSecondaryDarkColor,
|
|
581
585
|
backgroundAlternativeLightColor,
|
|
@@ -732,11 +736,13 @@ export declare const panels = {
|
|
|
732
736
|
panelBorderColor,
|
|
733
737
|
} as const;
|
|
734
738
|
export declare const radii = {
|
|
735
|
-
|
|
736
|
-
|
|
739
|
+
borderRadiusFull,
|
|
740
|
+
borderRadiusXl,
|
|
737
741
|
borderRadiusMd,
|
|
742
|
+
borderRadiusNavTabs,
|
|
743
|
+
borderRadiusSm,
|
|
744
|
+
borderRadiusXs,
|
|
738
745
|
borderRadiusLg,
|
|
739
|
-
borderRadiusXl,
|
|
740
746
|
} as const;
|
|
741
747
|
export declare const ratingBarColors = {
|
|
742
748
|
privateBarTrackDefaultDay,
|
|
@@ -815,8 +821,10 @@ textDisabledNight,
|
|
|
815
821
|
textLinkDay,
|
|
816
822
|
textHeroDay,
|
|
817
823
|
textPrimaryNight,
|
|
824
|
+
textSuccessNight,
|
|
818
825
|
textDisabledDay,
|
|
819
826
|
textPrimaryDay,
|
|
827
|
+
textSuccessDay,
|
|
820
828
|
textErrorNight,
|
|
821
829
|
textErrorDay,
|
|
822
830
|
textPrimaryInverseNight,
|
package/tokens/base.es6.js
CHANGED
|
@@ -17,9 +17,6 @@
|
|
|
17
17
|
* limitations under the License.
|
|
18
18
|
*
|
|
19
19
|
*/
|
|
20
|
-
export const colorWhite = "rgb(255, 255, 255)";
|
|
21
|
-
export const colorSkyBlue = "rgb(0, 98, 227)";
|
|
22
|
-
export const colorBlack = "rgb(1, 9, 19)";
|
|
23
20
|
export const privateBadgeBackgroundNormalDay = "rgb(239, 243, 248)";
|
|
24
21
|
export const privateBadgeBackgroundNormalNight = "rgb(36, 51, 70)";
|
|
25
22
|
export const canvasDay = "rgb(255, 255, 255)";
|
|
@@ -68,8 +65,10 @@ export const textDisabledNight = "rgba(255, 255, 255, 0.2)";
|
|
|
68
65
|
export const textLinkDay = "rgb(0, 98, 227)";
|
|
69
66
|
export const textHeroDay = "rgb(0, 98, 227)";
|
|
70
67
|
export const textPrimaryNight = "rgb(255, 255, 255)";
|
|
68
|
+
export const textSuccessNight = "rgb(98, 241, 198)";
|
|
71
69
|
export const textDisabledDay = "rgba(0, 0, 0, 0.2)";
|
|
72
70
|
export const textPrimaryDay = "rgb(22, 22, 22)";
|
|
71
|
+
export const textSuccessDay = "rgb(12, 131, 138)";
|
|
73
72
|
export const textErrorNight = "rgb(255, 100, 156)";
|
|
74
73
|
export const textErrorDay = "rgb(231, 8, 102)";
|
|
75
74
|
export const textPrimaryInverseNight = "rgb(1, 9, 19)";
|
|
@@ -216,6 +215,7 @@ export const colorValensole = "rgb(165, 155, 200)";
|
|
|
216
215
|
export const colorMonteverde = "rgb(0, 166, 152)";
|
|
217
216
|
export const backgroundElevation03DarkColor = "rgb(58, 58, 60)";
|
|
218
217
|
export const colorSkyGrayTint01 = "rgb(68, 69, 96)";
|
|
218
|
+
export const colorBlack = "rgb(1, 9, 19)";
|
|
219
219
|
export const backgroundElevation02DarkColor = "rgb(44, 44, 46)";
|
|
220
220
|
export const colorSkyGrayTint02 = "rgb(104, 105, 127)";
|
|
221
221
|
export const lineDarkColor = "rgb(72, 72, 74)";
|
|
@@ -240,6 +240,7 @@ export const colorBlackTint03 = "rgb(58, 58, 60)";
|
|
|
240
240
|
export const textPrimaryLightColor = "rgb(17, 18, 54)";
|
|
241
241
|
export const colorBlackTint04 = "rgb(72, 72, 74)";
|
|
242
242
|
export const backgroundAlternativeSecondaryLightColor = "rgb(255, 255, 255)";
|
|
243
|
+
export const colorWhite = "rgb(255, 255, 255)";
|
|
243
244
|
export const colorBlackTint05 = "rgb(99, 99, 102)";
|
|
244
245
|
export const colorBlackTint06 = "rgb(142, 142, 147)";
|
|
245
246
|
export const colorPanjin = "rgb(209, 67, 91)";
|
|
@@ -252,6 +253,7 @@ export const lineLightColor = "rgb(205, 205, 215)";
|
|
|
252
253
|
export const backgroundElevation02LightColor = "rgb(255, 255, 255)";
|
|
253
254
|
export const backgroundElevation03LightColor = "rgb(255, 255, 255)";
|
|
254
255
|
export const colorPetra = "rgb(255, 171, 149)";
|
|
256
|
+
export const colorSkyBlue = "rgb(0, 98, 227)";
|
|
255
257
|
export const textTertiaryDarkColor = "rgb(142, 142, 147)";
|
|
256
258
|
export const backgroundTertiaryDarkColor = "rgb(44, 44, 46)";
|
|
257
259
|
export const backgroundSecondaryDarkColor = "rgb(29, 27, 32)";
|
|
@@ -278,13 +280,15 @@ export const colorSkyBlueShade02 = "rgb(4, 39, 89)";
|
|
|
278
280
|
export const durationXs = "50ms";
|
|
279
281
|
export const durationSm = "200ms";
|
|
280
282
|
export const durationBase = "400ms";
|
|
281
|
-
export const borderRadiusXs = ".25rem";
|
|
282
|
-
export const borderRadiusSm = ".5rem";
|
|
283
|
-
export const borderRadiusMd = ".75rem";
|
|
284
|
-
export const borderRadiusLg = "1.5rem";
|
|
285
|
-
export const borderRadiusXl = "2.5rem";
|
|
286
283
|
export const borderSizeSm = "1px";
|
|
287
284
|
export const borderSizeLg = "2px";
|
|
285
|
+
export const borderRadiusFull = "100%";
|
|
286
|
+
export const borderRadiusXl = "2.5rem";
|
|
287
|
+
export const borderRadiusMd = ".75rem";
|
|
288
|
+
export const borderRadiusNavTabs = "1.125rem";
|
|
289
|
+
export const borderRadiusSm = ".5rem";
|
|
290
|
+
export const borderRadiusXs = ".25rem";
|
|
291
|
+
export const borderRadiusLg = "1.5rem";
|
|
288
292
|
export const borderSizeXl = "3px";
|
|
289
293
|
export const boxShadowSm = "0px 1px 3px 0px rgba(37,32,31,.3)";
|
|
290
294
|
export const boxShadowLg = "0px 4px 14px 0px rgba(37,32,31,.25)";
|
|
@@ -540,15 +544,13 @@ privateChipOnDarkOnDismissIconDay,
|
|
|
540
544
|
privateChipOnDarkOnDismissIconNight,
|
|
541
545
|
};
|
|
542
546
|
export const colors = {
|
|
543
|
-
colorWhite,
|
|
544
|
-
colorSkyBlue,
|
|
545
|
-
colorBlack,
|
|
546
547
|
colorSkyBlueShade03,
|
|
547
548
|
colorPrimaryGradientLight,
|
|
548
549
|
colorErfoud,
|
|
549
550
|
colorValensole,
|
|
550
551
|
colorMonteverde,
|
|
551
552
|
colorSkyGrayTint01,
|
|
553
|
+
colorBlack,
|
|
552
554
|
colorSkyGrayTint02,
|
|
553
555
|
lineDarkColor,
|
|
554
556
|
colorSagano,
|
|
@@ -567,6 +569,7 @@ backgroundDarkColor,
|
|
|
567
569
|
colorBlackTint03,
|
|
568
570
|
colorBlackTint04,
|
|
569
571
|
backgroundAlternativeSecondaryLightColor,
|
|
572
|
+
colorWhite,
|
|
570
573
|
colorBlackTint05,
|
|
571
574
|
colorBlackTint06,
|
|
572
575
|
colorPanjin,
|
|
@@ -576,6 +579,7 @@ colorGlencoe,
|
|
|
576
579
|
colorTochigi,
|
|
577
580
|
lineLightColor,
|
|
578
581
|
colorPetra,
|
|
582
|
+
colorSkyBlue,
|
|
579
583
|
backgroundTertiaryDarkColor,
|
|
580
584
|
backgroundSecondaryDarkColor,
|
|
581
585
|
backgroundAlternativeLightColor,
|
|
@@ -732,11 +736,13 @@ export const panels = {
|
|
|
732
736
|
panelBorderColor,
|
|
733
737
|
};
|
|
734
738
|
export const radii = {
|
|
735
|
-
|
|
736
|
-
|
|
739
|
+
borderRadiusFull,
|
|
740
|
+
borderRadiusXl,
|
|
737
741
|
borderRadiusMd,
|
|
742
|
+
borderRadiusNavTabs,
|
|
743
|
+
borderRadiusSm,
|
|
744
|
+
borderRadiusXs,
|
|
738
745
|
borderRadiusLg,
|
|
739
|
-
borderRadiusXl,
|
|
740
746
|
};
|
|
741
747
|
export const ratingBarColors = {
|
|
742
748
|
privateBarTrackDefaultDay,
|
|
@@ -815,8 +821,10 @@ textDisabledNight,
|
|
|
815
821
|
textLinkDay,
|
|
816
822
|
textHeroDay,
|
|
817
823
|
textPrimaryNight,
|
|
824
|
+
textSuccessNight,
|
|
818
825
|
textDisabledDay,
|
|
819
826
|
textPrimaryDay,
|
|
827
|
+
textSuccessDay,
|
|
820
828
|
textErrorNight,
|
|
821
829
|
textErrorDay,
|
|
822
830
|
textPrimaryInverseNight,
|
package/tokens/base.raw.json
CHANGED
|
@@ -300,6 +300,9 @@
|
|
|
300
300
|
"LETTER_SPACING_TIGHT": {
|
|
301
301
|
"value": "-0.02em"
|
|
302
302
|
},
|
|
303
|
+
"BORDER_RADIUS_FULL": {
|
|
304
|
+
"value": "100%"
|
|
305
|
+
},
|
|
303
306
|
"FONT_SIZE_LG": {
|
|
304
307
|
"value": "1.25rem"
|
|
305
308
|
},
|
|
@@ -384,6 +387,9 @@
|
|
|
384
387
|
"SPACING_MD": {
|
|
385
388
|
"value": ".5rem"
|
|
386
389
|
},
|
|
390
|
+
"BORDER_RADIUS_NAV_TABS": {
|
|
391
|
+
"value": "1.125rem"
|
|
392
|
+
},
|
|
387
393
|
"BORDER_RADIUS_SM": {
|
|
388
394
|
"value": ".5rem"
|
|
389
395
|
},
|
|
@@ -467,27 +473,6 @@
|
|
|
467
473
|
}
|
|
468
474
|
},
|
|
469
475
|
"props": {
|
|
470
|
-
"COLOR_WHITE": {
|
|
471
|
-
"type": "color",
|
|
472
|
-
"category": "colors",
|
|
473
|
-
"value": "rgb(255, 255, 255)",
|
|
474
|
-
"originalValue": "{!WHITE}",
|
|
475
|
-
"name": "COLOR_WHITE"
|
|
476
|
-
},
|
|
477
|
-
"COLOR_SKY_BLUE": {
|
|
478
|
-
"type": "color",
|
|
479
|
-
"category": "colors",
|
|
480
|
-
"value": "rgb(0, 98, 227)",
|
|
481
|
-
"originalValue": "{!SKY_BLUE}",
|
|
482
|
-
"name": "COLOR_SKY_BLUE"
|
|
483
|
-
},
|
|
484
|
-
"COLOR_BLACK": {
|
|
485
|
-
"type": "color",
|
|
486
|
-
"category": "colors",
|
|
487
|
-
"value": "rgb(1, 9, 19)",
|
|
488
|
-
"originalValue": "{!BLACK}",
|
|
489
|
-
"name": "COLOR_BLACK"
|
|
490
|
-
},
|
|
491
476
|
"PRIVATE_BADGE_BACKGROUND_NORMAL_DAY": {
|
|
492
477
|
"type": "color",
|
|
493
478
|
"category": "badge-colors",
|
|
@@ -824,6 +809,13 @@
|
|
|
824
809
|
"originalValue": "{!WHITE}",
|
|
825
810
|
"name": "TEXT_PRIMARY_NIGHT"
|
|
826
811
|
},
|
|
812
|
+
"TEXT_SUCCESS_NIGHT": {
|
|
813
|
+
"type": "color",
|
|
814
|
+
"category": "text-colors",
|
|
815
|
+
"value": "rgb(98, 241, 198)",
|
|
816
|
+
"originalValue": "{!NIGHT_GREEN_SPOT}",
|
|
817
|
+
"name": "TEXT_SUCCESS_NIGHT"
|
|
818
|
+
},
|
|
827
819
|
"TEXT_DISABLED_DAY": {
|
|
828
820
|
"type": "color",
|
|
829
821
|
"category": "text-colors",
|
|
@@ -838,6 +830,13 @@
|
|
|
838
830
|
"originalValue": "{!CHARCOAL}",
|
|
839
831
|
"name": "TEXT_PRIMARY_DAY"
|
|
840
832
|
},
|
|
833
|
+
"TEXT_SUCCESS_DAY": {
|
|
834
|
+
"type": "color",
|
|
835
|
+
"category": "text-colors",
|
|
836
|
+
"value": "rgb(12, 131, 138)",
|
|
837
|
+
"originalValue": "{!GREEN_SPOT}",
|
|
838
|
+
"name": "TEXT_SUCCESS_DAY"
|
|
839
|
+
},
|
|
841
840
|
"TEXT_ERROR_NIGHT": {
|
|
842
841
|
"type": "color",
|
|
843
842
|
"category": "text-colors",
|
|
@@ -1867,6 +1866,13 @@
|
|
|
1867
1866
|
"originalValue": "{!SKY_GRAY_TINT_01}",
|
|
1868
1867
|
"name": "COLOR_SKY_GRAY_TINT_01"
|
|
1869
1868
|
},
|
|
1869
|
+
"COLOR_BLACK": {
|
|
1870
|
+
"type": "color",
|
|
1871
|
+
"category": "colors",
|
|
1872
|
+
"value": "rgb(1, 9, 19)",
|
|
1873
|
+
"originalValue": "#010913",
|
|
1874
|
+
"name": "COLOR_BLACK"
|
|
1875
|
+
},
|
|
1870
1876
|
"BACKGROUND_ELEVATION_02_DARK_COLOR": {
|
|
1871
1877
|
"type": "color",
|
|
1872
1878
|
"category": "text-colors",
|
|
@@ -2059,6 +2065,13 @@
|
|
|
2059
2065
|
"originalValue": "{!WHITE}",
|
|
2060
2066
|
"name": "BACKGROUND_ALTERNATIVE_SECONDARY_LIGHT_COLOR"
|
|
2061
2067
|
},
|
|
2068
|
+
"COLOR_WHITE": {
|
|
2069
|
+
"type": "color",
|
|
2070
|
+
"category": "colors",
|
|
2071
|
+
"value": "rgb(255, 255, 255)",
|
|
2072
|
+
"originalValue": "#ffffff",
|
|
2073
|
+
"name": "COLOR_WHITE"
|
|
2074
|
+
},
|
|
2062
2075
|
"COLOR_BLACK_TINT_05": {
|
|
2063
2076
|
"value": "rgb(99, 99, 102)",
|
|
2064
2077
|
"deprecated": true,
|
|
@@ -2155,6 +2168,13 @@
|
|
|
2155
2168
|
"originalValue": "{!PETRA}",
|
|
2156
2169
|
"name": "COLOR_PETRA"
|
|
2157
2170
|
},
|
|
2171
|
+
"COLOR_SKY_BLUE": {
|
|
2172
|
+
"type": "color",
|
|
2173
|
+
"category": "colors",
|
|
2174
|
+
"value": "rgb(0, 98, 227)",
|
|
2175
|
+
"originalValue": "#0062e3",
|
|
2176
|
+
"name": "COLOR_SKY_BLUE"
|
|
2177
|
+
},
|
|
2158
2178
|
"TEXT_TERTIARY_DARK_COLOR": {
|
|
2159
2179
|
"value": "rgb(142, 142, 147)",
|
|
2160
2180
|
"deprecated": true,
|
|
@@ -2360,19 +2380,33 @@
|
|
|
2360
2380
|
"originalValue": "{!ANIMATION_DURATION_BASE}",
|
|
2361
2381
|
"name": "DURATION_BASE"
|
|
2362
2382
|
},
|
|
2363
|
-
"
|
|
2383
|
+
"BORDER_SIZE_SM": {
|
|
2364
2384
|
"type": "size",
|
|
2365
|
-
"value": "
|
|
2385
|
+
"value": "1px",
|
|
2386
|
+
"category": "borders",
|
|
2387
|
+
"originalValue": "{!BORDER_SIZE_SM}",
|
|
2388
|
+
"name": "BORDER_SIZE_SM"
|
|
2389
|
+
},
|
|
2390
|
+
"BORDER_SIZE_LG": {
|
|
2391
|
+
"type": "size",
|
|
2392
|
+
"value": "2px",
|
|
2393
|
+
"category": "borders",
|
|
2394
|
+
"originalValue": "{!BORDER_SIZE_LG}",
|
|
2395
|
+
"name": "BORDER_SIZE_LG"
|
|
2396
|
+
},
|
|
2397
|
+
"BORDER_RADIUS_FULL": {
|
|
2398
|
+
"type": "size",
|
|
2399
|
+
"value": "100%",
|
|
2366
2400
|
"category": "radii",
|
|
2367
|
-
"originalValue": "{!
|
|
2368
|
-
"name": "
|
|
2401
|
+
"originalValue": "{!BORDER_RADIUS_FULL}",
|
|
2402
|
+
"name": "BORDER_RADIUS_FULL"
|
|
2369
2403
|
},
|
|
2370
|
-
"
|
|
2404
|
+
"BORDER_RADIUS_XL": {
|
|
2371
2405
|
"type": "size",
|
|
2372
|
-
"value": ".5rem",
|
|
2406
|
+
"value": "2.5rem",
|
|
2373
2407
|
"category": "radii",
|
|
2374
|
-
"originalValue": "{!
|
|
2375
|
-
"name": "
|
|
2408
|
+
"originalValue": "{!BORDER_RADIUS_XL}",
|
|
2409
|
+
"name": "BORDER_RADIUS_XL"
|
|
2376
2410
|
},
|
|
2377
2411
|
"BORDER_RADIUS_MD": {
|
|
2378
2412
|
"type": "size",
|
|
@@ -2381,33 +2415,33 @@
|
|
|
2381
2415
|
"originalValue": "{!BORDER_RADIUS_MD}",
|
|
2382
2416
|
"name": "BORDER_RADIUS_MD"
|
|
2383
2417
|
},
|
|
2384
|
-
"
|
|
2418
|
+
"BORDER_RADIUS_NAV_TABS": {
|
|
2385
2419
|
"type": "size",
|
|
2386
|
-
"value": "1.
|
|
2420
|
+
"value": "1.125rem",
|
|
2387
2421
|
"category": "radii",
|
|
2388
|
-
"originalValue": "{!
|
|
2389
|
-
"name": "
|
|
2422
|
+
"originalValue": "{!BORDER_RADIUS_NAV_TABS}",
|
|
2423
|
+
"name": "BORDER_RADIUS_NAV_TABS"
|
|
2390
2424
|
},
|
|
2391
|
-
"
|
|
2425
|
+
"BORDER_RADIUS_SM": {
|
|
2392
2426
|
"type": "size",
|
|
2393
|
-
"value": "
|
|
2427
|
+
"value": ".5rem",
|
|
2394
2428
|
"category": "radii",
|
|
2395
|
-
"originalValue": "{!
|
|
2396
|
-
"name": "
|
|
2429
|
+
"originalValue": "{!BORDER_RADIUS_SM}",
|
|
2430
|
+
"name": "BORDER_RADIUS_SM"
|
|
2397
2431
|
},
|
|
2398
|
-
"
|
|
2432
|
+
"BORDER_RADIUS_XS": {
|
|
2399
2433
|
"type": "size",
|
|
2400
|
-
"value": "
|
|
2401
|
-
"category": "
|
|
2402
|
-
"originalValue": "{!
|
|
2403
|
-
"name": "
|
|
2434
|
+
"value": ".25rem",
|
|
2435
|
+
"category": "radii",
|
|
2436
|
+
"originalValue": "{!BORDER_RADIUS_XS}",
|
|
2437
|
+
"name": "BORDER_RADIUS_XS"
|
|
2404
2438
|
},
|
|
2405
|
-
"
|
|
2439
|
+
"BORDER_RADIUS_LG": {
|
|
2406
2440
|
"type": "size",
|
|
2407
|
-
"value": "
|
|
2408
|
-
"category": "
|
|
2409
|
-
"originalValue": "{!
|
|
2410
|
-
"name": "
|
|
2441
|
+
"value": "1.5rem",
|
|
2442
|
+
"category": "radii",
|
|
2443
|
+
"originalValue": "{!BORDER_RADIUS_LG}",
|
|
2444
|
+
"name": "BORDER_RADIUS_LG"
|
|
2411
2445
|
},
|
|
2412
2446
|
"BORDER_SIZE_XL": {
|
|
2413
2447
|
"type": "size",
|
package/tokens/base.scss
CHANGED
|
@@ -17,12 +17,6 @@
|
|
|
17
17
|
* limitations under the License.
|
|
18
18
|
*
|
|
19
19
|
*/
|
|
20
|
-
/// @group colors
|
|
21
|
-
$bpk-color-white: rgb(255, 255, 255);
|
|
22
|
-
/// @group colors
|
|
23
|
-
$bpk-color-sky-blue: rgb(0, 98, 227);
|
|
24
|
-
/// @group colors
|
|
25
|
-
$bpk-color-black: rgb(1, 9, 19);
|
|
26
20
|
/// @group badge-colors
|
|
27
21
|
$bpk-private-badge-background-normal-day: rgb(239, 243, 248);
|
|
28
22
|
/// @group badge-colors
|
|
@@ -120,10 +114,14 @@ $bpk-text-hero-day: rgb(0, 98, 227);
|
|
|
120
114
|
/// @group text-colors
|
|
121
115
|
$bpk-text-primary-night: rgb(255, 255, 255);
|
|
122
116
|
/// @group text-colors
|
|
117
|
+
$bpk-text-success-night: rgb(98, 241, 198);
|
|
118
|
+
/// @group text-colors
|
|
123
119
|
$bpk-text-disabled-day: rgba(0, 0, 0, 0.2);
|
|
124
120
|
/// @group text-colors
|
|
125
121
|
$bpk-text-primary-day: rgb(22, 22, 22);
|
|
126
122
|
/// @group text-colors
|
|
123
|
+
$bpk-text-success-day: rgb(12, 131, 138);
|
|
124
|
+
/// @group text-colors
|
|
127
125
|
$bpk-text-error-night: rgb(255, 100, 156);
|
|
128
126
|
/// @group text-colors
|
|
129
127
|
$bpk-text-error-day: rgb(231, 8, 102);
|
|
@@ -415,6 +413,8 @@ $bpk-color-monteverde: rgb(0, 166, 152);
|
|
|
415
413
|
$bpk-background-elevation-03-dark-color: rgb(58, 58, 60);
|
|
416
414
|
/// @group colors
|
|
417
415
|
$bpk-color-sky-gray-tint-01: rgb(68, 69, 96);
|
|
416
|
+
/// @group colors
|
|
417
|
+
$bpk-color-black: rgb(1, 9, 19);
|
|
418
418
|
/// @group text-colors
|
|
419
419
|
$bpk-background-elevation-02-dark-color: rgb(44, 44, 46);
|
|
420
420
|
/// @group colors
|
|
@@ -464,6 +464,8 @@ $bpk-color-black-tint-04: rgb(72, 72, 74);
|
|
|
464
464
|
/// @group colors
|
|
465
465
|
$bpk-background-alternative-secondary-light-color: rgb(255, 255, 255);
|
|
466
466
|
/// @group colors
|
|
467
|
+
$bpk-color-white: rgb(255, 255, 255);
|
|
468
|
+
/// @group colors
|
|
467
469
|
$bpk-color-black-tint-05: rgb(99, 99, 102);
|
|
468
470
|
/// @group colors
|
|
469
471
|
$bpk-color-black-tint-06: rgb(142, 142, 147);
|
|
@@ -487,6 +489,8 @@ $bpk-background-elevation-02-light-color: rgb(255, 255, 255);
|
|
|
487
489
|
$bpk-background-elevation-03-light-color: rgb(255, 255, 255);
|
|
488
490
|
/// @group colors
|
|
489
491
|
$bpk-color-petra: rgb(255, 171, 149);
|
|
492
|
+
/// @group colors
|
|
493
|
+
$bpk-color-sky-blue: rgb(0, 98, 227);
|
|
490
494
|
/// @group text-colors
|
|
491
495
|
$bpk-text-tertiary-dark-color: rgb(142, 142, 147);
|
|
492
496
|
/// @group colors
|
|
@@ -539,20 +543,24 @@ $bpk-duration-xs: 50ms;
|
|
|
539
543
|
$bpk-duration-sm: 200ms;
|
|
540
544
|
/// @group animations
|
|
541
545
|
$bpk-duration-base: 400ms;
|
|
546
|
+
/// @group borders
|
|
547
|
+
$bpk-border-size-sm: 1px;
|
|
548
|
+
/// @group borders
|
|
549
|
+
$bpk-border-size-lg: 2px;
|
|
542
550
|
/// @group radii
|
|
543
|
-
$bpk-border-radius-
|
|
551
|
+
$bpk-border-radius-full: 100%;
|
|
544
552
|
/// @group radii
|
|
545
|
-
$bpk-border-radius-
|
|
553
|
+
$bpk-border-radius-xl: 2.5rem;
|
|
546
554
|
/// @group radii
|
|
547
555
|
$bpk-border-radius-md: .75rem;
|
|
548
556
|
/// @group radii
|
|
549
|
-
$bpk-border-radius-
|
|
557
|
+
$bpk-border-radius-nav-tabs: 1.125rem;
|
|
550
558
|
/// @group radii
|
|
551
|
-
$bpk-border-radius-
|
|
552
|
-
/// @group
|
|
553
|
-
$bpk-border-
|
|
554
|
-
/// @group
|
|
555
|
-
$bpk-border-
|
|
559
|
+
$bpk-border-radius-sm: .5rem;
|
|
560
|
+
/// @group radii
|
|
561
|
+
$bpk-border-radius-xs: .25rem;
|
|
562
|
+
/// @group radii
|
|
563
|
+
$bpk-border-radius-lg: 1.5rem;
|
|
556
564
|
/// @group borders
|
|
557
565
|
$bpk-border-size-xl: 3px;
|
|
558
566
|
/// @group box-shadows
|