zed/crates/collab2/src
Marshall Bowers b559bfd80f
Parameterize theme2::init to allow loading just the base theme (#3345)
This PR adds a parameter to the `theme2::init` method to indicate what
the theme-loading behavior should be.

This allows us to indicate when we want to load all of the additional
built-in user themes (like in the Zed binary and in the storybook), and
when we don't want to load the user themes (like in tests).

We're using an enum over just a `bool` here for clarity at the call
site.

Release Notes:

- N/A
2023-11-16 13:03:30 -05:00
..
bin Silence problem 2023-11-08 12:37:35 -07:00
db checkpoint 2023-11-08 23:16:04 -08:00
rpc
tests Parameterize theme2::init to allow loading just the base theme (#3345) 2023-11-16 13:03:30 -05:00
api.rs
auth.rs
db.rs
env.rs
errors.rs
executor.rs WIP: change over background executor test helpers 2023-11-06 10:16:08 -08:00
lib.rs
main.rs
rpc.rs WIP: change over background executor test helpers 2023-11-06 10:16:08 -08:00
tests.rs WIP 2023-11-08 21:32:59 -08:00