Page MenuHomePhabricator

[native] Add "or" horizontal rule between SIWE and existing login
ClosedPublic

Authored by ashoat on Dec 20 2022, 9:39 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 8, 9:13 PM
Unknown Object (File)
Fri, Nov 8, 9:13 PM
Unknown Object (File)
Fri, Nov 8, 9:13 PM
Unknown Object (File)
Fri, Nov 8, 9:13 PM
Unknown Object (File)
Fri, Nov 8, 9:13 PM
Unknown Object (File)
Thu, Nov 7, 5:54 AM
Unknown Object (File)
Tue, Nov 5, 2:08 AM
Unknown Object (File)
Mon, Nov 4, 11:08 PM
Subscribers

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Looks good. Ideally we'd define those colors in colors.js and use them here instead of directly using hex values.

native/account/logged-out-modal.react.js
652

Ideally we'd assign a name to this hex value in colors.js and consume that here.

This revision is now accepted and ready to land.Dec 20 2022, 11:10 AM
native/account/logged-out-modal.react.js
652

So historically, colors.js was just about light/dark mode. We never used it in LoggedOutModal since its design is the same in both.

But it sounds like now colors.js is also serving the purpose of collecting all of the colors in the app in one place, and trying to enforce somewhat of a "design system" with fewer one-off colors.

I can add this there with the same color for light and dark, but given that doesn't usually happen in colors.js this will almost definitely need to be a new color name.

native/account/logged-out-modal.react.js
652

But it sounds like now colors.js is also serving the purpose of collecting all of the colors in the app in one place, and trying to enforce somewhat of a "design system" with fewer one-off colors.

Yeah pretty much... or at least that's the feedback I got at some point (I think Ben was advocating for colors.js on native to used similarly to theme.css on web) and have been giving to others since.

native/account/logged-out-modal.react.js
3 ↗(On Diff #19882)

Ignore Icon change... once D5958 is accepted I can rebase on top of it