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
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
Unknown Object (File)
Sat, Sep 7, 9:13 AM
Unknown Object (File)
Sat, Sep 7, 8:31 AM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Let's make sure to fix typo before landing

web/components/dropdown.react.js
39 ↗(On Diff #28187)

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

web/theme.css
235 ↗(On Diff #28187)

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 ↗(On Diff #28187)

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

web/theme.css
235 ↗(On Diff #28187)

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.