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

Version Packages (beta) #249

Merged
merged 1 commit into from
Jan 25, 2024
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
2 changes: 2 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"dirty-pets-attend",
"empty-steaks-dress",
"forty-lizards-thank",
"fuzzy-cherries-buy",
"gentle-months-carry",
"good-peas-mix",
"happy-students-vanish",
Expand All @@ -23,6 +24,7 @@
"soft-moles-walk",
"strange-rings-love",
"tame-bobcats-beg",
"unlucky-buckets-shop",
"warm-experts-beg",
"wise-turtles-confess"
]
Expand Down
58 changes: 58 additions & 0 deletions packages/tokens/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,63 @@
# @adobe/spectrum-tokens

## 13.0.0-beta.11

### Minor Changes

- 3c6303a: Updated text-to-visual-300 mobile value from 11px to 10px.

## Design Motivation

To better follow our logarithmic scale rounding principle.

## Token Diff

_Token values updated (1):_

- `text-to-visual-300`

- 6579966: existing corner-radius tokens, adding net-new global corner radius tokens, and introducing new alias names that point to these global values.

## Design Motivation

More on Spectrum 2 rounding: https://s2.spectrum.corp.adobe.com/page/object-styles/#rounding

In Spectrum 2, rounding also applies to the different t-shirt sized components and varies based on a Major Second logarithmic scale, rounded to whole numbers to avoid using half-pixels. This allows for components to retain a consistent and identifiable shape at all sizes. Because of this there are now component size specific tokens like corner-radius-small-size-medium or corner-radius-medium-size-extra-large to help us keep track of the nuance within t-shirt sizes.

## Token Diff

_Tokens added (23):_

- `corner-radius-0`
- `corner-radius-300`
- `corner-radius-400`
- `corner-radius-500`
- `corner-radius-600`
- `corner-radius-700`
- `corner-radius-800`
- `corner-radius-1000`
- `corner-radius-extra-large-default`
- `corner-radius-full`
- `corner-radius-large-default`
- `corner-radius-medium-default`
- `corner-radius-medium-size-extra-small`
- `corner-radius-medium-size-small`
- `corner-radius-medium-size-medium`
- `corner-radius-medium-size-large`
- `corner-radius-medium-size-extra-large`
- `corner-radius-none`
- `corner-radius-small-default`
- `corner-radius-small-size-small`
- `corner-radius-small-size-medium`
- `corner-radius-small-size-large`
- `corner-radius-small-size-extra-large`

_Token values updated (3):_

- `corner-radius-75`
- `corner-radius-100`
- `corner-radius-200`

## 13.0.0-beta.10

### 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.10",
"version": "13.0.0-beta.11",
"description": "Design tokens for Spectrum, Adobe's design system",
"type": "module",
"main": "tasks/buildSpectrumTokens.js",
Expand Down