Page MenuHomePhabricator

[native] Fix `Tooltip` color regression
ClosedPublic

Authored by atul on Nov 17 2022, 5:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 19, 7:56 PM
Unknown Object (File)
Thu, Dec 19, 7:56 PM
Unknown Object (File)
Thu, Dec 19, 7:56 PM
Unknown Object (File)
Thu, Dec 19, 7:50 PM
Unknown Object (File)
Nov 19 2024, 3:36 PM
Unknown Object (File)
Nov 19 2024, 3:36 PM
Unknown Object (File)
Nov 19 2024, 3:35 PM
Unknown Object (File)
Nov 19 2024, 3:15 PM
Subscribers

Details

Summary

Context: https://linear.app/comm/issue/ENG-2259/fix-background-color-of-tooltip-in-dark-mode

This diff reverts the background color of the tooltip to #1F1F1F (which had no previous entry in colors.js) for dark mode.

For light mode I just inverted the color to make sure the contrast was similar-ish.

Test Plan

Here's how it looks for

Light mode:

Simulator Screen Shot - Alice - 2022-11-17 at 20.53.03.png (2×1 px, 186 KB)

Dark mode (identical to before):

Simulator Screen Shot - Alice - 2022-11-17 at 20.52.53.png (2×1 px, 183 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul published this revision for review.Nov 17 2022, 5:58 PM
atul edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Nov 17 2022, 6:00 PM

For good measure here's the Tooltip with "triangle" visible... since I forgot that last time

4374c0.png (238×712 px, 18 KB)

This revision was automatically updated to reflect the committed changes.