Skip to content

Commit

Permalink
Merge 9c61b36 into cf09c84
Browse files Browse the repository at this point in the history
  • Loading branch information
GarthDB authored Jan 10, 2024
2 parents cf09c84 + 9c61b36 commit dff31b0
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 1 deletion.
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
},
"changesets": [
"dirty-pets-attend",
"empty-steaks-dress",
"good-peas-mix",
"happy-students-vanish",
"lemon-dragons-raise",
Expand Down
42 changes: 42 additions & 0 deletions packages/tokens/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,47 @@
# @adobe/spectrum-tokens

## 13.0.0-beta.9

### Minor Changes

- cf09c84: Updated workflow-icon-size-50, 75, 100, 200, 300 with Spectrum 2 values in mobile and desktop.
Updated component-top-to-workflow and text-to-visual padding.
Added 3 new non-color tokens for S2 component downstates in Tokens Studio.

## Design Motivation

Spectrum 2 icons have a different workflow icon sizing with base sizes 20 px (desktop), 24 px (mobile).

Updated padding values due to new workflow icon sizes in S2.

These tokens are used to calculate the perspective transform in CSS to achieve the effect of a component scaling down for down states in Spectrum 2. This is not applicable to all components.

## Tokens Diff

_Tokens added (3):_

- `component-size-difference-down`
- `component-size-minimum-perspective-down`
- `component-size-width-ratio-down`

_Token values updated (15):_

- `component-top-to-workflow-icon-100`
- `component-top-to-workflow-icon-200`
- `component-top-to-workflow-icon-300`
- `component-top-to-workflow-icon-50`
- `component-top-to-workflow-icon-75`
- `text-to-visual-100`
- `text-to-visual-200`
- `text-to-visual-300`
- `text-to-visual-50`
- `text-to-visual-75`
- `workflow-icon-size-100`
- `workflow-icon-size-200`
- `workflow-icon-size-300`
- `workflow-icon-size-50`
- `workflow-icon-size-75`

## 13.0.0-beta.8

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/tokens/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/spectrum-tokens",
"version": "13.0.0-beta.8",
"version": "13.0.0-beta.9",
"description": "Design tokens for Spectrum, Adobe's design system",
"type": "module",
"main": "tasks/buildSpectrumTokens.js",
Expand Down

0 comments on commit dff31b0

Please sign in to comment.