Skip to content
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
4 changes: 4 additions & 0 deletions packages/theme/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@

- Increase the contrast target of `stroke1` from `2.6` to `2.9` so that, on the default scale, it lands between `gray100` and `gray200`. This regenerates `stroke1` for every ramp and updates the values of `--wpds-color-stroke-surface-{brand,error,info,success,warning,neutral-weak}` and `--wpds-color-bg-track-neutral-weak` ([#77599](https://github.com/WordPress/gutenberg/pull/77599)).

### Internal

- Add Figma `WIDTH_HEIGHT` scopes to `--wpds-dimension-size-*` design tokens ([#79032](https://github.com/WordPress/gutenberg/pull/79032)).

## 0.14.0 (2026-05-27)

### Breaking Changes
Expand Down
40 changes: 32 additions & 8 deletions packages/theme/tokens/dimension.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,35 +154,59 @@
"size": {
"5xs": {
"$value": "{wpds-dimension.primitive.space.10}",
"$description": "Notification indicators"
"$description": "Notification indicators",
"$extensions": {
"com.figma.scopes": [ "WIDTH_HEIGHT" ]
}
},
"4xs": {
"$value": "{wpds-dimension.primitive.space.20}",
"$description": "Visual size for small interactive elements like resize handles"
"$description": "Visual size for small interactive elements like resize handles",
"$extensions": {
"com.figma.scopes": [ "WIDTH_HEIGHT" ]
}
},
"3xs": {
"$value": "{wpds-dimension.primitive.space.30}",
"$description": "Small markers"
"$description": "Small markers",
"$extensions": {
"com.figma.scopes": [ "WIDTH_HEIGHT" ]
}
},
"2xs": {
"$value": "{wpds-dimension.primitive.space.40}",
"$description": "For small controls like checkboxes and radios, or small decorative icons"
"$description": "For small controls like checkboxes and radios, or small decorative icons",
"$extensions": {
"com.figma.scopes": [ "WIDTH_HEIGHT" ]
}
},
"xs": {
"$value": "{wpds-dimension.primitive.space.50}",
"$description": "For medium sized icons"
"$description": "For medium sized icons",
"$extensions": {
"com.figma.scopes": [ "WIDTH_HEIGHT" ]
}
},
"sm": {
"$value": "{wpds-dimension.primitive.space.60}",
"$description": "For icons and small buttons"
"$description": "For icons and small buttons",
"$extensions": {
"com.figma.scopes": [ "WIDTH_HEIGHT" ]
}
},
"md": {
"$value": "{wpds-dimension.primitive.space.70}",
"$description": "For medium-sized buttons and inputs"
"$description": "For medium-sized buttons and inputs",
"$extensions": {
"com.figma.scopes": [ "WIDTH_HEIGHT" ]
}
},
"lg": {
"$value": "{wpds-dimension.primitive.space.80}",
"$description": "Default size for buttons and inputs"
"$description": "Default size for buttons and inputs",
"$extensions": {
"com.figma.scopes": [ "WIDTH_HEIGHT" ]
}
}
},
"surface-width": {
Expand Down
Loading