![]() 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:
|
||
---|---|---|
.. | ||
stories | ||
assets.rs | ||
components.rs | ||
stories.rs | ||
story.rs | ||
story_selector.rs | ||
storybook2.rs |