You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
theme: Remove remaining consumers of legacy Context for styles.
Continuing the work of recent commits toward zulip#1946.
These last few consumers are simply using `background` or
`backgroundColor` from the old style context, and no
theme-independent styles, so, fix them together in one commit.
Then, to help verify that all consumers are removed:
Atomically, in this commit, remove the default-exported function of
`miscStyles`, and its only call site, at `stylesFromTheme`.
`stylesFromTheme` is the single point where all the data is
collected and distributed as `styles` via the legacy Context API. (A
similar removal, for `navStyles`, is bfdde6f.)
0 commit comments