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/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Bug Fixes

- `Tabs`: Set explicit `font-family` on tab buttons to prevent inheriting unintended fonts ([#75537](https://github.com/WordPress/gutenberg/pull/75537)).
- `ExternalLink`: Add `wp-exclude-emoji` class to prevent Twemoji from replacing the arrow icon ([#75538](https://github.com/WordPress/gutenberg/pull/75538)).
- `TimePicker`: Fix date parsing for years below 1000 by implementing ISO 8601 compliant year formatting with zero-padding ([#75343](https://github.com/WordPress/gutenberg/pull/75343)).
- `Text`: Remove `text-wrap: balance` fallback. Only `text-wrap: pretty` is now used ([#75089](https://github.com/WordPress/gutenberg/pull/75089)).
Expand Down
1 change: 1 addition & 0 deletions packages/components/src/tabs/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ export const Tab = styled( Ariakit.Tab )`
align-items: center;
cursor: pointer;
line-height: 1.2; // Characters in some languages (e.g. Japanese) may have a native higher line-height.
font-family: ${ font( 'default.fontFamily' ) };
font-weight: 400;
font-size: ${ font( 'default.fontSize' ) };
color: ${ COLORS.theme.foreground };
Expand Down
1 change: 1 addition & 0 deletions packages/ui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

### Bug Fixes

- `Tabs`: Replace hardcoded font values with design tokens on tab buttons ([#75537](https://github.com/WordPress/gutenberg/pull/75537)).
- `Field`: Fix default gap spacing ([#75446](https://github.com/WordPress/gutenberg/pull/75446)).
- `Button`: Fix disabled styles while `focusableWhenDisabled={false}` ([#75568](https://github.com/WordPress/gutenberg/pull/75568)).

Expand Down
6 changes: 3 additions & 3 deletions packages/ui/src/tabs/style.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@
/* Appearance */
cursor: pointer;

/* Typography (TODO: replace with theme tokens when available) */
font-family: sans-serif;
font-size: 13px;
/* Typography */
font-family: var(--wpds-font-family-body);
font-size: var(--wpds-font-size-md);
white-space: nowrap;

/* Characters in some languages (e.g. Japanese) may have a native higher line-height. */
Expand Down
Loading