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)
Tue, Nov 12, 11:01 PM
Unknown Object (File)
Tue, Nov 12, 3:02 PM
Unknown Object (File)
Sun, Nov 10, 1:36 PM
Unknown Object (File)
Sat, Nov 9, 2:45 PM
Unknown Object (File)
Sat, Nov 9, 2:01 PM
Unknown Object (File)
Sat, Nov 9, 12:16 PM
Unknown Object (File)
Sat, Nov 9, 8:38 AM
Unknown Object (File)
Thu, Nov 7, 7:32 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
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.