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
1 change: 1 addition & 0 deletions packages/ui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

### Code Quality

- `Button`: Reference the medium font-weight design token instead of a literal value. No visual change ([#79278](https://github.com/WordPress/gutenberg/pull/79278)).
- Move `@types/react` from `dependencies` to an optional peer dependency so consumers' React type version is used ([#79095](https://github.com/WordPress/gutenberg/pull/79095)).
- `Button` and `AlertDialog`: Reference the tone-specific `brand`/`error` disabled color tokens for disabled states instead of the `neutral` ones, to match each element's tone. Disabled `Select`/`Autocomplete`/`Combobox` list items also adopt the `brand` disabled background token. No visual change ([#79124](https://github.com/WordPress/gutenberg/pull/79124)).

Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/button/style.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

.button {
/* Internal variables */
--wp-ui-button-font-weight: 499;
--wp-ui-button-font-weight: var(--wpds-typography-font-weight-medium);

--wp-ui-button-background-color: var(--wpds-color-background-interactive-brand-strong);
--wp-ui-button-background-color-active: var(--wpds-color-background-interactive-brand-strong-active);
Expand Down
Loading