Skip to content

fix(design-tokens): Changes to Design Tokens #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/foundations/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@repo/foundations",
"version": "4.1.0",
"version": "4.2.0",
"description": "",
"main": "index.js",
"exports": {
Expand Down
152 changes: 112 additions & 40 deletions packages/foundations/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,13 @@
"description": "",
"value": "-1"
},
{
"name": "brand.lineHeight.100percent",
"key": "--brand-line-height-100percent",
"type": "lineHeight",
"description": "",
"value": "100"
},
{
"name": "brand.letterSpacing.tighter",
"key": "--brand-letter-spacing-tighter",
Expand Down Expand Up @@ -1018,6 +1025,13 @@
"description": "",
"value": "-1"
},
{
"name": "brand.lineHeight.100percent",
"key": "--brand-line-height-100percent",
"type": "lineHeight",
"description": "",
"value": "120"
},
{
"name": "brand.letterSpacing.tighter",
"key": "--brand-letter-spacing-tighter",
Expand Down Expand Up @@ -1643,20 +1657,20 @@
"description": "",
"value": "{--brand-spacing-60}"
},
{
"name": "breakpoint.action.gap.default",
"key": "--breakpoint-action-gap-default",
"type": "gap",
"description": "",
"value": "{--brand-spacing-80}"
},
{
"name": "breakpoint.static.padding.md",
"key": "--breakpoint-static-padding-md",
"type": "padding",
"description": "",
"value": "{--density-padding-md}"
},
{
"name": "breakpoint.action.gap.default",
"key": "--breakpoint-action-gap-default",
"type": "gap",
"description": "",
"value": "{--brand-spacing-80}"
},
{
"name": "breakpoint.action.borderRadius.sm",
"key": "--breakpoint-action-border-radius-sm",
Expand Down Expand Up @@ -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}"
}
]
},
Expand Down Expand Up @@ -1912,20 +1968,20 @@
"description": "",
"value": "{--brand-spacing-80}"
},
{
"name": "breakpoint.action.gap.default",
"key": "--breakpoint-action-gap-default",
"type": "gap",
"description": "",
"value": "{--brand-spacing-160}"
},
{
"name": "breakpoint.static.padding.md",
"key": "--breakpoint-static-padding-md",
"type": "padding",
"description": "",
"value": "{--density-padding-lg}"
},
{
"name": "breakpoint.action.gap.default",
"key": "--breakpoint-action-gap-default",
"type": "gap",
"description": "",
"value": "{--brand-spacing-160}"
},
{
"name": "breakpoint.action.borderRadius.sm",
"key": "--breakpoint-action-border-radius-sm",
Expand Down Expand Up @@ -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}"
}
]
}
Expand All @@ -2050,31 +2148,5 @@
"density--compact",
"breakpoints--mobile",
"breakpoints--desktop"
],
"vectors": [
{
"name": "Box - Moving",
"description": "",
"source": "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M2.60817 8.19257V4.34122M2.60817 4.34122L8.77033 0.875L11.8514 2.60811M2.60817 4.34122L5.68925 6.21666M14.9325 4.34122V11.5304L8.51357 15.125M14.9325 4.34122L8.51357 7.93581M14.9325 4.34122L11.8514 2.60811M8.51357 15.125L6.45952 13.8412M8.51357 15.125V7.93581M8.51357 7.93581L5.68925 6.21666M5.68925 6.21666L11.8514 2.60811M1.06763 11.7872L4.91898 9.47635M1.06763 14.3547L6.45952 11.0169\" stroke=\"#00549A\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n",
"properties": {
"Size": "S",
"Icon type": "Stroke",
"Icon colour": "Default",
"Frame type": "None",
"Frame fill": "None"
}
},
{
"name": "Box - Moving",
"description": "",
"source": "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M3.48651 12.3041V6.22297M3.48651 6.22297L13.2162 0.75L18.0811 3.48649M3.48651 6.22297L8.35137 9.1842M22.946 6.22297V17.5743L12.8108 23.25M22.946 6.22297L12.8108 11.8986M22.946 6.22297L18.0811 3.48649M12.8108 23.25L9.56759 21.223M12.8108 23.25V11.8986M12.8108 11.8986L8.35137 9.1842M8.35137 9.1842L18.0811 3.48649M1.05408 17.9797L7.13516 14.3311M1.05408 22.0338L9.56759 16.7635\" stroke=\"#00549A\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n",
"properties": {
"Size": "M",
"Icon type": "Stroke",
"Icon colour": "Default",
"Frame type": "None",
"Frame fill": "None"
}
}
]
}
Loading