Skip to content
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

feat: updates from spectrum-tokens-studio-data #262

Merged
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
23 changes: 23 additions & 0 deletions .changeset/olive-schools-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
"@adobe/spectrum-tokens": minor
---

New non-color tokens for S2 tag component added to both desktop and mobile layout.component sets.

## Design Motivation

New values for tag component for S2.

## Token Diff

_Tokens added (9):_

- `tag-edge-to-clear-icon-large`
- `tag-edge-to-clear-icon-medium`
- `tag-edge-to-clear-icon-small`
- `tag-label-clear-icon-large`
- `tag-label-to-clear-icon-large`
- `tag-label-to-clear-icon-medium`
- `tag-label-to-clear-icon-small`
- `tag-maximum-width-multiplier`
- `tag-minimum-width-multiplier`
2 changes: 0 additions & 2 deletions .changeset/wet-jobs-lie.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

Added new semantic color aliases to Tokens Studio, in the S2 color tokens, alias sets for both light and dark themes.

New non-color tokens for S2 tag component added to both desktop and mobile layout.component sets.

## Design Motivation

New values for tag component for S2. New negative-subdued background tokens were needed for negative and not selected tag components.
Expand Down
102 changes: 101 additions & 1 deletion packages/tokens/src/layout-component.json
Original file line number Diff line number Diff line change
Expand Up @@ -7045,5 +7045,105 @@
"uuid": "daee9fb3-c94c-4f91-90d5-99e40034c1fd"
}
}
},
"tag-minimum-width-multiplier": {
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/multiplier.json",
"value": "1",
"uuid": "837b2ac3-0adc-438c-b249-b96bac07049f"
},
"tag-maximum-width-multiplier": {
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/multiplier.json",
"value": "7",
"uuid": "8771f506-a491-4222-be86-0e666ea2c711"
},
"tag-label-to-clear-icon-small": {
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
"sets": {
"desktop": {
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
"value": "8px",
"uuid": "bfc9cd19-e115-4ff2-908d-6cd4725f68bc"
},
"mobile": {
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
"value": "10px",
"uuid": "2011748e-f950-4c6e-9eee-1c0d77b7ba36"
}
}
},
"tag-label-to-clear-icon-medium": {
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
"sets": {
"desktop": {
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
"value": "12px",
"uuid": "c964fe64-fcb6-4417-977d-b15880daf164"
},
"mobile": {
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
"value": "15px",
"uuid": "ff7424ba-5f65-46ff-b408-4ffb2cfc5035"
}
}
},
"tag-label-to-clear-icon-large": {
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
"sets": {
"desktop": {
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
"value": "15px",
"uuid": "8533ad58-9e81-4154-8ad1-57213741e814"
},
"mobile": {
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
"value": "19px",
"uuid": "7c1375da-c6c7-42b3-b60e-0ef6724c6303"
}
}
},
"tag-edge-to-clear-icon-small": {
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
"sets": {
"desktop": {
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
"value": "8px",
"uuid": "a27b0e7c-8840-4d08-8f88-39643589c554"
},
"mobile": {
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
"value": "10px",
"uuid": "6f913e5f-debc-4b7d-897d-c2704847c2e5"
}
}
},
"tag-edge-to-clear-icon-medium": {
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
"sets": {
"desktop": {
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
"value": "12px",
"uuid": "e4e422af-181f-47b5-b165-f514a0a6f41c"
},
"mobile": {
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
"value": "15px",
"uuid": "a2f75bb4-0ce4-4993-9a43-09cd2b7376bf"
}
}
},
"tag-edge-to-clear-icon-large": {
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
"sets": {
"desktop": {
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
"value": "15px",
"uuid": "896b20fc-c13e-4785-a252-00857208d51c"
},
"mobile": {
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
"value": "19px",
"uuid": "b046b12c-5c39-4018-8ccc-9a5cb08eb6e5"
}
}
}
}
}
Loading