Skip to content

Commit

Permalink
Update tooltip colors (#50792)
Browse files Browse the repository at this point in the history
* Update tooltip colors

* Update changelog
  • Loading branch information
jameskoster authored May 22, 2023
1 parent 85ae2f8 commit c11ac48
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
- `ColorPicker`: Add an outline when the color picker select box is focused([#50609](https://github.com/WordPress/gutenberg/pull/50609)).
- `InputControl`: Fix focus style to support Windows High Contrast mode ([#50772](https://github.com/WordPress/gutenberg/pull/50772)).

### Enhancements

- `Tooltip`: Update background color so tooltip boundaries are more visible in the site editor ([#50792](https://github.com/WordPress/gutenberg/pull/50792)).

## 24.0.0 (2023-05-10)

### Breaking Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/tooltip/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
}

.components-tooltip .components-popover__content {
background: $components-color-foreground; // TODO: Discuss with designers.
background: $black; // TODO: Discuss with designers.
border-radius: $radius-block-ui;
border-width: 0;
outline: none;
color: $components-color-foreground-inverted;
color: $gray-100;
white-space: nowrap;
text-align: center;
line-height: 1.4;
Expand Down

1 comment on commit c11ac48

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in c11ac48.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5048657269
📝 Reported issues:

Please sign in to comment.