Page MenuHomePhabricator

[Design] Link inspector button style fixes
Closed, ResolvedPublic

Description

  1. Selected Yes/No button colour

Expected - Background colour of the selected button is Accent30

image.png (352×116 px, 3 KB)

Actual

image.png (470×138 px, 5 KB)

  1. Preview and Next button icon and text colors

Expected - Preview and Next button icon and text colors should be Base20
Actual - icon and text is in Base10

image.png (202×86 px, 2 KB)

Event Timeline

• mewoph subscribed.

ToggleButtonWidget's active state is Accent30 (whereas ButtonWidget's is Accent50). @kostajh already implemented this in T269647: Add a link: rejection dialog.

Previous and next buttons are using ButtonWidget's default color so this might need to be overridden.

Change 680413 had a related patch set uploaded (by MewOphaswongse; author: MewOphaswongse):

[mediawiki/extensions/GrowthExperiments@master] Add a link: update button colors in link inspector

https://gerrit.wikimedia.org/r/680413

Change 680413 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Add a link: update button colors in link inspector

https://gerrit.wikimedia.org/r/680413

Etonkovidova subscribed.

Moving to @RHo for a quick review. As per the @mewoph screenshots Acdent30 and Base20 seem to be in place. Here are more screenshots:

Screen Shot 2021-04-19 at 2.13.24 PM.png (680×299 px, 72 KB)
Screen Shot 2021-04-19 at 2.14.14 PM.png (682×275 px, 59 KB)
Screen Shot 2021-04-19 at 2.14.07 PM.png (530×301 px, 63 KB)

Super, thanks!