Skip to content

Commit

Permalink
feat(design-tokens): Changes to Design Tokens
Browse files Browse the repository at this point in the history
Deleted tokens:
- brand.paragraphSpacing.3
- brand.paragraphSpacing.4
- brand.paragraphSpacing.5
- brand.paragraphSpacing.6
- typography.label.paragraphSpacing.default
- typography.info.paragraphSpacing.default
- typography.body.paragraphSpacing.default
- typography.title.paragraphSpacing.default
- screen-min-width
- screen-max-width

Modified tokens:
. semantic.static.borderColor.default

# Figma User: Jason Santos
  • Loading branch information
jasonsantos committed Nov 27, 2024
1 parent 1191bf4 commit 43417b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 158 deletions.
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": "3.0.0",
"version": "4.0.0",
"description": "",
"main": "index.js",
"exports": {
Expand Down
158 changes: 1 addition & 157 deletions packages/foundations/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
"key": "--semantic-static-border-color-default",
"type": "borderColor",
"description": "",
"value": "{\"r\":1,\"g\":0.3019607961177826,\"b\":0.3019607961177826,\"a\":1}"
"value": "{--brand-interactive-error-700}"
},
{
"name": "semantic.static.borderColor.strong",
Expand Down Expand Up @@ -532,34 +532,6 @@
"description": "",
"value": "12"
},
{
"name": "brand.paragraphSpacing.3",
"key": "--brand-paragraph-spacing-3",
"type": "FLOAT",
"description": "",
"value": "12"
},
{
"name": "brand.paragraphSpacing.4",
"key": "--brand-paragraph-spacing-4",
"type": "FLOAT",
"description": "",
"value": "16"
},
{
"name": "brand.paragraphSpacing.5",
"key": "--brand-paragraph-spacing-5",
"type": "FLOAT",
"description": "",
"value": "20"
},
{
"name": "brand.paragraphSpacing.6",
"key": "--brand-paragraph-spacing-6",
"type": "FLOAT",
"description": "",
"value": "24"
},
{
"name": "brand.lineHeight.4",
"key": "--brand-line-height-4",
Expand Down Expand Up @@ -1018,34 +990,6 @@
"description": "",
"value": "12"
},
{
"name": "brand.paragraphSpacing.3",
"key": "--brand-paragraph-spacing-3",
"type": "FLOAT",
"description": "",
"value": "12"
},
{
"name": "brand.paragraphSpacing.4",
"key": "--brand-paragraph-spacing-4",
"type": "FLOAT",
"description": "",
"value": "16"
},
{
"name": "brand.paragraphSpacing.5",
"key": "--brand-paragraph-spacing-5",
"type": "FLOAT",
"description": "",
"value": "20"
},
{
"name": "brand.paragraphSpacing.6",
"key": "--brand-paragraph-spacing-6",
"type": "FLOAT",
"description": "",
"value": "24"
},
{
"name": "brand.lineHeight.4",
"key": "--brand-line-height-4",
Expand Down Expand Up @@ -1587,13 +1531,6 @@
"description": "",
"value": "{--brand-line-height-4}"
},
{
"name": "typography.label.paragraphSpacing.default",
"key": "--typography-label-paragraph-spacing-default",
"type": "FLOAT",
"description": "",
"value": "{--brand-paragraph-spacing-4}"
},
{
"name": "typography.label.letterSpacing.default",
"key": "--typography-label-letter-spacing-default",
Expand Down Expand Up @@ -1622,13 +1559,6 @@
"description": "",
"value": "{--brand-line-height-4}"
},
{
"name": "typography.info.paragraphSpacing.default",
"key": "--typography-info-paragraph-spacing-default",
"type": "FLOAT",
"description": "",
"value": "{--brand-paragraph-spacing-4}"
},
{
"name": "typography.info.letterSpacing.default",
"key": "--typography-info-letter-spacing-default",
Expand Down Expand Up @@ -1776,13 +1706,6 @@
"description": "",
"value": "{--brand-line-height-4}"
},
{
"name": "typography.body.paragraphSpacing.default",
"key": "--typography-body-paragraph-spacing-default",
"type": "FLOAT",
"description": "",
"value": "{--brand-paragraph-spacing-4}"
},
{
"name": "typography.body.letterSpacing.default",
"key": "--typography-body-letter-spacing-default",
Expand Down Expand Up @@ -1825,33 +1748,12 @@
"description": "",
"value": "{--brand-line-height-4}"
},
{
"name": "typography.title.paragraphSpacing.default",
"key": "--typography-title-paragraph-spacing-default",
"type": "FLOAT",
"description": "",
"value": "{--brand-paragraph-spacing-4}"
},
{
"name": "typography.title.letterSpacing.default",
"key": "--typography-title-letter-spacing-default",
"type": "letterSpacing",
"description": "",
"value": "{--brand-letter-spacing-regular}"
},
{
"name": "screen-min-width",
"key": "--screen-min-width",
"type": "FLOAT",
"description": "",
"value": "0"
},
{
"name": "screen-max-width",
"key": "--screen-max-width",
"type": "FLOAT",
"description": "",
"value": "428"
}
]
},
Expand Down Expand Up @@ -1884,13 +1786,6 @@
"description": "",
"value": "{--brand-line-height-4}"
},
{
"name": "typography.label.paragraphSpacing.default",
"key": "--typography-label-paragraph-spacing-default",
"type": "FLOAT",
"description": "",
"value": "{--brand-paragraph-spacing-4}"
},
{
"name": "typography.label.letterSpacing.default",
"key": "--typography-label-letter-spacing-default",
Expand Down Expand Up @@ -1919,13 +1814,6 @@
"description": "",
"value": "{--brand-line-height-4}"
},
{
"name": "typography.info.paragraphSpacing.default",
"key": "--typography-info-paragraph-spacing-default",
"type": "FLOAT",
"description": "",
"value": "{--brand-paragraph-spacing-4}"
},
{
"name": "typography.info.letterSpacing.default",
"key": "--typography-info-letter-spacing-default",
Expand Down Expand Up @@ -2073,13 +1961,6 @@
"description": "",
"value": "{--brand-line-height-4}"
},
{
"name": "typography.body.paragraphSpacing.default",
"key": "--typography-body-paragraph-spacing-default",
"type": "FLOAT",
"description": "",
"value": "{--brand-paragraph-spacing-4}"
},
{
"name": "typography.body.letterSpacing.default",
"key": "--typography-body-letter-spacing-default",
Expand Down Expand Up @@ -2122,33 +2003,12 @@
"description": "",
"value": "{--brand-line-height-5}"
},
{
"name": "typography.title.paragraphSpacing.default",
"key": "--typography-title-paragraph-spacing-default",
"type": "FLOAT",
"description": "",
"value": "{--brand-paragraph-spacing-4}"
},
{
"name": "typography.title.letterSpacing.default",
"key": "--typography-title-letter-spacing-default",
"type": "letterSpacing",
"description": "",
"value": "{--brand-letter-spacing-regular}"
},
{
"name": "screen-min-width",
"key": "--screen-min-width",
"type": "FLOAT",
"description": "",
"value": "429"
},
{
"name": "screen-max-width",
"key": "--screen-max-width",
"type": "FLOAT",
"description": "",
"value": "4096"
}
]
}
Expand All @@ -2162,21 +2022,5 @@
"density--compact",
"breakpoints--mobile",
"breakpoints--desktop"
],
"vectors": [
{
"name": "heart",
"description": "",
"source": "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M1.24375 8.24375L2 9L8 15L14 9L14.7563 8.24375C15.5531 7.44687 16 6.36875 16 5.24375C16 2.9 14.1 1 11.7563 1C10.6313 1 9.55313 1.44688 8.75625 2.24375L8 3L7.24375 2.24375C6.44688 1.44688 5.36875 1 4.24375 1C1.9 1 0 2.9 0 5.24375C0 6.36875 0.446875 7.44687 1.24375 8.24375Z\" fill=\"black\"/>\n</svg>\n",
"properties": {}
},
{
"name": "clock_outline_spot",
"description": "",
"source": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g clip-path=\"url(#clip0_2190_2908)\">\n<path d=\"M10 0C4.486 0 0 4.486 0 10C0 15.514 4.486 20 10 20C15.514 20 20 15.514 20 10C20 4.486 15.514 0 10 0ZM10 18C5.589 18 2 14.411 2 10C2 5.589 5.589 2 10 2C14.411 2 18 5.589 18 10C18 14.411 14.411 18 10 18ZM11 9.586V5C11 4.73478 10.8946 4.48043 10.7071 4.29289C10.5196 4.10536 10.2652 4 10 4C9.73478 4 9.48043 4.10536 9.29289 4.29289C9.10536 4.48043 9 4.73478 9 5V10C9 10.266 9.105 10.52 9.293 10.707L12.293 13.707C12.3857 13.8002 12.4958 13.8741 12.6171 13.9246C12.7385 13.9751 12.8686 14.001 13 14.001C13.1314 14.001 13.2615 13.9751 13.3829 13.9246C13.5042 13.8741 13.6143 13.8002 13.707 13.707C13.7999 13.6142 13.8737 13.504 13.924 13.3827C13.9743 13.2614 14.0002 13.1313 14.0002 13C14.0002 12.8687 13.9743 12.7386 13.924 12.6173C13.8737 12.496 13.7999 12.3858 13.707 12.293L11 9.586Z\" fill=\"black\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_2190_2908\">\n<rect width=\"20\" height=\"20\" fill=\"white\"/>\n</clipPath>\n</defs>\n</svg>\n",
"properties": {
"usage": "application"
}
}
]
}

0 comments on commit 43417b4

Please sign in to comment.