mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-04 07:29:32 +00:00
36a73d657a
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:
|
||
---|---|---|
.. | ||
docs | ||
src | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml |