@skyscanner/bpk-foundations-web 21.0.0 → 22.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 +10 -8
- package/tokens/base.default.scss +18 -14
- package/tokens/base.es6.d.ts +18 -14
- package/tokens/base.es6.js +18 -14
- package/tokens/base.raw.json +67 -47
- package/tokens/base.scss +18 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyscanner/bpk-foundations-web",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "22.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": "^22.0.0",
|
|
21
21
|
"color": "^5.0.0"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "9ed7037e72e88f6fe761313fc9499f4406b20732"
|
|
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)",
|
|
@@ -218,6 +215,7 @@ module.exports = {
|
|
|
218
215
|
colorMonteverde: "rgb(0, 166, 152)",
|
|
219
216
|
backgroundElevation03DarkColor: "rgb(58, 58, 60)",
|
|
220
217
|
colorSkyGrayTint01: "rgb(68, 69, 96)",
|
|
218
|
+
colorBlack: "rgb(1, 9, 19)",
|
|
221
219
|
backgroundElevation02DarkColor: "rgb(44, 44, 46)",
|
|
222
220
|
colorSkyGrayTint02: "rgb(104, 105, 127)",
|
|
223
221
|
lineDarkColor: "rgb(72, 72, 74)",
|
|
@@ -242,6 +240,7 @@ module.exports = {
|
|
|
242
240
|
textPrimaryLightColor: "rgb(17, 18, 54)",
|
|
243
241
|
colorBlackTint04: "rgb(72, 72, 74)",
|
|
244
242
|
backgroundAlternativeSecondaryLightColor: "rgb(255, 255, 255)",
|
|
243
|
+
colorWhite: "rgb(255, 255, 255)",
|
|
245
244
|
colorBlackTint05: "rgb(99, 99, 102)",
|
|
246
245
|
colorBlackTint06: "rgb(142, 142, 147)",
|
|
247
246
|
colorPanjin: "rgb(209, 67, 91)",
|
|
@@ -254,6 +253,7 @@ module.exports = {
|
|
|
254
253
|
backgroundElevation02LightColor: "rgb(255, 255, 255)",
|
|
255
254
|
backgroundElevation03LightColor: "rgb(255, 255, 255)",
|
|
256
255
|
colorPetra: "rgb(255, 171, 149)",
|
|
256
|
+
colorSkyBlue: "rgb(0, 98, 227)",
|
|
257
257
|
textTertiaryDarkColor: "rgb(142, 142, 147)",
|
|
258
258
|
backgroundTertiaryDarkColor: "rgb(44, 44, 46)",
|
|
259
259
|
backgroundSecondaryDarkColor: "rgb(29, 27, 32)",
|
|
@@ -280,13 +280,15 @@ module.exports = {
|
|
|
280
280
|
durationXs: "50ms",
|
|
281
281
|
durationSm: "200ms",
|
|
282
282
|
durationBase: "400ms",
|
|
283
|
-
borderRadiusXs: ".25rem",
|
|
284
|
-
borderRadiusSm: ".5rem",
|
|
285
|
-
borderRadiusMd: ".75rem",
|
|
286
|
-
borderRadiusLg: "1.5rem",
|
|
287
|
-
borderRadiusXl: "2.5rem",
|
|
288
283
|
borderSizeSm: "1px",
|
|
289
284
|
borderSizeLg: "2px",
|
|
285
|
+
borderRadiusFull: "100%",
|
|
286
|
+
borderRadiusXl: "2.5rem",
|
|
287
|
+
borderRadiusMd: ".75rem",
|
|
288
|
+
borderRadiusNavTabs: "1.125rem",
|
|
289
|
+
borderRadiusSm: ".5rem",
|
|
290
|
+
borderRadiusXs: ".25rem",
|
|
291
|
+
borderRadiusLg: "1.5rem",
|
|
290
292
|
borderSizeXl: "3px",
|
|
291
293
|
boxShadowSm: "0px 1px 3px 0px rgba(37,32,31,.3)",
|
|
292
294
|
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
|
|
@@ -415,6 +409,8 @@ $bpk-color-monteverde: rgb(0, 166, 152) !default;
|
|
|
415
409
|
$bpk-background-elevation-03-dark-color: rgb(58, 58, 60) !default;
|
|
416
410
|
/// @group colors
|
|
417
411
|
$bpk-color-sky-gray-tint-01: rgb(68, 69, 96) !default;
|
|
412
|
+
/// @group colors
|
|
413
|
+
$bpk-color-black: rgb(1, 9, 19) !default;
|
|
418
414
|
/// @group text-colors
|
|
419
415
|
$bpk-background-elevation-02-dark-color: rgb(44, 44, 46) !default;
|
|
420
416
|
/// @group colors
|
|
@@ -464,6 +460,8 @@ $bpk-color-black-tint-04: rgb(72, 72, 74) !default;
|
|
|
464
460
|
/// @group colors
|
|
465
461
|
$bpk-background-alternative-secondary-light-color: rgb(255, 255, 255) !default;
|
|
466
462
|
/// @group colors
|
|
463
|
+
$bpk-color-white: rgb(255, 255, 255) !default;
|
|
464
|
+
/// @group colors
|
|
467
465
|
$bpk-color-black-tint-05: rgb(99, 99, 102) !default;
|
|
468
466
|
/// @group colors
|
|
469
467
|
$bpk-color-black-tint-06: rgb(142, 142, 147) !default;
|
|
@@ -487,6 +485,8 @@ $bpk-background-elevation-02-light-color: rgb(255, 255, 255) !default;
|
|
|
487
485
|
$bpk-background-elevation-03-light-color: rgb(255, 255, 255) !default;
|
|
488
486
|
/// @group colors
|
|
489
487
|
$bpk-color-petra: rgb(255, 171, 149) !default;
|
|
488
|
+
/// @group colors
|
|
489
|
+
$bpk-color-sky-blue: rgb(0, 98, 227) !default;
|
|
490
490
|
/// @group text-colors
|
|
491
491
|
$bpk-text-tertiary-dark-color: rgb(142, 142, 147) !default;
|
|
492
492
|
/// @group colors
|
|
@@ -539,20 +539,24 @@ $bpk-duration-xs: 50ms !default;
|
|
|
539
539
|
$bpk-duration-sm: 200ms !default;
|
|
540
540
|
/// @group animations
|
|
541
541
|
$bpk-duration-base: 400ms !default;
|
|
542
|
+
/// @group borders
|
|
543
|
+
$bpk-border-size-sm: 1px !default;
|
|
544
|
+
/// @group borders
|
|
545
|
+
$bpk-border-size-lg: 2px !default;
|
|
542
546
|
/// @group radii
|
|
543
|
-
$bpk-border-radius-
|
|
547
|
+
$bpk-border-radius-full: 100% !default;
|
|
544
548
|
/// @group radii
|
|
545
|
-
$bpk-border-radius-
|
|
549
|
+
$bpk-border-radius-xl: 2.5rem !default;
|
|
546
550
|
/// @group radii
|
|
547
551
|
$bpk-border-radius-md: .75rem !default;
|
|
548
552
|
/// @group radii
|
|
549
|
-
$bpk-border-radius-
|
|
553
|
+
$bpk-border-radius-nav-tabs: 1.125rem !default;
|
|
550
554
|
/// @group radii
|
|
551
|
-
$bpk-border-radius-
|
|
552
|
-
/// @group
|
|
553
|
-
$bpk-border-
|
|
554
|
-
/// @group
|
|
555
|
-
$bpk-border-
|
|
555
|
+
$bpk-border-radius-sm: .5rem !default;
|
|
556
|
+
/// @group radii
|
|
557
|
+
$bpk-border-radius-xs: .25rem !default;
|
|
558
|
+
/// @group radii
|
|
559
|
+
$bpk-border-radius-lg: 1.5rem !default;
|
|
556
560
|
/// @group borders
|
|
557
561
|
$bpk-border-size-xl: 3px !default;
|
|
558
562
|
/// @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;
|
|
@@ -216,6 +213,7 @@ export declare const colorValensole = "rgb(165, 155, 200)" as const;
|
|
|
216
213
|
export declare const colorMonteverde = "rgb(0, 166, 152)" as const;
|
|
217
214
|
export declare const backgroundElevation03DarkColor = "rgb(58, 58, 60)" as const;
|
|
218
215
|
export declare const colorSkyGrayTint01 = "rgb(68, 69, 96)" as const;
|
|
216
|
+
export declare const colorBlack = "rgb(1, 9, 19)" as const;
|
|
219
217
|
export declare const backgroundElevation02DarkColor = "rgb(44, 44, 46)" as const;
|
|
220
218
|
export declare const colorSkyGrayTint02 = "rgb(104, 105, 127)" as const;
|
|
221
219
|
export declare const lineDarkColor = "rgb(72, 72, 74)" as const;
|
|
@@ -240,6 +238,7 @@ export declare const colorBlackTint03 = "rgb(58, 58, 60)" as const;
|
|
|
240
238
|
export declare const textPrimaryLightColor = "rgb(17, 18, 54)" as const;
|
|
241
239
|
export declare const colorBlackTint04 = "rgb(72, 72, 74)" as const;
|
|
242
240
|
export declare const backgroundAlternativeSecondaryLightColor = "rgb(255, 255, 255)" as const;
|
|
241
|
+
export declare const colorWhite = "rgb(255, 255, 255)" as const;
|
|
243
242
|
export declare const colorBlackTint05 = "rgb(99, 99, 102)" as const;
|
|
244
243
|
export declare const colorBlackTint06 = "rgb(142, 142, 147)" as const;
|
|
245
244
|
export declare const colorPanjin = "rgb(209, 67, 91)" as const;
|
|
@@ -252,6 +251,7 @@ export declare const lineLightColor = "rgb(205, 205, 215)" as const;
|
|
|
252
251
|
export declare const backgroundElevation02LightColor = "rgb(255, 255, 255)" as const;
|
|
253
252
|
export declare const backgroundElevation03LightColor = "rgb(255, 255, 255)" as const;
|
|
254
253
|
export declare const colorPetra = "rgb(255, 171, 149)" as const;
|
|
254
|
+
export declare const colorSkyBlue = "rgb(0, 98, 227)" as const;
|
|
255
255
|
export declare const textTertiaryDarkColor = "rgb(142, 142, 147)" as const;
|
|
256
256
|
export declare const backgroundTertiaryDarkColor = "rgb(44, 44, 46)" as const;
|
|
257
257
|
export declare const backgroundSecondaryDarkColor = "rgb(29, 27, 32)" as const;
|
|
@@ -278,13 +278,15 @@ export declare const colorSkyBlueShade02 = "rgb(4, 39, 89)" 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;
|
|
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
281
|
export declare const borderSizeSm = "1px" as const;
|
|
287
282
|
export declare const borderSizeLg = "2px" as const;
|
|
283
|
+
export declare const borderRadiusFull = "100%" as const;
|
|
284
|
+
export declare const borderRadiusXl = "2.5rem" as const;
|
|
285
|
+
export declare const borderRadiusMd = ".75rem" as const;
|
|
286
|
+
export declare const borderRadiusNavTabs = "1.125rem" as const;
|
|
287
|
+
export declare const borderRadiusSm = ".5rem" as const;
|
|
288
|
+
export declare const borderRadiusXs = ".25rem" as const;
|
|
289
|
+
export declare const borderRadiusLg = "1.5rem" as const;
|
|
288
290
|
export declare const borderSizeXl = "3px" as const;
|
|
289
291
|
export declare const boxShadowSm = "0px 1px 3px 0px rgba(37,32,31,.3)" as const;
|
|
290
292
|
export declare const boxShadowLg = "0px 4px 14px 0px rgba(37,32,31,.25)" as const;
|
|
@@ -540,15 +542,13 @@ privateChipOnDarkOnDismissIconDay,
|
|
|
540
542
|
privateChipOnDarkOnDismissIconNight,
|
|
541
543
|
} as const;
|
|
542
544
|
export declare const colors = {
|
|
543
|
-
colorWhite,
|
|
544
|
-
colorSkyBlue,
|
|
545
|
-
colorBlack,
|
|
546
545
|
colorSkyBlueShade03,
|
|
547
546
|
colorPrimaryGradientLight,
|
|
548
547
|
colorErfoud,
|
|
549
548
|
colorValensole,
|
|
550
549
|
colorMonteverde,
|
|
551
550
|
colorSkyGrayTint01,
|
|
551
|
+
colorBlack,
|
|
552
552
|
colorSkyGrayTint02,
|
|
553
553
|
lineDarkColor,
|
|
554
554
|
colorSagano,
|
|
@@ -567,6 +567,7 @@ backgroundDarkColor,
|
|
|
567
567
|
colorBlackTint03,
|
|
568
568
|
colorBlackTint04,
|
|
569
569
|
backgroundAlternativeSecondaryLightColor,
|
|
570
|
+
colorWhite,
|
|
570
571
|
colorBlackTint05,
|
|
571
572
|
colorBlackTint06,
|
|
572
573
|
colorPanjin,
|
|
@@ -576,6 +577,7 @@ colorGlencoe,
|
|
|
576
577
|
colorTochigi,
|
|
577
578
|
lineLightColor,
|
|
578
579
|
colorPetra,
|
|
580
|
+
colorSkyBlue,
|
|
579
581
|
backgroundTertiaryDarkColor,
|
|
580
582
|
backgroundSecondaryDarkColor,
|
|
581
583
|
backgroundAlternativeLightColor,
|
|
@@ -732,11 +734,13 @@ export declare const panels = {
|
|
|
732
734
|
panelBorderColor,
|
|
733
735
|
} as const;
|
|
734
736
|
export declare const radii = {
|
|
735
|
-
|
|
736
|
-
|
|
737
|
+
borderRadiusFull,
|
|
738
|
+
borderRadiusXl,
|
|
737
739
|
borderRadiusMd,
|
|
740
|
+
borderRadiusNavTabs,
|
|
741
|
+
borderRadiusSm,
|
|
742
|
+
borderRadiusXs,
|
|
738
743
|
borderRadiusLg,
|
|
739
|
-
borderRadiusXl,
|
|
740
744
|
} as const;
|
|
741
745
|
export declare const ratingBarColors = {
|
|
742
746
|
privateBarTrackDefaultDay,
|
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)";
|
|
@@ -216,6 +213,7 @@ export const colorValensole = "rgb(165, 155, 200)";
|
|
|
216
213
|
export const colorMonteverde = "rgb(0, 166, 152)";
|
|
217
214
|
export const backgroundElevation03DarkColor = "rgb(58, 58, 60)";
|
|
218
215
|
export const colorSkyGrayTint01 = "rgb(68, 69, 96)";
|
|
216
|
+
export const colorBlack = "rgb(1, 9, 19)";
|
|
219
217
|
export const backgroundElevation02DarkColor = "rgb(44, 44, 46)";
|
|
220
218
|
export const colorSkyGrayTint02 = "rgb(104, 105, 127)";
|
|
221
219
|
export const lineDarkColor = "rgb(72, 72, 74)";
|
|
@@ -240,6 +238,7 @@ export const colorBlackTint03 = "rgb(58, 58, 60)";
|
|
|
240
238
|
export const textPrimaryLightColor = "rgb(17, 18, 54)";
|
|
241
239
|
export const colorBlackTint04 = "rgb(72, 72, 74)";
|
|
242
240
|
export const backgroundAlternativeSecondaryLightColor = "rgb(255, 255, 255)";
|
|
241
|
+
export const colorWhite = "rgb(255, 255, 255)";
|
|
243
242
|
export const colorBlackTint05 = "rgb(99, 99, 102)";
|
|
244
243
|
export const colorBlackTint06 = "rgb(142, 142, 147)";
|
|
245
244
|
export const colorPanjin = "rgb(209, 67, 91)";
|
|
@@ -252,6 +251,7 @@ export const lineLightColor = "rgb(205, 205, 215)";
|
|
|
252
251
|
export const backgroundElevation02LightColor = "rgb(255, 255, 255)";
|
|
253
252
|
export const backgroundElevation03LightColor = "rgb(255, 255, 255)";
|
|
254
253
|
export const colorPetra = "rgb(255, 171, 149)";
|
|
254
|
+
export const colorSkyBlue = "rgb(0, 98, 227)";
|
|
255
255
|
export const textTertiaryDarkColor = "rgb(142, 142, 147)";
|
|
256
256
|
export const backgroundTertiaryDarkColor = "rgb(44, 44, 46)";
|
|
257
257
|
export const backgroundSecondaryDarkColor = "rgb(29, 27, 32)";
|
|
@@ -278,13 +278,15 @@ export const colorSkyBlueShade02 = "rgb(4, 39, 89)";
|
|
|
278
278
|
export const durationXs = "50ms";
|
|
279
279
|
export const durationSm = "200ms";
|
|
280
280
|
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
281
|
export const borderSizeSm = "1px";
|
|
287
282
|
export const borderSizeLg = "2px";
|
|
283
|
+
export const borderRadiusFull = "100%";
|
|
284
|
+
export const borderRadiusXl = "2.5rem";
|
|
285
|
+
export const borderRadiusMd = ".75rem";
|
|
286
|
+
export const borderRadiusNavTabs = "1.125rem";
|
|
287
|
+
export const borderRadiusSm = ".5rem";
|
|
288
|
+
export const borderRadiusXs = ".25rem";
|
|
289
|
+
export const borderRadiusLg = "1.5rem";
|
|
288
290
|
export const borderSizeXl = "3px";
|
|
289
291
|
export const boxShadowSm = "0px 1px 3px 0px rgba(37,32,31,.3)";
|
|
290
292
|
export const boxShadowLg = "0px 4px 14px 0px rgba(37,32,31,.25)";
|
|
@@ -540,15 +542,13 @@ privateChipOnDarkOnDismissIconDay,
|
|
|
540
542
|
privateChipOnDarkOnDismissIconNight,
|
|
541
543
|
};
|
|
542
544
|
export const colors = {
|
|
543
|
-
colorWhite,
|
|
544
|
-
colorSkyBlue,
|
|
545
|
-
colorBlack,
|
|
546
545
|
colorSkyBlueShade03,
|
|
547
546
|
colorPrimaryGradientLight,
|
|
548
547
|
colorErfoud,
|
|
549
548
|
colorValensole,
|
|
550
549
|
colorMonteverde,
|
|
551
550
|
colorSkyGrayTint01,
|
|
551
|
+
colorBlack,
|
|
552
552
|
colorSkyGrayTint02,
|
|
553
553
|
lineDarkColor,
|
|
554
554
|
colorSagano,
|
|
@@ -567,6 +567,7 @@ backgroundDarkColor,
|
|
|
567
567
|
colorBlackTint03,
|
|
568
568
|
colorBlackTint04,
|
|
569
569
|
backgroundAlternativeSecondaryLightColor,
|
|
570
|
+
colorWhite,
|
|
570
571
|
colorBlackTint05,
|
|
571
572
|
colorBlackTint06,
|
|
572
573
|
colorPanjin,
|
|
@@ -576,6 +577,7 @@ colorGlencoe,
|
|
|
576
577
|
colorTochigi,
|
|
577
578
|
lineLightColor,
|
|
578
579
|
colorPetra,
|
|
580
|
+
colorSkyBlue,
|
|
579
581
|
backgroundTertiaryDarkColor,
|
|
580
582
|
backgroundSecondaryDarkColor,
|
|
581
583
|
backgroundAlternativeLightColor,
|
|
@@ -732,11 +734,13 @@ export const panels = {
|
|
|
732
734
|
panelBorderColor,
|
|
733
735
|
};
|
|
734
736
|
export const radii = {
|
|
735
|
-
|
|
736
|
-
|
|
737
|
+
borderRadiusFull,
|
|
738
|
+
borderRadiusXl,
|
|
737
739
|
borderRadiusMd,
|
|
740
|
+
borderRadiusNavTabs,
|
|
741
|
+
borderRadiusSm,
|
|
742
|
+
borderRadiusXs,
|
|
738
743
|
borderRadiusLg,
|
|
739
|
-
borderRadiusXl,
|
|
740
744
|
};
|
|
741
745
|
export const ratingBarColors = {
|
|
742
746
|
privateBarTrackDefaultDay,
|
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",
|
|
@@ -1867,6 +1852,13 @@
|
|
|
1867
1852
|
"originalValue": "{!SKY_GRAY_TINT_01}",
|
|
1868
1853
|
"name": "COLOR_SKY_GRAY_TINT_01"
|
|
1869
1854
|
},
|
|
1855
|
+
"COLOR_BLACK": {
|
|
1856
|
+
"type": "color",
|
|
1857
|
+
"category": "colors",
|
|
1858
|
+
"value": "rgb(1, 9, 19)",
|
|
1859
|
+
"originalValue": "#010913",
|
|
1860
|
+
"name": "COLOR_BLACK"
|
|
1861
|
+
},
|
|
1870
1862
|
"BACKGROUND_ELEVATION_02_DARK_COLOR": {
|
|
1871
1863
|
"type": "color",
|
|
1872
1864
|
"category": "text-colors",
|
|
@@ -2059,6 +2051,13 @@
|
|
|
2059
2051
|
"originalValue": "{!WHITE}",
|
|
2060
2052
|
"name": "BACKGROUND_ALTERNATIVE_SECONDARY_LIGHT_COLOR"
|
|
2061
2053
|
},
|
|
2054
|
+
"COLOR_WHITE": {
|
|
2055
|
+
"type": "color",
|
|
2056
|
+
"category": "colors",
|
|
2057
|
+
"value": "rgb(255, 255, 255)",
|
|
2058
|
+
"originalValue": "#ffffff",
|
|
2059
|
+
"name": "COLOR_WHITE"
|
|
2060
|
+
},
|
|
2062
2061
|
"COLOR_BLACK_TINT_05": {
|
|
2063
2062
|
"value": "rgb(99, 99, 102)",
|
|
2064
2063
|
"deprecated": true,
|
|
@@ -2155,6 +2154,13 @@
|
|
|
2155
2154
|
"originalValue": "{!PETRA}",
|
|
2156
2155
|
"name": "COLOR_PETRA"
|
|
2157
2156
|
},
|
|
2157
|
+
"COLOR_SKY_BLUE": {
|
|
2158
|
+
"type": "color",
|
|
2159
|
+
"category": "colors",
|
|
2160
|
+
"value": "rgb(0, 98, 227)",
|
|
2161
|
+
"originalValue": "#0062e3",
|
|
2162
|
+
"name": "COLOR_SKY_BLUE"
|
|
2163
|
+
},
|
|
2158
2164
|
"TEXT_TERTIARY_DARK_COLOR": {
|
|
2159
2165
|
"value": "rgb(142, 142, 147)",
|
|
2160
2166
|
"deprecated": true,
|
|
@@ -2360,19 +2366,33 @@
|
|
|
2360
2366
|
"originalValue": "{!ANIMATION_DURATION_BASE}",
|
|
2361
2367
|
"name": "DURATION_BASE"
|
|
2362
2368
|
},
|
|
2363
|
-
"
|
|
2369
|
+
"BORDER_SIZE_SM": {
|
|
2364
2370
|
"type": "size",
|
|
2365
|
-
"value": "
|
|
2371
|
+
"value": "1px",
|
|
2372
|
+
"category": "borders",
|
|
2373
|
+
"originalValue": "{!BORDER_SIZE_SM}",
|
|
2374
|
+
"name": "BORDER_SIZE_SM"
|
|
2375
|
+
},
|
|
2376
|
+
"BORDER_SIZE_LG": {
|
|
2377
|
+
"type": "size",
|
|
2378
|
+
"value": "2px",
|
|
2379
|
+
"category": "borders",
|
|
2380
|
+
"originalValue": "{!BORDER_SIZE_LG}",
|
|
2381
|
+
"name": "BORDER_SIZE_LG"
|
|
2382
|
+
},
|
|
2383
|
+
"BORDER_RADIUS_FULL": {
|
|
2384
|
+
"type": "size",
|
|
2385
|
+
"value": "100%",
|
|
2366
2386
|
"category": "radii",
|
|
2367
|
-
"originalValue": "{!
|
|
2368
|
-
"name": "
|
|
2387
|
+
"originalValue": "{!BORDER_RADIUS_FULL}",
|
|
2388
|
+
"name": "BORDER_RADIUS_FULL"
|
|
2369
2389
|
},
|
|
2370
|
-
"
|
|
2390
|
+
"BORDER_RADIUS_XL": {
|
|
2371
2391
|
"type": "size",
|
|
2372
|
-
"value": ".5rem",
|
|
2392
|
+
"value": "2.5rem",
|
|
2373
2393
|
"category": "radii",
|
|
2374
|
-
"originalValue": "{!
|
|
2375
|
-
"name": "
|
|
2394
|
+
"originalValue": "{!BORDER_RADIUS_XL}",
|
|
2395
|
+
"name": "BORDER_RADIUS_XL"
|
|
2376
2396
|
},
|
|
2377
2397
|
"BORDER_RADIUS_MD": {
|
|
2378
2398
|
"type": "size",
|
|
@@ -2381,33 +2401,33 @@
|
|
|
2381
2401
|
"originalValue": "{!BORDER_RADIUS_MD}",
|
|
2382
2402
|
"name": "BORDER_RADIUS_MD"
|
|
2383
2403
|
},
|
|
2384
|
-
"
|
|
2404
|
+
"BORDER_RADIUS_NAV_TABS": {
|
|
2385
2405
|
"type": "size",
|
|
2386
|
-
"value": "1.
|
|
2406
|
+
"value": "1.125rem",
|
|
2387
2407
|
"category": "radii",
|
|
2388
|
-
"originalValue": "{!
|
|
2389
|
-
"name": "
|
|
2408
|
+
"originalValue": "{!BORDER_RADIUS_NAV_TABS}",
|
|
2409
|
+
"name": "BORDER_RADIUS_NAV_TABS"
|
|
2390
2410
|
},
|
|
2391
|
-
"
|
|
2411
|
+
"BORDER_RADIUS_SM": {
|
|
2392
2412
|
"type": "size",
|
|
2393
|
-
"value": "
|
|
2413
|
+
"value": ".5rem",
|
|
2394
2414
|
"category": "radii",
|
|
2395
|
-
"originalValue": "{!
|
|
2396
|
-
"name": "
|
|
2415
|
+
"originalValue": "{!BORDER_RADIUS_SM}",
|
|
2416
|
+
"name": "BORDER_RADIUS_SM"
|
|
2397
2417
|
},
|
|
2398
|
-
"
|
|
2418
|
+
"BORDER_RADIUS_XS": {
|
|
2399
2419
|
"type": "size",
|
|
2400
|
-
"value": "
|
|
2401
|
-
"category": "
|
|
2402
|
-
"originalValue": "{!
|
|
2403
|
-
"name": "
|
|
2420
|
+
"value": ".25rem",
|
|
2421
|
+
"category": "radii",
|
|
2422
|
+
"originalValue": "{!BORDER_RADIUS_XS}",
|
|
2423
|
+
"name": "BORDER_RADIUS_XS"
|
|
2404
2424
|
},
|
|
2405
|
-
"
|
|
2425
|
+
"BORDER_RADIUS_LG": {
|
|
2406
2426
|
"type": "size",
|
|
2407
|
-
"value": "
|
|
2408
|
-
"category": "
|
|
2409
|
-
"originalValue": "{!
|
|
2410
|
-
"name": "
|
|
2427
|
+
"value": "1.5rem",
|
|
2428
|
+
"category": "radii",
|
|
2429
|
+
"originalValue": "{!BORDER_RADIUS_LG}",
|
|
2430
|
+
"name": "BORDER_RADIUS_LG"
|
|
2411
2431
|
},
|
|
2412
2432
|
"BORDER_SIZE_XL": {
|
|
2413
2433
|
"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
|
|
@@ -415,6 +409,8 @@ $bpk-color-monteverde: rgb(0, 166, 152);
|
|
|
415
409
|
$bpk-background-elevation-03-dark-color: rgb(58, 58, 60);
|
|
416
410
|
/// @group colors
|
|
417
411
|
$bpk-color-sky-gray-tint-01: rgb(68, 69, 96);
|
|
412
|
+
/// @group colors
|
|
413
|
+
$bpk-color-black: rgb(1, 9, 19);
|
|
418
414
|
/// @group text-colors
|
|
419
415
|
$bpk-background-elevation-02-dark-color: rgb(44, 44, 46);
|
|
420
416
|
/// @group colors
|
|
@@ -464,6 +460,8 @@ $bpk-color-black-tint-04: rgb(72, 72, 74);
|
|
|
464
460
|
/// @group colors
|
|
465
461
|
$bpk-background-alternative-secondary-light-color: rgb(255, 255, 255);
|
|
466
462
|
/// @group colors
|
|
463
|
+
$bpk-color-white: rgb(255, 255, 255);
|
|
464
|
+
/// @group colors
|
|
467
465
|
$bpk-color-black-tint-05: rgb(99, 99, 102);
|
|
468
466
|
/// @group colors
|
|
469
467
|
$bpk-color-black-tint-06: rgb(142, 142, 147);
|
|
@@ -487,6 +485,8 @@ $bpk-background-elevation-02-light-color: rgb(255, 255, 255);
|
|
|
487
485
|
$bpk-background-elevation-03-light-color: rgb(255, 255, 255);
|
|
488
486
|
/// @group colors
|
|
489
487
|
$bpk-color-petra: rgb(255, 171, 149);
|
|
488
|
+
/// @group colors
|
|
489
|
+
$bpk-color-sky-blue: rgb(0, 98, 227);
|
|
490
490
|
/// @group text-colors
|
|
491
491
|
$bpk-text-tertiary-dark-color: rgb(142, 142, 147);
|
|
492
492
|
/// @group colors
|
|
@@ -539,20 +539,24 @@ $bpk-duration-xs: 50ms;
|
|
|
539
539
|
$bpk-duration-sm: 200ms;
|
|
540
540
|
/// @group animations
|
|
541
541
|
$bpk-duration-base: 400ms;
|
|
542
|
+
/// @group borders
|
|
543
|
+
$bpk-border-size-sm: 1px;
|
|
544
|
+
/// @group borders
|
|
545
|
+
$bpk-border-size-lg: 2px;
|
|
542
546
|
/// @group radii
|
|
543
|
-
$bpk-border-radius-
|
|
547
|
+
$bpk-border-radius-full: 100%;
|
|
544
548
|
/// @group radii
|
|
545
|
-
$bpk-border-radius-
|
|
549
|
+
$bpk-border-radius-xl: 2.5rem;
|
|
546
550
|
/// @group radii
|
|
547
551
|
$bpk-border-radius-md: .75rem;
|
|
548
552
|
/// @group radii
|
|
549
|
-
$bpk-border-radius-
|
|
553
|
+
$bpk-border-radius-nav-tabs: 1.125rem;
|
|
550
554
|
/// @group radii
|
|
551
|
-
$bpk-border-radius-
|
|
552
|
-
/// @group
|
|
553
|
-
$bpk-border-
|
|
554
|
-
/// @group
|
|
555
|
-
$bpk-border-
|
|
555
|
+
$bpk-border-radius-sm: .5rem;
|
|
556
|
+
/// @group radii
|
|
557
|
+
$bpk-border-radius-xs: .25rem;
|
|
558
|
+
/// @group radii
|
|
559
|
+
$bpk-border-radius-lg: 1.5rem;
|
|
556
560
|
/// @group borders
|
|
557
561
|
$bpk-border-size-xl: 3px;
|
|
558
562
|
/// @group box-shadows
|