Files
oak-gpui/crates
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:

https://github.com/zed-industries/zed/blob/18431051d9d750d9e66284a71f7a55a1e31c1374/crates/language2/src/highlight_map.rs#L15-L41
2023-10-31 23:05:50 -04:00
..
2023-10-30 15:04:16 -04:00
2023-10-26 11:27:12 +02:00
2023-10-27 10:55:15 +02:00
2023-10-25 17:38:09 +02:00
2023-10-25 17:09:12 +02:00
2023-10-27 10:56:24 +02:00
2023-10-02 19:35:31 -04:00
2023-10-12 16:17:41 +03:00
2023-10-25 21:08:00 +02:00
2023-10-23 10:59:29 +02:00
2023-10-27 10:55:15 +02:00
2023-09-11 09:00:59 -06:00
2023-10-26 12:09:54 +02:00
2023-10-28 11:37:25 -04:00
2023-10-26 14:48:04 +02:00
2023-10-30 12:56:23 -04:00
2023-10-31 13:08:18 +02:00
2023-10-16 20:19:04 +02:00
2023-10-26 12:47:37 +02:00
2023-10-30 21:52:29 -04:00
2023-10-18 22:23:06 -06:00
2023-10-27 10:55:15 +02:00
2023-10-25 23:26:57 +02:00
2023-10-23 11:06:58 +02:00
2023-10-25 15:53:34 +02:00
2023-10-30 19:44:01 +01:00
2023-10-30 21:52:29 -04:00
2023-10-28 11:37:25 -04:00