zed/crates/gpui
Antonio Scandurra fbf7cdf4f2 Make all HighlightStyle properties optional
Previously, some of those properties such the font weight, style and color
would be mandatory: when the theme didn't specify them, Zed would use a default
value during deserialization. This meant that those default properties would
unconditionally override the base text style, causing a rendering bug when
combining syntax highlights with diagnostic styles.

This commit fixes that by making `HighlightStyle`s more additive: each property
can be set independently and only the properties that theme specifies get
overridden in the base text style.
2022-03-15 10:39:43 +01:00
..
examples Make all HighlightStyle properties optional 2022-03-15 10:39:43 +01:00
grammars/context-predicate Use Rust 2021 edition in all crates 2022-01-26 12:50:31 -08:00
src Make all HighlightStyle properties optional 2022-03-15 10:39:43 +01:00
build.rs Move all crates to a top-level crates folder 2021-10-04 13:22:21 -06:00
Cargo.toml Send websocket pings from both the client and the server 2022-03-04 15:21:18 -08:00