Page MenuHomePhabricator

Update text colors to support the universal color palette
Closed, DuplicatePublic

Description

There are a few areas in the current app that need updating to be compliant with the WikimediaUI color palette. Text that needs updating and the suggested change are listed in the table below.

ScreenSectionColorBackground colorChange
ArticleHatnote (0.8em, 1.65 line-height)#777#FFF#777 should be changed to #777D84
ArticleArticle inline image caption (0.8em, 1.5 line-height)#555#FFF#555 should be changed to #54595D
ArticleArticle wikidata description#777#FFF#777 should be changed to #777D84
ArticleArticle body text#252525#FFF#252525 should be changed to #222
ArticleInfo box table header#252525#F8F9FA#252525 should be changed to #222
ArticleInfo box table cell#252525#F8F9FA#252525 should be changed to #222
ArticleH4 subsection title (1em, 130% line-height)#252525#FFF#252525 should be changed to #222
ArticleInfo box collapsed text#808080#F8F9FA#808080 should be changed to #72777D
ArticleH3 subsection title (1.2em, 130% line-height)#252525#FFF#252525 should be changed to #222
ArticleH2 section title (1.5em, 130% line-height)#252525#FFF#252525 should be changed to #222
ArticleArticle title#252525#FFF#252525 should be changed to #222

Event Timeline

• JMinor moved this task from Needs Triage to Design Backlog on the Wikipedia-iOS-App board.

Reminder:

Need to determine which (if any) of these are currently taking effect via app css overrides.

If not being overridden, a given change should (probably?) be made to upstream css instead. (that way Android would get same benefit)

This comment was removed by Mhurd.
SectionReported colorDesired colorActual current colorFrom Upstream CSSFrom iOS app's CSSApp change madeUpstream change neededNo change needed
Hatnote#777#777D84#72777d'.hatnote'*
Article inline image caption#555#54595D#54595d'.thumbcaption'*
Article wikidata description#777#777D84#777D84'#entity_description'*
Article body text#252525#222#222222'body'*
Info box table header#252525#222#222222'body'*
Info box table cell#252525#222#222222'body'*
H4#252525#222#222222'body'*
Info box collapsed text#808080#72777D#808080'.app_span_collapse_text'*
H3#252525#222#222222'body'*
H2#252525#222#222222'body'*
Article title#252525#222#222222'body'*

@cmadeo

Only one of the colors from your chart were controlled by the app's CSS overrides.

( Edit: actually there were 2, but the other one was already the desired color. )

The remainder of the changes should probably be made to upstream CSS.

@cmadeo

Oh, also not sure why your reported colors weren't reflected by the actual colors... perhaps different color gamut setting on your machine or whichever program you're using to sample the colors?

If you can run the iOS simulator I can show you how to use Safari to inspect the app's WKWebView elements so you can see exactly what colors any element's CSS uses.

@Mhurd yeah, that would be great. Do you have time on Monday?

@cmadeo Dev summit may be monopolizing my Monday, but we can try!

@Mhurd ah right! Well, whenever we can find some time!

Mhurd removed Mhurd as the assignee of this task.Feb 10 2017, 7:50 PM