Page MenuHomePhabricator

added glow effect behind modals
ClosedPublic

Authored by manan on Nov 9 2022, 1:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 8:17 AM
Unknown Object (File)
Tue, Dec 17, 8:17 AM
Unknown Object (File)
Tue, Dec 17, 8:17 AM
Unknown Object (File)
Tue, Dec 17, 8:17 AM
Unknown Object (File)
Tue, Dec 17, 8:17 AM
Unknown Object (File)
Tue, Dec 17, 8:13 AM
Unknown Object (File)
Sat, Nov 30, 12:50 AM
Unknown Object (File)
Thu, Nov 21, 5:15 AM

Details

Summary

glow effect adds contrast between modals and background.

Test Plan

Checked different modals in app, all seem to show a glow.

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

simulator_screenshot_4AFD6BCE-1A14-4221-BD01-734400B61D58.png (2×1 px, 151 KB)

Here is a screenshot of what the glow looks like.

atul requested changes to this revision.EditedNov 9 2022, 2:07 PM

Hm, looks like it might be hard to get the glow to look right. Can we instead copy what we're doing in native/chat/settings/color-selector-modal.react.js:

borderColor: 'modalForegroundBorder',
borderWidth: 2,

and then remove the redundant style from the ColorSelectorModal component .

This revision now requires changes to proceed.Nov 9 2022, 2:07 PM

copied what is done in native/chat/settings/color-selector-modal.react.js

attempting to remove changes from un-rebased pull

simulator_screenshot_7D6C51A7-89F5-4E15-B07F-31F52801838B.png (2×1 px, 141 KB)

Here's what the glow looks like now

This revision is now accepted and ready to land.Nov 10 2022, 5:54 AM