Conversation
- reused existing button hover styles
ek-so
left a comment
There was a problem hiding this comment.
@mgadewoll thank you, lgtm!
One small nit/question: do you think it makes sense to set the focus ring to be a bit larger (outside) of the badge, given its small size? π€
54ae30d to
30b8b7c
Compare
acstll
left a comment
There was a problem hiding this comment.
π’ Working as expected (thanks for providing QA guidance). A typo, and a question only in case you think it's worth looking into it.
@ek-so Yes definitely π βΉοΈ Using the regular Once we update the global focus and maybe make it more smart (could we somehow support flipping inside and outside focus color?) we could likely reduce this. |
π Build SucceededHistory
cc @mgadewoll |
π Build Failed
Failed CI StepsHistory
cc @mgadewoll |
Summary
closes #9407
This PR updates
EuiBadgeby updating/adding hover styles.Changes
euiButtonInteractionStyles:hoverand:activestates (useseuiButtonInteractionStyles)text-decoration: underlinestyle on hover by default, leaving it only for high contrast mode (HCM) stylesWhy are we making this change?
π UI redesign: This update is part of the overall redesign of badges as well as selectable items (https://github.com/elastic/platform-ux-team/issues/1050)
Screenshots #
Screen.Recording.2026-03-02.at.09.10.55.mov
Screen.Recording.2026-03-02.at.09.11.30.mov
Screen.Recording.2026-03-02.at.09.11.13.mov
Screen.Recording.2026-03-02.at.09.11.54.mov
Screen.Recording.2026-03-02.at.09.12.30.mov
Screen.Recording.2026-03-02.at.09.20.09.mov
Screen.Recording.2026-03-02.at.09.20.23.mov
Screen.Recording.2026-03-02.at.09.20.35.mov
Impact to users
π’ No updates required on consumer side.
βΉοΈ Due to the style changes, DOM snapshots might require updates due to changed Emotion class names.
QA
Design specs: https://www.figma.com/design/FHys7gLzyvD1gc9DrJM6D8/Elastic-UI--Borealis-?node-id=7272-30925&p=f&t=liHyqo3oLOHvDB4J-0
EuiBadgewithonClickhas hover and active styles that match button stylesEuiBadgewithiconOnClickhas hover and active styles that match button stylesEuiBadgein HCM hastext-decoration: underlinestyles for hover, active and focus statesGeneral checklist
@defaultif default values are missing) and playground toggles