Use Refineable for ThemeStyles (#3196)

This PR updates the `ThemeStyles` struct to use the `Refineable` trait
instead of a custom declarative macro for generating refinements.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers
2023-10-31 23:33:51 -04:00
committed by GitHub
parent 36a73d657a
commit 272f856460
5 changed files with 17 additions and 60 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
use gpui2::{HighlightStyle, Hsla};
#[derive(Clone)]
#[derive(Clone, Default)]
pub struct SyntaxTheme {
pub highlights: Vec<(String, HighlightStyle)>,
}