Page MenuHomePhabricator

[web] Use colors from themes.css in dropdown
ClosedPublic

Authored by rohan on Jun 27 2023, 11:26 AM.
Tags
None
Referenced Files
F2786150: D8338.id28187.diff
Fri, Sep 20, 10:28 PM
F2786141: D8338.id28215.diff
Fri, Sep 20, 10:26 PM
Unknown Object (File)
Sun, Sep 15, 10:25 AM
Unknown Object (File)
Sun, Sep 15, 7:09 AM
Unknown Object (File)
Wed, Sep 11, 10:57 PM
Unknown Object (File)
Wed, Sep 11, 4:44 PM
Unknown Object (File)
Mon, Sep 9, 11:16 AM
Unknown Object (File)
Sat, Sep 7, 3:20 PM
Subscribers

Details

Summary

Some feedback in D8136 was to use colors from themes.css instead of inlining them in SWMansionIcon.

Depends on D8337

Test Plan

Confirmed that both enabled and disabled dropdowns still look the same

Diff Detail

Repository
rCOMM Comm
Branch
change_roles-quickfix
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Let's make sure to fix typo before landing

web/components/dropdown.react.js
39

Do we need !!disabled, or can we just do disabled?

web/theme.css
235

Minor typo, should be dropdown instead of dropddown

This revision is now accepted and ready to land.Jun 28 2023, 10:26 AM
web/components/dropdown.react.js
39

I guess we do !!disabled above in the other calls to classNames, so it's probably best to maintain consistency.

web/theme.css
235

Oh yeah thanks for catching that

This revision was landed with ongoing or failed builds.Jun 28 2023, 10:38 AM
This revision was automatically updated to reflect the committed changes.