zed/crates/storybook2
Marshall Bowers 36a73d657a
Remove old Theme definition (#3195)
This PR removes the old `Theme` definition in favor of the new
`ThemeVariant`s.

The new `SyntaxStyles` have been reverted to the old `SyntaxTheme` that
operates by storing the syntax styles as a vector of
`gpui2::HighlightStyle`s.

This is necessary for the intended usage by `language2`, where we find
the longest key in the theme's syntax styles that matches the capture
name:

18431051d9/crates/language2/src/highlight_map.rs (L15-L41)
2023-10-31 23:05:50 -04:00
..
docs WIP 2023-09-20 14:32:55 -06:00
src Remove old Theme definition (#3195) 2023-10-31 23:05:50 -04:00
build.rs WIP 2023-09-20 14:32:55 -06:00
Cargo.lock WIP 2023-09-20 14:32:55 -06:00
Cargo.toml Load themes from settings and rework Settings trait 2023-10-25 20:37:55 +02:00