Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@skyscanner/bpk-foundations-common

Package Overview
Dependencies
Maintainers
6
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@skyscanner/bpk-foundations-common - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

app/colors.json

230

app/typography.json
{
"aliases": {
"FONT_SIZE_CAPS": 10,
"FONT_SIZE_XS": 12,

@@ -16,15 +15,15 @@ "FONT_SIZE_SM": 14,

"FONT_SIZE_8XL": 120,
"LINE_HEIGHT_XS": 12,
"LINE_HEIGHT_SM": 14,
"LINE_HEIGHT_BASE": 16,
"LINE_HEIGHT_BASE-TIGHT": 16,
"LINE_HEIGHT_LG": 20,
"LINE_HEIGHT_LG-TIGHT": 20,
"LINE_HEIGHT_XL": 24,
"LINE_HEIGHT_XL-TIGHT": 24,
"LINE_HEIGHT_XXL": 32,
"LINE_HEIGHT_XXXL": 40,
"LINE_HEIGHT_XXXXL": 48,
"LINE_HEIGHT_5XL": 64,
"LINE_HEIGHT_6XL": 76,
"LINE_HEIGHT_XS": 16,
"LINE_HEIGHT_SM": 20,
"LINE_HEIGHT_BASE-TIGHT": 20,
"LINE_HEIGHT_BASE": 24,
"LINE_HEIGHT_LG-TIGHT": 24,
"LINE_HEIGHT_LG": 28,
"LINE_HEIGHT_XL-TIGHT": 28,
"LINE_HEIGHT_XL": 32,
"LINE_HEIGHT_XXL": 40,
"LINE_HEIGHT_XXXL": 48,
"LINE_HEIGHT_XXXXL": 56,
"LINE_HEIGHT_5XL": 72,
"LINE_HEIGHT_6XL": 84,
"LINE_HEIGHT_7XL": 96,

@@ -34,11 +33,5 @@ "LINE_HEIGHT_8XL": 120,

"FONT_WEIGHT_BOOK": "400",
"FONT_WEIGHT_BOLD": "700",
"FONT_WEIGHT_BLACK": "900"
"FONT_WEIGHT_BOLD": "700"
},
"props": {
"FONT_SIZE_CAPS": {
"value": "{!FONT_SIZE_CAPS}",
"type": "font-size",
"category": "typesettings"
},
"FONT_SIZE_XS": {

@@ -124,2 +117,7 @@ "value": "{!FONT_SIZE_XS}",

},
"LINE_HEIGHT_BASE-TIGHT": {
"value": "{!LINE_HEIGHT_BASE-TIGHT}",
"type": "size",
"category": "typesettings"
},
"LINE_HEIGHT_LG": {

@@ -130,2 +128,7 @@ "value": "{!LINE_HEIGHT_LG}",

},
"LINE_HEIGHT_LG-TIGHT": {
"value": "{!LINE_HEIGHT_LG-TIGHT}",
"type": "size",
"category": "typesettings"
},
"LINE_HEIGHT_XL": {

@@ -136,2 +139,7 @@ "value": "{!LINE_HEIGHT_XL}",

},
"LINE_HEIGHT_XL-TIGHT": {
"value": "{!LINE_HEIGHT_XL-TIGHT}",
"type": "size",
"category": "typesettings"
},
"LINE_HEIGHT_XXL": {

@@ -172,2 +180,182 @@ "value": "{!LINE_HEIGHT_XXL}",

},
"TEXT_CAPTION_FONT_SIZE": {
"value": "{!FONT_SIZE_XS}",
"type": "font-size",
"category": "font-sizes"
},
"TEXT_CAPTION_FONT_WEIGHT": {
"value": "{!FONT_WEIGHT_BOOK}",
"type": "string",
"category": "font-weights"
},
"TEXT_CAPTION_LINE_HEIGHT": {
"value": "{!LINE_HEIGHT_XS}",
"type": "size",
"category": "typesettings"
},
"TEXT_FOOTNOTE_FONT_SIZE": {
"value": "{!FONT_SIZE_SM}",
"type": "font-size",
"category": "font-sizes"
},
"TEXT_FOOTNOTE_FONT_WEIGHT": {
"value": "{!FONT_WEIGHT_BOOK}",
"type": "string",
"category": "font-weights"
},
"TEXT_FOOTNOTE_LINE_HEIGHT": {
"value": "{!LINE_HEIGHT_SM}",
"type": "size",
"category": "typesettings"
},
"TEXT_LABEL-2_FONT_SIZE": {
"value": "{!FONT_SIZE_SM}",
"type": "font-size",
"category": "font-sizes"
},
"TEXT_LABEL-2_FONT_WEIGHT": {
"value": "{!FONT_WEIGHT_BOLD}",
"type": "string",
"category": "font-weights"
},
"TEXT_LABEL-2_LINE_HEIGHT": {
"value": "{!LINE_HEIGHT_SM}",
"type": "size",
"category": "typesettings"
},
"TEXT_LABEL-1_FONT_SIZE": {
"value": "{!FONT_SIZE_BASE}",
"type": "font-size",
"category": "font-sizes"
},
"TEXT_LABEL-1_FONT_WEIGHT": {
"value": "{!FONT_WEIGHT_BOLD}",
"type": "string",
"category": "font-weights"
},
"TEXT_LABEL-1_LINE_HEIGHT": {
"value": "{!LINE_HEIGHT_BASE}",
"type": "size",
"category": "typesettings"
},
"TEXT_BODY-DEFAULT_FONT_SIZE": {
"value": "{!FONT_SIZE_BASE}",
"type": "font-size",
"category": "font-sizes"
},
"TEXT_BODY-DEFAULT_FONT_WEIGHT": {
"value": "{!FONT_WEIGHT_BOOK}",
"type": "string",
"category": "font-weights"
},
"TEXT_BODY-DEFAULT_LINE_HEIGHT": {
"value": "{!LINE_HEIGHT_BASE}",
"type": "size",
"category": "typesettings"
},
"TEXT_HEADING-5_FONT_SIZE": {
"value": "{!FONT_SIZE_BASE}",
"type": "font-size",
"category": "font-sizes"
},
"TEXT_HEADING-5_FONT_WEIGHT": {
"value": "{!FONT_WEIGHT_BOLD}",
"type": "string",
"category": "font-weights"
},
"TEXT_HEADING-5_LINE_HEIGHT": {
"value": "{!LINE_HEIGHT_BASE-TIGHT}",
"type": "size",
"category": "typesettings"
},
"TEXT_BODY-LONGFORM_FONT_SIZE": {
"value": "{!FONT_SIZE_LG}",
"type": "font-size",
"category": "font-sizes"
},
"TEXT_BODY-LONGFORM_FONT_WEIGHT": {
"value": "{!FONT_WEIGHT_BOOK}",
"type": "string",
"category": "font-weights"
},
"TEXT_BODY-LONGFORM_LINE_HEIGHT": {
"value": "{!LINE_HEIGHT_LG}",
"type": "size",
"category": "typesettings"
},
"TEXT_HEADING-4_FONT_SIZE": {
"value": "{!FONT_SIZE_LG}",
"type": "font-size",
"category": "font-sizes"
},
"TEXT_HEADING-4_FONT_WEIGHT": {
"value": "{!FONT_WEIGHT_BOLD}",
"type": "string",
"category": "font-weights"
},
"TEXT_HEADING-4_LINE_HEIGHT": {
"value": "{!LINE_HEIGHT_LG-TIGHT}",
"type": "size",
"category": "typesettings"
},
"TEXT_SUBHEADING_FONT_SIZE": {
"value": "{!FONT_SIZE_XL}",
"type": "font-size",
"category": "font-sizes"
},
"TEXT_SUBHEADING_FONT_WEIGHT": {
"value": "{!FONT_WEIGHT_BOOK}",
"type": "string",
"category": "font-weights"
},
"TEXT_SUBHEADING_LINE_HEIGHT": {
"value": "{!LINE_HEIGHT_XL}",
"type": "size",
"category": "typesettings"
},
"TEXT_HEADING-3_FONT_SIZE": {
"value": "{!FONT_SIZE_XL}",
"type": "font-size",
"category": "font-sizes"
},
"TEXT_HEADING-3_FONT_WEIGHT": {
"value": "{!FONT_WEIGHT_BOLD}",
"type": "string",
"category": "font-weights"
},
"TEXT_HEADING-3_LINE_HEIGHT": {
"value": "{!LINE_HEIGHT_XL-TIGHT}",
"type": "size",
"category": "typesettings"
},
"TEXT_HEADING-2_FONT_SIZE": {
"value": "{!FONT_SIZE_XXL}",
"type": "font-size",
"category": "font-sizes"
},
"TEXT_HEADING-2_FONT_WEIGHT": {
"value": "{!FONT_WEIGHT_BOLD}",
"type": "string",
"category": "font-weights"
},
"TEXT_HEADING-2_LINE_HEIGHT": {
"value": "{!LINE_HEIGHT_XXL}",
"type": "size",
"category": "typesettings"
},
"TEXT_HEADING-1_FONT_SIZE": {
"value": "{!FONT_SIZE_XXXL}",
"type": "font-size",
"category": "font-sizes"
},
"TEXT_HEADING-1_FONT_WEIGHT": {
"value": "{!FONT_WEIGHT_BOLD}",
"type": "string",
"category": "font-weights"
},
"TEXT_HEADING-1_LINE_HEIGHT": {
"value": "{!LINE_HEIGHT_XXXL}",
"type": "size",
"category": "typesettings"
},
"TEXT_HERO-5_FONT_SIZE": {

@@ -174,0 +362,0 @@ "value": "{!FONT_SIZE_XXXXL}",

4

package.json
{
"name": "@skyscanner/bpk-foundations-common",
"version": "2.1.0",
"version": "2.2.0",
"description": "Common Backpack design tokens for colors, spacing, font, etc.",

@@ -23,3 +23,3 @@ "license": "Apache-2.0",

"type": "module",
"gitHead": "7eaf0a36104875e96319b723c7940cd9b160d7e8"
"gitHead": "d150a067a5237089a4124a34ad2e48daaf79b1c6"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc