HomePhabricator
Diffusion Comm 4d12f544c844

[native] Fix `Tooltip` color regression

Description

[native] Fix Tooltip color regression

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)

Reviewers: ginsu, tomek, rohan, varun, marcin, ashoat

Reviewed By: ginsu, ashoat

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D5666

Details

Provenance
atulAuthored on Nov 17 2022, 5:53 PM
Reviewer
ginsu
Differential Revision
D5666: [native] Fix `Tooltip` color regression
Parents
rCOMM03e8e711df58: [lib] Clear MessageStore on freshMessageStore
Branches
Unknown
Tags
Unknown