From 249cf6d04081ca042360b32a26bfee41c58fa1b2 Mon Sep 17 00:00:00 2001 From: Jason Santos Date: Mon, 16 Dec 2024 11:26:22 -0500 Subject: [PATCH] fix(design-tokens): Changes to Design Tokens Added tokens: + brand.lineHeight.100percent + typography.subtitle.fontSize.lg + typography.subtitle.fontSize.md + typography.subtitle.fontWeight.default + typography.subtitle.lineHeight.lg + typography.subtitle.lineHeight.md + typography.subtitle.letterSpacing.default # Figma User: Jason Santos --- packages/foundations/package.json | 2 +- packages/foundations/tokens.json | 124 +++++++++++++++++++++++------- 2 files changed, 99 insertions(+), 27 deletions(-) diff --git a/packages/foundations/package.json b/packages/foundations/package.json index 8f79dcc..f2f2ba9 100644 --- a/packages/foundations/package.json +++ b/packages/foundations/package.json @@ -1,6 +1,6 @@ { "name": "@repo/foundations", - "version": "4.1.0", + "version": "4.2.0", "description": "", "main": "index.js", "exports": { diff --git a/packages/foundations/tokens.json b/packages/foundations/tokens.json index e21caa6..5e117e2 100644 --- a/packages/foundations/tokens.json +++ b/packages/foundations/tokens.json @@ -553,6 +553,13 @@ "description": "", "value": "24" }, + { + "name": "brand.lineHeight.100percent", + "key": "--brand-line-height-100percent", + "type": "lineHeight", + "description": "", + "value": "100" + }, { "name": "brand.letterSpacing.tightest", "key": "--brand-letter-spacing-tightest", @@ -1011,6 +1018,13 @@ "description": "", "value": "28" }, + { + "name": "brand.lineHeight.100percent", + "key": "--brand-line-height-100percent", + "type": "lineHeight", + "description": "", + "value": "120" + }, { "name": "brand.letterSpacing.tightest", "key": "--brand-letter-spacing-tightest", @@ -1768,6 +1782,48 @@ "type": "letterSpacing", "description": "", "value": "{--brand-letter-spacing-regular}" + }, + { + "name": "typography.subtitle.fontSize.lg", + "key": "--typography-subtitle-font-size-lg", + "type": "fontSize", + "description": "", + "value": "{--brand-font-size-sm}" + }, + { + "name": "typography.subtitle.fontSize.md", + "key": "--typography-subtitle-font-size-md", + "type": "fontSize", + "description": "", + "value": "{--brand-font-size-regular}" + }, + { + "name": "typography.subtitle.fontWeight.default", + "key": "--typography-subtitle-font-weight-default", + "type": "fontWeight", + "description": "", + "value": "{--brand-font-weight-bold}" + }, + { + "name": "typography.subtitle.lineHeight.lg", + "key": "--typography-subtitle-line-height-lg", + "type": "lineHeight", + "description": "", + "value": "{--brand-line-height-5}" + }, + { + "name": "typography.subtitle.lineHeight.md", + "key": "--typography-subtitle-line-height-md", + "type": "lineHeight", + "description": "", + "value": "{--brand-line-height-4}" + }, + { + "name": "typography.subtitle.letterSpacing.default", + "key": "--typography-subtitle-letter-spacing-default", + "type": "letterSpacing", + "description": "", + "value": "{--brand-letter-spacing-regular}" } ] }, @@ -2037,6 +2093,48 @@ "type": "letterSpacing", "description": "", "value": "{--brand-letter-spacing-regular}" + }, + { + "name": "typography.subtitle.fontSize.lg", + "key": "--typography-subtitle-font-size-lg", + "type": "fontSize", + "description": "", + "value": "{--brand-font-size-regular}" + }, + { + "name": "typography.subtitle.fontSize.md", + "key": "--typography-subtitle-font-size-md", + "type": "fontSize", + "description": "", + "value": "{--brand-font-size-lg}" + }, + { + "name": "typography.subtitle.fontWeight.default", + "key": "--typography-subtitle-font-weight-default", + "type": "fontWeight", + "description": "", + "value": "{--brand-font-weight-bold}" + }, + { + "name": "typography.subtitle.lineHeight.lg", + "key": "--typography-subtitle-line-height-lg", + "type": "lineHeight", + "description": "", + "value": "{--brand-line-height-6}" + }, + { + "name": "typography.subtitle.lineHeight.md", + "key": "--typography-subtitle-line-height-md", + "type": "lineHeight", + "description": "", + "value": "{--brand-line-height-5}" + }, + { + "name": "typography.subtitle.letterSpacing.default", + "key": "--typography-subtitle-letter-spacing-default", + "type": "letterSpacing", + "description": "", + "value": "{--brand-letter-spacing-regular}" } ] } @@ -2050,31 +2148,5 @@ "density--compact", "breakpoints--mobile", "breakpoints--desktop" - ], - "vectors": [ - { - "name": "Box - Moving", - "description": "", - "source": "\n\n\n", - "properties": { - "Size": "S", - "Icon type": "Stroke", - "Icon colour": "Default", - "Frame type": "None", - "Frame fill": "None" - } - }, - { - "name": "Box - Moving", - "description": "", - "source": "\n\n\n", - "properties": { - "Size": "M", - "Icon type": "Stroke", - "Icon colour": "Default", - "Frame type": "None", - "Frame fill": "None" - } - } ] } \ No newline at end of file