Map additional text colors from Zed1 themes (#3796)

This PR maps additional text colors from the Zed1 themes to the Zed2
themes.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers
2023-12-22 18:45:58 -05:00
committed by GitHub
parent b501f4eafc
commit 1ebfafc03d
11 changed files with 166 additions and 60 deletions
+1 -1
View File
@@ -1724,7 +1724,7 @@ impl EditorElement {
// Show the placeholder when the editor is empty
if snapshot.is_empty() {
let font_size = self.style.text.font_size.to_pixels(cx.rem_size());
let placeholder_color = cx.theme().styles.colors.text_placeholder;
let placeholder_color = cx.theme().colors().text_placeholder;
let placeholder_text = snapshot.placeholder_text();
let placeholder_lines = placeholder_text