Page MenuHomePhabricator

[BUG] Fix search term highlighting on dark and sepia
Closed, ResolvedPublic

Description

How many times were you able to reproduce it?

Steps to reproduce

  1. Load article
  2. Switch to dark or sepia
  3. Search for a term in article

Expected results

Search results are highlighted

Actual results

Search results are not highlighted

Environments observed

App version:
5.8

OS versions:
All

Device model:
All

Device language:
All

Event Timeline

@cmadeo had a small tweak to the dark mode search highlight color so we tweaked that as part of this PR as well.

Testing on iPhone 6 Plus (iOS 11.1.2) - Wikipedia app 5.8.0 (1265). Search term results are now highlighted in dark and sepia modes according to the screencaps below.

T181102 Dark.PNG (2×1 px, 1 MB)
T181102 Sepia.PNG (2×1 px, 1 MB)

ABorbaWMF subscribed.

Fixed on Wikipedia app 5.7.3 (1281) as well.

Fixed on Wikipedia app 5.7.3 (1281) as well.

JMinor subscribed.

Checked that Black theme is also looking good.