zed/crates/storybook
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
..
docs
src theme: Turn ThemeRegistry into a trait (#20076) 2024-11-01 10:19:09 -04:00
build.rs
Cargo.toml storybook: Load GPUI with default features (#19253) 2024-10-15 17:55:58 -04:00
LICENSE-GPL