Page MenuHomePhabricator

[Design] Link inspector button style fixes
Closed, ResolvedPublic

Assigned To
Authored By
RHo
Apr 15 2021, 5:33 PM
Referenced Files
F34407988: Screen Shot 2021-04-19 at 2.14.07 PM.png
Apr 19 2021, 9:18 PM
F34407984: Screen Shot 2021-04-19 at 2.13.24 PM.png
Apr 19 2021, 9:18 PM
F34407986: Screen Shot 2021-04-19 at 2.14.14 PM.png
Apr 19 2021, 9:18 PM
F34401683: link_inspector_desktop.png
Apr 16 2021, 7:37 PM
F34401681: link_inspector_mobile.png
Apr 16 2021, 7:37 PM
F34400382: image.png
Apr 15 2021, 5:33 PM
F34400388: image.png
Apr 15 2021, 5:33 PM
F34400380: image.png
Apr 15 2021, 5:33 PM

Description

  1. Selected Yes/No button colour

Expected - Background colour of the selected button is Accent30

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

Actual

image.png (138×470 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 (86×202 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 (299×680 px, 72 KB)
Screen Shot 2021-04-19 at 2.14.14 PM.png (275×682 px, 59 KB)
Screen Shot 2021-04-19 at 2.14.07 PM.png (301×530 px, 63 KB)

Super, thanks!