theme: Remove default syntax colors (#11980)

This PR removes the default syntax colors from the theme.

With the changes in #11911 these colors could leak through if the theme
didn't provide a value for that syntax color.

Removing them gives themes a clean slate to work with.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers
2024-05-17 10:54:51 -04:00
committed by GitHub
parent 8631280baa
commit 79098671e6
3 changed files with 4 additions and 128 deletions
+2 -2
View File
@@ -22,7 +22,7 @@ fn zed_pro_daylight() -> Theme {
colors: ThemeColors::light(),
status: StatusColors::light(),
player: PlayerColors::light(),
syntax: Arc::new(SyntaxTheme::light()),
syntax: Arc::new(SyntaxTheme::default()),
accents: vec![
blue().light().step_9(),
orange().light().step_9(),
@@ -53,7 +53,7 @@ pub(crate) fn zed_pro_moonlight() -> Theme {
colors: ThemeColors::dark(),
status: StatusColors::dark(),
player: PlayerColors::dark(),
syntax: Arc::new(SyntaxTheme::dark()),
syntax: Arc::new(SyntaxTheme::default()),
accents: vec![
blue().dark().step_9(),
orange().dark().step_9(),