opensearch-project / oui

OpenSearch UI Framework
Apache License 2.0
31 stars 65 forks source link

feat: adjust popover and context menu title styles and tooltip padding #1283

Open virajsanghvi opened 1 week ago

virajsanghvi commented 1 week ago

Description

Adjusts popover/context menu titles to use normal casing, for small context menus to use normal font size to match popovers, and for tooltips to be forced to small size (padding and font size).

Item Before (v7dark) After (v7dark) Before (v8dark) After (v8dark)
Popover image image image image
Context Menu image image image image
Small Context Menu image image image image
Tooltip image image image image

For titles no longer being uppercase, searched for all EuiContextMenus and EuiPopoverTitles in code base, and all had normal titles (no reliance on text-transform). Not all were sentence case (e.g. some were like "Saved Queries"), but don't think that's a deal breaker.

Validated small tooltip style and context menu font choices with Laura.

fyi: @lauralexis

Issues Resolved

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

For more information on following Developer Certificate of Origin and signing off your commits, please check here.