zed/crates/theme
Marshall Bowers af9e7f1f96
theme: Turn ThemeRegistry into a trait (#20076)
This PR converts the `ThemeRegistry` type into a trait instead of a
concrete implementation.

This allows for the extension store to depend on an abstraction rather
than the concrete theme registry implementation.

We currently have two `ThemeRegistry` implementations:

- `RealThemeRegistry` — this was previously the `ThemeRegistry` and
contains the real implementation of the registry.
- `VoidThemeRegistry` — a null object that doesn't have any behavior.

Release Notes:

- N/A
2024-11-01 10:19:09 -04:00
..
src theme: Turn ThemeRegistry into a trait (#20076) 2024-11-01 10:19:09 -04:00
Cargo.toml theme: Turn ThemeRegistry into a trait (#20076) 2024-11-01 10:19:09 -04:00
LICENSE-GPL